averyqi-db commented on code in PR #48865:
URL: https://github.com/apache/spark/pull/48865#discussion_r1853306998


##########
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:
   Will there be values can't be converted using mkString? Because there are no 
type constraints, hset is Seq[Any].



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