Skip to content

Commit 92242c7

Browse files
committed
Update HiveQl.scala
1 parent 6e643f8 commit 92242c7

File tree

1 file changed

+1
-0
lines changed
  • sql/hive/src/main/scala/org/apache/spark/sql/hive

1 file changed

+1
-0
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,7 @@ private[hive] object HiveQl {
10251025
case Token(AND(), left :: right:: Nil) => And(nodeToExpr(left), nodeToExpr(right))
10261026
case Token(OR(), left :: right:: Nil) => Or(nodeToExpr(left), nodeToExpr(right))
10271027
case Token(NOT(), child :: Nil) => Not(nodeToExpr(child))
1028+
case Token("!", child :: Nil) => Not(nodeToExpr(child))
10281029

10291030
/* Case statements */
10301031
case Token("TOK_FUNCTION", Token(WHEN(), Nil) :: branches) =>

0 commit comments

Comments
 (0)