LucaCappelletti94 opened a new issue, #2059: URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2059
Hi, As it stands, the variants used for representing several table constraints or column options are different entries in different enums. Once PRs like #2054 are merged, it will be possible to refactor the column options so that the `sqlparser::ast::ColumnOption::ForeignKey` variant becomes a simple tuple variant using the newly created `ForeignKeyConstraint`. Is this desirable? If so, once the pending PRs are merged I can refactor those two enums to be more tightly aligned. Best, Luca -- 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]
