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

   PostgreSQL accepts `GROUP` wherever it accepts `ROLE` in these two 
statements, but the parser rejected it, so a schema dump containing `CREATE 
GROUP` could not be read at all.
   
   The keyword is preserved rather than rewritten to `ROLE`. It looks like a 
pure alias in PostgreSQL, but Amazon Redshift has user groups as objects 
distinct from roles, so folding the two would change what the statement means 
there.
   
   I will also add `ALTER GROUP` in a following PR, so as to keep this one 
smaller.


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