LucaCappelletti94 opened a new pull request, #2242:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2242

   This PR fixes PostgreSQL parsing for:
   
   - `CREATE TABLE new (LIKE old INCLUDING DEFAULTS)`
   - `CREATE TABLE new (LIKE old EXCLUDING DEFAULTS)`
   
   These are valid PostgreSQL forms, but were previously rejected.
   
   The parser already supports `INCLUDING/EXCLUDING DEFAULTS` in 
maybe_parse_create_table_like, but that code path is gated by 
`Dialect::supports_create_table_like_parenthesized()`. `PostgreSqlDialect` did 
not enable that capability.


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