Skip to content

Commit 69e195e

Browse files
committed
Change != to !== in the DSL since != will always translate to != on Any.
1 parent 01f2dd5 commit 69e195e

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/dsl/package.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ package object dsl {
7070
def > (other: Expression) = GreaterThan(expr, other)
7171
def >= (other: Expression) = GreaterThanOrEqual(expr, other)
7272
def === (other: Expression) = Equals(expr, other)
73-
def != (other: Expression) = Not(Equals(expr, other))
73+
def !== (other: Expression) = Not(Equals(expr, other))
7474

7575
def like(other: Expression) = Like(expr, other)
7676
def rlike(other: Expression) = RLike(expr, other)

0 commit comments

Comments
 (0)