putao520 opened a new issue, #2874:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2874

   **Dialect**: PostgreSQL
   
   **Statement**
   
   ```sql
   CREATE TABLE tp (d WITH OPTIONS GENERATED ALWAYS AS (a + b + 1000) STORED);
   ```
   
   **Current behavior**: The column-option chain has no `WITH OPTIONS` prefix, 
so a partition-column entry written that way is a syntax error.
   
   **Expected AST**: `ColumnOptionDef` carrying the PG partition-column prefix 
(the options are a subset of existing column options).
   
   **0.63.0 anchor**: `column-option chain mod.rs:9700-9770`
   
   **pg_regress coverage**: `partition_prune (isolation)`
   


-- 
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]

Reply via email to