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

   Hey 👋 
   
   The `WITH <expression> AS <identifier>` (doc 
[here](https://clickhouse.com/docs/en/sql-reference/statements/select/with)) 
does not seem to be supported. 
   
   For instance, this command with the `ClickHouseDialect` does not work (nor 
with `GenericDialiect`):
   ```
   WITH concat(prefix_addr, '/', prefix_len) AS 'prefix' SELECT prefix FROM 
table
   ```
   
   ```
   sql parser error: Expected: (, found: 'prefix' at Line: 1, Column: 46
   ```


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