MaxGekk commented on code in PR #48865:
URL: https://github.com/apache/spark/pull/48865#discussion_r1858180747


##########
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 " + hset.toSeq.mkString("(", ", ", ")")

Review Comment:
   Just don't output the values if their data type is not available.



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