HyukjinKwon commented on code in PR #48865: URL: https://github.com/apache/spark/pull/48865#discussion_r1844738816
########## 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: can we have a simple test tho? -- 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