[ 
https://issues.apache.org/jira/browse/SPARK-51797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-51797:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>
> 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

Reply via email to