Skip to content

Commit 9b8d63e

Browse files
committed
fix UT
1 parent 074ee0e commit 9b8d63e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession {
8787
Seq("^c*", "*e$", "log*", "*date*").foreach { pattern =>
8888
// For the pattern part, only '*' and '|' are allowed as wildcards.
8989
// For '*', we need to replace it to '.*'.
90-
checkAnswer(sql(s"SHOW FUNCTIONS '$pattern'"), getFunctions(pattern))
90+
checkAnswer(sql(s"SHOW FUNCTIONS '$pattern'"),
91+
getFunctions(pattern) ++
92+
StringUtils.filterPattern(Seq("!=", "<>", "between", "case"), pattern).map(Row(_)))
9193
}
9294
dropFunction(functions)
9395
}

0 commit comments

Comments
 (0)