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

   Dialects: PostgreSQL
   
   Closes #2802
   
   a = ANY(SELECT 1) - 1 parsed as a = ANY((SELECT 1) - 1), and 1 = ANY(SELECT 
1)::text as a cast of the subquery. PostgreSQL applies the operator to the 
comparison, since the right side is a parenthesized subquery: 
https://www.postgresql.org/docs/current/functions-subquery.html#FUNCTIONS-SUBQUERY-ANY-SOME.
 The subquery branch now parses only the query and stops at its ).


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