Skip to content
Prev Previous commit
Next Next commit
fix test
  • Loading branch information
ulysses-you committed Feb 26, 2021
commit 3cefafebb11f04011aa18e394dbaf01a14e182a3
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class FiltersSuite extends SparkFunSuite with Logging with PlanTest {
(Not(InSet(a("datecol", DateType),
Set(Literal(Date.valueOf("2020-01-01")).eval(),
Literal(Date.valueOf("2020-01-02")).eval())))) :: Nil,
"""(datecol != "2020-01-01" and datecol != "2020-01-02")""")
"""(datecol != 2020-01-01 and datecol != 2020-01-02)""")

// Applying the predicate `x IN (NULL)` should return an empty set, but since this optimization
// will be applied by Catalyst, this filter converter does not need to account for this.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ class HivePartitionFilteringSuite(version: String)
dsValue,
hValue,
chunkValue,
Seq("2019-01-03") ++ defaultPartition,
Seq("2019-01-03"),
dateStrValue
)
}
Expand Down