-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-46519][SQL] Clear unused error classes from error-classes.json file
#44503
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
286dfdc
9f5bab1
557713d
72e223f
3578d3d
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 |
|---|---|---|
|
|
@@ -27,7 +27,7 @@ import org.apache.spark.unsafe.types.UTF8String | |
| /** | ||
| * Object for grouping error messages from (most) exceptions thrown during query execution. | ||
| * This does not include exceptions thrown during the eager execution of commands, which are | ||
| * grouped into [[QueryCompilationErrors]]. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have both, AFAIK
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From the perspective of module dependency, it seems to express the meaning of Or we can write it as:
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, let's leave the ref to |
||
| * grouped into [[CompilationErrors]]. | ||
| */ | ||
| private[sql] object DataTypeErrors extends DataTypeErrorsBase { | ||
| def unsupportedOperationExceptionError(): SparkUnsupportedOperationException = { | ||
|
|
||
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.
For some reasons there is still a reference to the error class:
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.
Please, remove the reference to the deleted error class.
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.
Okay, let me delete it first, and then I'll try to investigate the root cause again to see if we can automate its discovery.
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