Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow queries with no aggregators. #3216

Merged
merged 1 commit into from Jul 6, 2016

Conversation

gianm
Copy link
Contributor

@gianm gianm commented Jul 5, 2016

This is actually reasonable for a groupBy or lexicographic topN that is
being used to do a "COUNT DISTINCT" kind of query. No aggregators are
needed for that query, and including a dummy aggregator wastes 8 bytes
per row.

It's kind of silly for timeseries, but why not.

@gianm gianm added this to the 0.9.2 milestone Jul 5, 2016
@fjy
Copy link
Contributor

fjy commented Jul 5, 2016

👍

@nishantmonu51
Copy link
Member

I was looking at this last week and wondering the same :)

@nishantmonu51
Copy link
Member

👍, can you also modify query docs to mention that aggregates are optional ?

@gianm
Copy link
Contributor Author

gianm commented Jul 6, 2016

@nishantmonu51 updated docs

This is actually reasonable for a groupBy or lexicographic topNs that is
being used to do a "COUNT DISTINCT" kind of query. No aggregators are
needed for that query, and including a dummy aggregator wastes 8 bytes
per row.

It's kind of silly for timeseries, but why not.
@schmee
Copy link

schmee commented Jul 6, 2016

Was just about to open an issue for this, but you fixed it before I had the chance! 👍

@nishantmonu51 nishantmonu51 merged commit fdc7e88 into apache:master Jul 6, 2016
seoeun25 pushed a commit to seoeun25/incubator-druid that referenced this pull request Feb 25, 2022
@gianm gianm deleted the allow-no-aggregators branch September 23, 2022 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants