-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-32268][SQL][TESTS][FOLLOW-UP] Use function registry in the SparkSession #36576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -147,6 +147,9 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with AdaptiveSpark | |
| test("SPARK-14415: All functions should have own descriptions") { | ||
| for (f <- spark.sessionState.functionRegistry.listFunction()) { | ||
| if (!Seq("cube", "grouping", "grouping_id", "rollup").contains(f.unquotedString)) { | ||
| if (f.unquotedString == "bloom_filter_agg") { | ||
|
||
| null | ||
| } | ||
| checkKeywordsNotExist(sql(s"describe function $f"), "N/A.") | ||
| } | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Scala version or something else caused the test failure by the different class reference order (vs. CI) during running tests:
BloomFilterAggregateQuerySuitegets referred first somehow/somewhereBloomFilterAggregateQuerySuiteis referred).BloomFilterAggregateQuerySuiteactually runs (and deregisters these functions atafterAll.BloomFilterAggregateQuerySuite.