Skip to content

Commit abe2bbb

Browse files
committed
Update Optimizer.scala
1 parent fa461a5 commit abe2bbb

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ object ConstantFolding extends Rule[LogicalPlan] {
292292

293293
// Fold expressions that are foldable.
294294
case e if e.foldable => Literal.create(e.eval(null), e.dataType)
295-
295+
296296
// Fold "literal in (item1, item2, ..., literal, ...)" into true directly.
297297
case In(Literal(v, _), list) if list.exists {
298298
case Literal(candidate, _) if candidate == v => true

0 commit comments

Comments
 (0)