Skip to content

Add support for GROUPING SETS syntax in SQL planner #2469

Closed

Description

@andygrove

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Issue #2378 adds support for ROLLUP and CUBE grouping sets. This is a follow on issue to also support GROUPING SETS, which may require changes to sqlparser-rs and also may require changes to the optimization rules to support Vec<Vec<Expr>>. See optimizer/utils.rs to see where this is not currently supported.

Describe the solution you'd like
Support GROUP BY foo, GROUPING SETS (a (b, c), (c, d, e))

Describe alternatives you've considered
None

Additional context
None

Activity

  1. self-assigned this
    on May 6, 2022
  2. alamb commented on May 9, 2022

    @alamb
    Contributor

    I agree changes to sqlparser-rs are required

  3. removed their assignment
    on Nov 1, 2022
  4. Jefffrey commented on Dec 31, 2022

    @Jefffrey
    Contributor

    To be closed by #4770

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions