Skip to content

Commit d88121c

Browse files
committed
Wrap function name with ``.
1 parent 966072e commit d88121c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class SQLQuerySuite extends QueryTest with SharedSQLContext {
9292
test("SPARK-14415: All functions should have own descriptions") {
9393
for (f <- sqlContext.sessionState.functionRegistry.listFunction()) {
9494
if (!Seq("cube", "grouping", "grouping_id", "rollup", "window").contains(f)) {
95-
checkExistence(sql("describe function " + f), false, "To be added.")
95+
checkExistence(sql("describe function `$f`"), false, "To be added.")
9696
}
9797
}
9898
}

0 commit comments

Comments
 (0)