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

   ClickHouse supports `GLOBAL IN` and `GLOBAL NOT IN` for distributed 
subqueries, but `ClickHouseDialect` fails to parse them:
   
   ```sql
   SELECT * FROM t WHERE x GLOBAL IN (1, 2);
   SELECT * FROM t WHERE x GLOBAL NOT IN (SELECT y FROM t2);
   SELECT * FROM t WHERE x GLOBAL IN t2;
   
   Plain IN / NOT IN work, and GLOBAL is already supported on joins (GLOBAL 
JOIN), but not as an IN modifier.
   
   Docs: 
https://clickhouse.com/docs/sql-reference/operators/in#distributed-subqueries


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