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

   **Dialect**: PostgreSQL
   
   **Statement**
   
   ```sql
   CREATE TABLE t (a, b) AS VALUES (1, 2);
   ```
   
   **Current behavior**: `parse_columns` requires each entry to be a full 
column definition, so a name-only list before `AS` is a syntax error.
   
   **Expected AST**: `CreateTable.columns` as named columns without types (PG's 
`CreateAs` form).
   
   **0.63.0 anchor**: `mod.rs:9411 (parse_columns)`
   
   **pg_regress coverage**: `create_table_as (regression)`
   


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