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

feat: add ROLLUP, CUBE grouping expansion #783

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yongchul
Copy link

@yongchul yongchul commented Feb 1, 2025

feat: add ROLLUP, CUBE grouping expansion

Adds ROLLUP and CUBE grouping expansions to AggregateRel. See #782 for rationale.

  • Adds AggregateRel.GroupingExpansion enum to denote expansion type.
  • Adds expansion field to AggregateRel.Grouping to specify expansion type in a grouping set.
  • Adds composite_grounping_expressions field to AggregateRel.Grouping to support composite grouping expression.

Refs: #782

@CLAassistant
Copy link

CLAassistant commented Feb 1, 2025

CLA assistant check
All committers have signed the CLA.

// at corresponding index. The expressions sharing the same non-zero values
// in this field formulates a composite grouping expression (i.e., those
// columns considered as one grouping expression).
// For GROUNPING_EXPANSION_UNSPECIFIED, this field is ignored.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit. Typo: GROUNPING_EXPANSION_UNSPECIFIED

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.

3 participants