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

   `SELECT app.current_user()` failed with `Expected: end of statement, found: 
(`, and so did the same call to `session_user`, `user` and `current_catalog`. 
This, of course, is a rather big issue when working with RLS in Postgres.
   
   A word after a dot now always parses as a column, or as a function call when 
`(` follows, without trying the keyword parsers. One side effect is that 
`x.ARRAY(SELECT 1)` no longer parses outside Snowflake, and PostgreSQL rejects 
it as well. Unqualified `current_user()` stays an error.


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

  • [PR] PostgreSQL: Parse schema-qu... LucaCappelletti94 (via GitHub) via github

Reply via email to