We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3695e99 commit 97f7467Copy full SHA for 97f7467
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
@@ -1414,8 +1414,8 @@ class AstBuilder extends SqlBaseBaseVisitor[AnyRef] with SQLConfHelper with Logg
1414
// So we use LikeAll or NotLikeAll instead.
1415
val patterns = expressions.map(_.eval(EmptyRow).asInstanceOf[UTF8String])
1416
ctx.NOT match {
1417
- case null => LikeAll(e, patterns)
1418
- case _ => NotLikeAll(e, patterns)
+ case null => LikeAll(e, patterns.toSeq)
+ case _ => NotLikeAll(e, patterns.toSeq)
1419
}
1420
} else {
1421
getLikeQuantifierExprs(ctx.expression).reduceLeft(And)
0 commit comments