Closed azymnis closed 7 years ago
Sure, pydruid just passes whatever you put to granularity
to druid. So, for example, you can just do druid.groupby(...., granularity={"type": "duration", "duration": 7200000}, ....)
Oh you just json serialize all fields of the query... Ok that makes sense, thanks. Might be good to document that somewhere
Based on what I read in the docs, Druid supports custom granularities like this:
Is there support for that in PyDruid?