Below are the results for python3 examples/pinot_quickstart_timeout.py
Sending SQL to Pinot: SELECT * FROM airlineStats LIMIT 5
Sending SQL to Pinot: SELECT count(*) FROM airlineStats LIMIT 5
Sending SQL to Pinot: SELECT AirlineID, sum(Cancelled) FROM airlineStats WHERE Year > 2010 GROUP BY AirlineID LIMIT 5
It was
Sending SQL to Pinot: SELECT * FROM airlineStats LIMIT 5
Sending SQL to Pinot: SELECT count(*) FROM airlineStats LIMIT 5
Sending SQL to Pinot: SELECT AirlineID, sum(Cancelled) FROM airlineStats WHERE Year > 2010 GROUP BY AirlineID LIMIT 5
Traceback (most recent call last):
File "/Users/xiangfu/workspace/pinot-dbapi/examples/pinot_quickstart_timeout.py", line 49, in <module>
run_main()
File "/Users/xiangfu/workspace/pinot-dbapi/examples/pinot_quickstart_timeout.py", line 45, in run_main
run_pinot_quickstart_timeout_example()
File "/Users/xiangfu/workspace/pinot-dbapi/examples/pinot_quickstart_timeout.py", line 39, in run_pinot_quickstart_timeout_example
with pytest.raises(httpx.ReadTimeout):
File "/Users/xiangfu/anaconda3/lib/python3.11/site-packages/_pytest/python_api.py", line 986, in __exit__
fail(self.message)
File "/Users/xiangfu/anaconda3/lib/python3.11/site-packages/_pytest/outcomes.py", line 198, in fail
raise Failed(msg=reason, pytrace=pytrace)
Failed: DID NOT RAISE <class 'httpx.ReadTimeout'>
Below are the results for
python3 examples/pinot_quickstart_timeout.py
It was