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

[DRILL-2330] Add support for nested aggregates in Drill #529

Closed
wants to merge 1 commit into from

Conversation

gparai
Copy link

@gparai gparai commented Jun 19, 2016

This is the second part of the commit which adds nested aggregate tests in Drill using Drill Calcite r12. The first part of the commit added support for nested aggregates in Drill's forked version of Calcite. Please take a look.


// Validate the plan
final String[] expectedPlan = {"Window.*partition \\{0\\} order by \\[0\\].*SUM\\(\\$1\\).*",
".*SelectionVectorRemover.*",

Choose a reason for hiding this comment

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

Ideally the regex used in the plan validation should only test for specific plan nodes. In this case, is it sufficient to check for Window and the Aggregate and ignore the rest ?

Copy link
Author

Choose a reason for hiding this comment

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

Done

@gparai gparai force-pushed the Drill-2330-ADM branch 4 times, most recently from 3b2039f to 8c4471e Compare July 14, 2016 20:32
@amansinha100
Copy link

+1

@asfgit asfgit closed this in c040185 Jul 14, 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.

None yet

2 participants