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

   PostgreSQL allows almost any keyword (SELECT, ANALYZE, LATERAL, AND, OR, 
COLLATE, ...) to be used as a bare (AS-less) column alias unless it is in a 
small set of keywords that require a leading AS.
   
   See https://www.postgresql.org/docs/current/sql-keywords-appendix.html
   
   Previously:
   `SELECT (SELECT c FROM tbl_name LIMIT 1) select;`
   
   (or analyze/lateral/and/or/collate)
   failed to parse.
   
   This PR fixes that


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