aokolnychyi commented on code in PR #50561: URL: https://github.com/apache/spark/pull/50561#discussion_r2040392846
########## sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/TableChange.java: ########## @@ -297,6 +298,24 @@ public int hashCode() { } } + /** + * Create a TableChange for adding a new Table Constraint + */ + static TableChange addConstraint(Constraint constraint, Boolean validate) { + return new AddConstraint(constraint, validate); + } + + /** + * Create a TableChange for dropping a Table Constraint Review Comment: Minor: `a Table Constraint` -> `a table constraint.`? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org