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

Query: Translate to SQL GROUP BY when aggregate operator is applied a… #16393

Merged
merged 1 commit into from
Jul 2, 2019

Conversation

smitpatel
Copy link
Contributor

…fter GroupBy

Resolves #12826
Resolves #6658
Part of #15711
Resolves #15853
Resolves #12799
Resolves #12476
Resolves #11976

There are way too many existing issues are resolved by this PR. I haven't added regression test or verified each of them so I have put Verify-Fixed label on them for now.

@smitpatel
Copy link
Contributor Author

Fixed scenarios:

  • Aggregate operators after GroupBy.
  • Aggregate operators can have complex expression.
  • Projection can contain complex expression which involves aggregates & other scalars
  • Having support
  • Order by aggregate after group by
  • property/anonymous type/nominal type as key
  • Constant/parameter/empty key
  • Group By aggregate after any kind of composition (unless blocked due to navigation rewrite (QueryRewrite: add navigation expansion support for GroupBy #15249)
  • GroupBy after set operations

cc: @divega

…fter GroupBy

Resolves #12826
Resolves #6658
Part of #15711
Resolves #15853
Resolves #12799
Resolves #12476
Resolves #11976

There are way too many existing issues are resolved by this PR. I haven't added regression test or verified each of them so I have put Verify-Fixed label on them for now.
@smitpatel smitpatel force-pushed the smit/groupbyaggregate branch from 8497da5 to 4b4a9ea Compare July 2, 2019 17:09
@smitpatel smitpatel merged commit 50a98fd into smit/aggregates Jul 2, 2019
@smitpatel smitpatel deleted the smit/groupbyaggregate branch July 2, 2019 18:16
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.

2 participants