cloud-fan commented on code in PR #50631:
URL: https://github.com/apache/spark/pull/50631#discussion_r2057672347


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/constraints.scala:
##########
@@ -158,9 +199,21 @@ case class UniqueConstraint(
     override val userProvidedName: String = null,
     override val tableName: String = null,
     override val userProvidedCharacteristic: ConstraintCharacteristic = 
ConstraintCharacteristic.empty)
-    extends TableConstraint {
+  extends LeafExpression
+    with TableConstraint {

Review Comment:
   ```suggestion
     extends LeafExpression with TableConstraint {
   ```



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

Reply via email to