putao520 opened a new issue, #2865: URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2865
**Dialect**: PostgreSQL **Statement** ```sql CREATE TABLE t (a int, b text) PARTITION BY HASH (a int4_ops, b text_ops); ``` **Current behavior**: The partition key list is parsed as a bare expression list, so the `opclass` that follows each key is a syntax error. **Expected AST**: A structured partition-key list carrying the optional operator class per key. **0.63.0 anchor**: `mod.rs:9111-9117` **pg_regress coverage**: `create_table (regression) / partition_prune` -- 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]
