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

   Dialects: ClickHouse
   
   ClickHouse's [`ALTER TABLE ... MODIFY ORDER 
BY`](https://clickhouse.com/docs/en/sql-reference/statements/alter/order-by) 
was not supported:
   
   - `ALTER TABLE events MODIFY ORDER BY region` failed to parse.
   - `ALTER TABLE events MODIFY ORDER BY (a)` parsed incorrectly as `MODIFY 
COLUMN`, with a column named `ORDER` and a data type `BY(a)`.
   
   This adds `AlterTableOperation::ModifyOrderBy`, which stores the sorting key 
as `OneOrManyWithParens<Expr>`, following what `CREATE TABLE ... ORDER BY` uses.
   


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