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

   `ALTER TYPE t RENAME ATTRIBUTE a TO b` fails with `Expected: OWNER TO, 
RENAME TO, SET SCHEMA, ADD VALUE, or RENAME VALUE after ALTER TYPE, found: 
RENAME`.
   
   It parses into `AlterTypeOperation::RenameAttribute`, which holds both names 
and the optional `CASCADE` or `RESTRICT` as a `DropBehavior`, and adds the 
`ATTRIBUTE` keyword.


-- 
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: Support `ALTER ... LucaCappelletti94 (via GitHub) via github

Reply via email to