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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to