-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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
[SPARK-49222][SQL] Clear useless methods in QueryCompilationErrors #47740
Conversation
@LuciferYang As talk yestday,these methods need to be deleted,PTAL |
def cannotSaveVariantIntoExternalStorageError(): Throwable = { | ||
new AnalysisException( | ||
errorClass = "CANNOT_SAVE_VARIANT", | ||
messageParameters = Map.empty) |
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.
Are these two error message templates, CANNOT_SAVE_VARIANT
and INDETERMINATE_COLLATION
, still needed?
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.
CANNOT_SAVE_VARIANT can be remove,but INDETERMINATE_COLLATION still in CollationIdentifier which maybe needed. I remove CANNOT_SAVE_VARIANT firstly? @LuciferYang
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.
CollationIdentifier
? INDETERMINATE_COLLATION_ID
?
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.
OK,let's remove INDETERMINATE_COLLATION from error-conditions.json @LuciferYang
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.
Done
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.
+1, LGTM
Let's wait for one more day to see if others have more suggestions. |
Can you re-trigger GA? @xuzifu666 |
OK,had rerun failed CI,seems not related to the changed code. @LuciferYang |
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.
Waiting for CI.
@@ -3731,13 +3718,6 @@ private[sql] object QueryCompilationErrors extends QueryErrorsBase with Compilat | |||
) | |||
} | |||
|
|||
def indeterminateCollationError(): Throwable = { |
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.
Let's don't remove this, because it is supposed to use in the on-going PR: #46004
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.
Got
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.
@MaxGekk Had recover it,PTAL
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.
Don't remove the INDETERMINATE_COLLATION
error condition so far.
Done |
+1, LGTM. Merging to master. |
### What changes were proposed in this pull request? Clear useless methods in QueryCompilationErrors ### Why are the changes needed? Some unused methods in QueryCompilationErrors need to clear ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Not need ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#47740 from xuzifu666/clean_QueryCompilationErrors. Authored-by: xuyu <11161569@vivo.com> Signed-off-by: Max Gekk <max.gekk@gmail.com>
### What changes were proposed in this pull request? Clear useless methods in QueryCompilationErrors ### Why are the changes needed? Some unused methods in QueryCompilationErrors need to clear ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Not need ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#47740 from xuzifu666/clean_QueryCompilationErrors. Authored-by: xuyu <11161569@vivo.com> Signed-off-by: Max Gekk <max.gekk@gmail.com>
What changes were proposed in this pull request?
Clear useless methods in QueryCompilationErrors
Why are the changes needed?
Some unused methods in QueryCompilationErrors need to clear
Does this PR introduce any user-facing change?
No
How was this patch tested?
Not need
Was this patch authored or co-authored using generative AI tooling?
No