Open sebtrack opened 3 years ago
According to the docs, there are more valid properties than datasource only:
{ "queryType" : "timeBoundary", "dataSource": "sample_datasource", "bound" : < "maxTime" | "minTime" > # optional, defaults to returning both timestamps if not set "filter" : { "type": "and", "fields": [<filter>, <filter>, ...] } # optional }
https://github.com/druid-io/pydruid/blob/98cab4d9c2a08a35667b26a15dee21bdb77422b4/pydruid/query.py#L441-L453
I guess, since bound and filter are optional, these are not taken into consideration when validating the query
According to the docs, there are more valid properties than datasource only:
https://github.com/druid-io/pydruid/blob/98cab4d9c2a08a35667b26a15dee21bdb77422b4/pydruid/query.py#L441-L453