Skip to content

Commit

Permalink
Or is not null intolerant.
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Mar 23, 2016
1 parent 56ca15f commit c8fb736
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,9 @@ class OrcFilterSuite extends QueryTest with OrcTest {
)
checkFilterPredicate(
'_1 < 2 || '_1 > 3,
"""leaf-0 = (IS_NULL _1)
|leaf-1 = (LESS_THAN _1 2)
|leaf-2 = (LESS_THAN_EQUALS _1 3)
|expr = (and (not leaf-0) (or leaf-1 (not leaf-2)))""".stripMargin.trim
"""leaf-0 = (LESS_THAN _1 2)
|leaf-1 = (LESS_THAN_EQUALS _1 3)
|expr = (or leaf-0 (not leaf-1))""".stripMargin.trim
)
checkFilterPredicate(
'_1 < 2 && '_1 > 3,
Expand Down

0 comments on commit c8fb736

Please sign in to comment.