tisyabhatia opened a new pull request, #5127: URL: https://github.com/apache/calcite/pull/5127
Follow-up to CALCITE-7594 / CALCITE-7597. GROUP BY ALL / ORDER BY ALL expanded every non-aggregate SELECT expression into the implicit keys, including bare constant literals — so e.g. `SELECT count(*), 42 ... GROUP BY ALL` materialized `GROUP BY 42`, which re-parses as an out-of-range ordinal on the view / materialized-table unparse round-trip. Excludes `SqlLiteral` keys (grouping/sorting by a constant is a no-op; only bare literals, not compound constant expressions). Adds rewritesTo tests. See CALCITE-7676. -- 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]
