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

   `CREATE FOREIGN TABLE ft (id INT OPTIONS (column_name 'remote_id')) SERVER 
s` failed at `OPTIONS`. The column option now parses as 
`ColumnOption::GenericOptions` behind a new 
`Dialect::supports_column_generic_options`, enabled for PostgreSQL. The Generic 
dialect keeps BigQuery's `OPTIONS(key = value)` form, which uses the same 
keyword. PostgreSQL's grammar takes the clause on any column definition and 
refuses it on a table that is not foreign only at execution, so `CREATE TABLE` 
accepts it too.
   
   https://www.postgresql.org/docs/current/sql-createforeigntable.html


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