Commit 78e9f70
[SPARK-54174][CORE][CONNECT][TESTS] Remove override of deprecated method
### What changes were proposed in this pull request?
This pr removes the override of the deprecated method `SparkThrowable#getErrorClass` from the Spark codebase. Since this method has been marked as deprecated and is defined as `default String getErrorClass() { return getCondition(); }`, the overriding behavior for it can be omitted based on the current code.
### Why are the changes needed?
Code Cleanup
### Does this PR introduce _any_ user-facing change?
No, this only involves test code.
### How was this patch tested?
Pass Github Actions
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #52868 from LuciferYang/cleanup-override-getErrorClass.
Lead-authored-by: yangjie01 <yangjie01@baidu.com>
Co-authored-by: YangJie <yangjie01@baidu.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>SparkThrowable#getErrorClass in Spark code1 parent bdac5cd commit 78e9f70
File tree
2 files changed
+0
-4
lines changed- core/src/test/scala/org/apache/spark
- sql/connect/server/src/test/scala/org/apache/spark/sql/connect/service
2 files changed
+0
-4
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
624 | 623 | | |
625 | 624 | | |
626 | 625 | | |
| |||
643 | 642 | | |
644 | 643 | | |
645 | 644 | | |
646 | | - | |
647 | 645 | | |
648 | 646 | | |
649 | 647 | | |
| |||
665 | 663 | | |
666 | 664 | | |
667 | 665 | | |
668 | | - | |
669 | 666 | | |
670 | 667 | | |
671 | 668 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
0 commit comments