You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "LucaCappelletti94 (via GitHub)" <gi...@apache.org> on 2025/10/07 10:49:50 UTC

[I] Align more uniformely the table constraints and column options [datafusion-sqlparser-rs]

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: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Align more uniformely the table constraints and column options [datafusion-sqlparser-rs]

Posted by "LucaCappelletti94 (via GitHub)" <gi...@apache.org>.
LucaCappelletti94 closed issue #2059: Align more uniformely the table constraints and column options
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2059


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org