Skip to content

Support GROUPS window frame units #4836

Description

@andygrove

Comet supports ROWS and RANGE window frame units but not GROUPS.

The proto enum only defines Rows and Range (native/proto/src/proto/operator.proto, WindowFrameType), and the native planner has explicit guards that return "WindowFrameUnits::Groups is not supported." (native/core/src/execution/planner.rs, in create_window_expr).

Spark supports GROUPS frames, so queries using them fall back to Spark. Adding support means extending the proto enum, the Scala serde in CometWindowExec.scala, and the native frame construction in planner.rs.

Documented as a current limitation in the window function compatibility guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions