[ https://issues.apache.org/jira/browse/SPARK-51797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gengliang Wang resolved SPARK-51797. ------------------------------------ Fix Version/s: 4.1.0 Resolution: Fixed Issue resolved by pull request 50584 [https://github.com/apache/spark/pull/50584] > Add table name to TableConstraint and remove parser dependencies > ---------------------------------------------------------------- > > Key: SPARK-51797 > URL: https://issues.apache.org/jira/browse/SPARK-51797 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 4.1.0 > Reporter: Gengliang Wang > Assignee: Gengliang Wang > Priority: Minor > Labels: pull-request-available > Fix For: 4.1.0 > > > 1. Made `tableName` a class member of `TableConstraint` trait and its > implementations > - Added `tableName` as a required field in constraint case classes > - Implemented `withTableName` method to support table name updates > - This change helps ensure consistent constraint naming and better logical > plan comparison > 2. Simplified constraint parsing > - Removed dependency on ANTLR `ParserRuleContext` from constraint APIs > - This change reduces coupling between parsing and constraint > implementation > The changes simplify constraint handling and make the code more maintainable > by reducing parser dependencies and standardizing constraint naming. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org