Closed betodealmeida closed 5 years ago
@mistercrunch
Thank you for this change, context
also lets clients override timeout
, useCache
and many other important tuning parameter per query as can be seen in: http://druid.io/docs/latest/querying/query-context.html This PR would allow pydruid users to configure those per query which was not possible earlier.
LGTM
let me push a version out with this
Druid accepts a
context
object when being queried, eg:I add a hook for passing a context object either in the SQL Alchemy connection or the Python DB API connection. I also added a unit test.