guan404ming opened a new pull request, #2213: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2213
## Why PostgreSQL allows promoting an existing unique index to a PRIMARY KEY or UNIQUE table constraint via ALTER TABLE, which was not supported by the parser. ## How - Add ConstraintUsingIndex variant to TableConstraint with display, span, and serialization support - Parse USING INDEX index_name after PRIMARY KEY or UNIQUE keywords in constraint parsing - Add tests for named/unnamed constraints and deferrable characteristics -- 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]
