BenSatori opened a new pull request, #2521: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2521
PostgreSQL accepts `ALL` or `DISTINCT` before a `GROUP BY` expression list, but the parser currently treats `ALL` as the complete clause. For example, `SELECT a FROM t GROUP BY ALL a` fails to parse. This adds a dialect-gated group-by modifier AST representation and supports both documented forms while preserving the existing bare `GROUP BY ALL` syntax in other dialects. PostgreSQL documentation: https://www.postgresql.org/docs/current/sql-select.html#SQL-GROUPBY This contribution was created with AI assistance. -- 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]
