aokolnychyi commented on code in PR #50519: URL: https://github.com/apache/spark/pull/50519#discussion_r2038255668
########## 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 just need a capability that confirms the connector will look into passed constraints. It may still reject some of them if it doesn't support a particular constraint. The same applies today to default values. We have a single flag but connectors can still discard some expressions. -- 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