druid-io / pydruid

A Python connector for Druid
Other
505 stars 194 forks source link

Explicit intervals and datasource #310

Open cosmic-chichu opened 10 months ago

cosmic-chichu commented 10 months ago

To maintain parity between druid clients such as go-druid and pydruid we need to express the intervals and datasource explicitly or in the fully expanded native query form.

ssriramu commented 9 months ago

@gianm would really appreciate your help with reviewing and merging this change?

gianm commented 7 months ago

It looks like the patch replaces the short form of table and intervals with long form, but, I'm wondering why this is necessary?

cosmic-chichu commented 7 months ago

Since the short form produces a query that is not parseable using other Druid clients such as go-druid. Keeping it in the long form helps with disambiguation.