andygrove opened a new issue, #4836: URL: https://github.com/apache/datafusion-comet/issues/4836
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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
