You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "s5dsn-eqee (via GitHub)" <gi...@apache.org> on 2026/09/21 18:45:49 UTC

[I] ClickHouse: `ALTER TABLE ... ADD COLUMN ... FIRST | AFTER col` fails to parse [datafusion-sqlparser-rs]

s5dsn-eqee opened a new issue, #2534:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2534

   ```sql
   ALTER TABLE t ADD COLUMN c UInt8 AFTER a
   -- sql parser error: Expected: end of statement, found: AFTER
   ```
   
   ClickHouse [supports this](https://clickhouse.com/docs/sql-reference/statements/alter/column), and the parser already handles it for MySQL. `parse_column_position` is hardcoded to `dialect_of!(MySqlDialect | GenericDialect)`, and this should become a `Dialect` trait method so ClickHouse can enable it.
   


-- 
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: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] ClickHouse: `ALTER TABLE ... ADD COLUMN ... FIRST | AFTER col` fails to parse [datafusion-sqlparser-rs]

Posted by "LucaCappelletti94 (via GitHub)" <gi...@apache.org>.
LucaCappelletti94 closed issue #2534: ClickHouse: `ALTER TABLE ... ADD COLUMN ... FIRST | AFTER col` fails to parse
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2534


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org