File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
sql/core/src/test/scala/org/apache/spark/sql/jdbc Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -855,8 +855,7 @@ class JDBCSuite extends SparkFunSuite
855855 assert(sql(" SELECT * FROM mixedCaseCols WHERE Name LIKE '%re%'" ).collect().size == 1 )
856856 assert(sql(" SELECT * FROM mixedCaseCols WHERE Name IS NULL" ).collect().size == 1 )
857857 assert(sql(" SELECT * FROM mixedCaseCols WHERE Name IS NOT NULL" ).collect().size == 2 )
858- assert(sql(" SELECT * FROM mixedCaseCols" )
859- .filter($" Name" .isin(Array [String ]() : _* )).collect().size == 0 )
858+ assert(sql(" SELECT * FROM mixedCaseCols" ).filter($" Name" .isin()).collect().size == 0 )
860859 assert(sql(" SELECT * FROM mixedCaseCols WHERE Name IN ('mary', 'fred')" ).collect().size == 2 )
861860 assert(sql(" SELECT * FROM mixedCaseCols WHERE Name NOT IN ('fred')" ).collect().size == 1 )
862861 assert(sql(" SELECT * FROM mixedCaseCols WHERE Id = 1 OR Name = 'mary'" ).collect().size == 2 )
You can’t perform that action at this time.
0 commit comments