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


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/predicates.scala:
##########
@@ -609,6 +609,9 @@ case class InSet(child: Expression, hset: Set[Any]) extends 
UnaryExpression with
   require(hset != null, "hset could not be null")
 
   override def toString: String = {
+    if (!child.resolved) {
+      return s"$child INSET (values with unresolved data types)"

Review Comment:
   All Java objects have `toString`. It may be different from the pretty string 
defined by Spark SQL, but better than nothing?



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