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

Add dimension selector support for groupby/having filters #2043

Merged
merged 1 commit into from
Dec 8, 2015

Conversation

mangesh-pardeshi
Copy link
Contributor

No description provided.

@@ -0,0 +1,113 @@
package io.druid.query.groupby.having;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

header

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use this new header? See: #2050

@nishantmonu51
Copy link
Member

can you also add a test to GroupByQueryRunnerTest, just to make sure the entire groupBy query works as expected ?

@mangesh-pardeshi
Copy link
Contributor Author

Adding a testcase to GroupByQueryRunnerTest is nice to have but I feel not needed for this change.


public byte[] getCacheKey()
{
byte[] dimBytes = this.dimension.getBytes(Charsets.UTF_8);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

StringUtils.toUtf8

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@fjy
Copy link
Contributor

fjy commented Dec 8, 2015

After reading #1984 I am 👍 on this. Please squash commits.

@nishantmonu51
Copy link
Member

👍

nishantmonu51 added a commit that referenced this pull request Dec 8, 2015
Add dimension selector support for groupby/having filters
@nishantmonu51 nishantmonu51 merged commit 6c23d8e into apache:master Dec 8, 2015
@fjy fjy modified the milestone: 0.9.0 Feb 4, 2016
@fjy fjy mentioned this pull request Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants