Open AKheli opened 2 years ago
I'm not sure if that's correct. The DB API connector will stream the results from Druid, so unless you have iterated over all the result set I don't think you can assume that the query execution has finished.
The correct time is probably closer to end2 - start
in this case, I think.
Hello,
I am using PyDruid to evaluate a query runtime in Druid without taking in account the results output that are obtained on the API.
Is this a correct way of measuring the runtime. My execution time is always around 200ms or 50ms which is a bit suspecious. Also, the total runtime that I obtain is much higher than the results that I obtain in the API.
Any ideas on how to properly evaluate a query execution time in Druid?
Thanks!