Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
gatorsmile committed Nov 11, 2017
1 parent ec7e4b8 commit c629aaf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ class FiltersSuite extends SparkFunSuite with Logging {
(Literal("") === a("varchar", StringType)) :: Nil,
"")

filterTest("null-safe equals",
(Literal("test") <=> a("stringcol", StringType)) :: Nil,
"")

filterTest("SPARK-19912 String literals should be escaped for Hive metastore partition pruning",
(a("stringcol", StringType) === Literal("p1\" and q=\"q1")) ::
(Literal("p2\" and q=\"q2") === a("stringcol", StringType)) :: Nil,
Expand Down

0 comments on commit c629aaf

Please sign in to comment.