Skip to content

Commit a285290

Browse files
committed
Update SQLQuerySuite.scala
1 parent 522193c commit a285290

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -113,19 +113,6 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession {
113113
checkKeywordsExist(sql("describe functioN abcadf"), "Function: abcadf not found.")
114114
}
115115

116-
test("drop virtual functions") {
117-
val e1 = intercept[AnalysisException] {
118-
sql(
119-
"drop function case")
120-
}
121-
assert(e1.message == "Cannot drop virtual function 'case'")
122-
val e2 = intercept[AnalysisException] {
123-
sql(
124-
"drop function `!=`")
125-
}
126-
assert(e2.message == "Cannot drop virtual function '!='")
127-
}
128-
129116
test("SPARK-14415: All functions should have own descriptions") {
130117
for (f <- spark.sessionState.functionRegistry.listFunction()) {
131118
if (!Seq("cube", "grouping", "grouping_id", "rollup", "window").contains(f.unquotedString)) {

0 commit comments

Comments
 (0)