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 test verifying GroupBy with conditional aggregate #17442

Merged
merged 1 commit into from
Aug 30, 2019

Conversation

roji
Copy link
Member

@roji roji commented Aug 27, 2019

Fixes #15279

@smitpatel not sure there is much value but it does test conditional in aggregate and not on the key.

@smitpatel
Copy link
Contributor

There should always be regression test for scenario which failed in past. Ideally, in expression tree world, if you translate a sub-expression correctly and compose sub-expression correctly to create larger tree, everything would work. But theory fails due to developer mistakes and becomes bug. So regression test helps.

@smitpatel
Copy link
Contributor

Does not fix the issue #15279 (comment)

Either update the PR to include regression tests for all scenarios in the issue. Or update commit message and not close the issue.

@roji roji force-pushed the VerifyGroupByAggregateConditional branch from 6ecc1c6 to e8d6e41 Compare August 30, 2019 13:47
@roji
Copy link
Member Author

roji commented Aug 30, 2019

Changed commit message and moved issue back into the backlog.

@roji roji merged commit 80d54b6 into release/3.1 Aug 30, 2019
@ghost ghost deleted the VerifyGroupByAggregateConditional branch August 30, 2019 18:32
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.

Query: query with group by in subquery produces invalid SQL
2 participants