dinmukhamedm opened a new pull request, #2385:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2385
Fixes #2384
Note: The fix is a little broader than just the parameterized ClickHouse
queries, e.g. `WHERE id IN {ids: Array(UUID)}`.
After opening the issue, I experimented a little more with ClickHouse, and
found that it wraps in parenthesis anything on the RHS of `IN`, even for
singular values, e.g.
```sql
SELECT * from users WHERE name in 'a';
-- becomes
SELECT * from users WHERE name in ('a');
```
--
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]