aokolnychyi commented on code in PR #50519: URL: https://github.com/apache/spark/pull/50519#discussion_r2037792354
########## sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/TableInfo.java: ########## @@ -29,6 +30,7 @@ public class TableInfo { private final Column[] columns; private final Map<String, String> properties; private final Transform[] partitions; + private final Constraint[] constraints; Review Comment: We need to add a new capability to `TableCatalogCapability`. Right now, if Spark starts to pass constraints, it may be ignored by the connector. Therefore, we need a new capability so that connectors can tell Spark that they support constraints. Otherwise, they may simply swallow and ignore them. -- 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