Skip to content

Commit 4c722a2

Browse files
committed
Update predicates.scala
1 parent abe2bbb commit 4c722a2

File tree

1 file changed

+1
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/predicates.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ case class InSet(value: Expression, hset: Set[Any])
110110

111111
override def children: Seq[Expression] = value :: Nil
112112

113-
override def foldable: Boolean = true
113+
override def foldable: Boolean = value.foldable
114114
override def nullable: Boolean = true // TODO: Figure out correct nullability semantics of IN.
115115
override def toString: String = s"$value INSET ${hset.mkString("(", ",", ")")}"
116116

0 commit comments

Comments
 (0)