forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50915][PYTHON][CONNECT] Add
getCondition
and deprecate `getE…
…rrorClass` in `PySparkException` ### What changes were proposed in this pull request? This PR proposes to add `getCondition` and deprecate `getErrorClass` in `PySparkException`. ### Why are the changes needed? To follow new naming convention proposed by SPARK-46810 and also match the behavior with JVM side. ### Does this PR introduce _any_ user-facing change? Using `getErrorClass` now issues the deprecate warning and encourages to use `getCondition`. ### How was this patch tested? Updated the existing tests, so the existing CI should pass. ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#49594 from itholic/get_condition. Lead-authored-by: Haejoon Lee <haejoon.lee@databricks.com> Co-authored-by: Hyukjin Kwon <gurwls223@gmail.com> Signed-off-by: Haejoon Lee <haejoon.lee@databricks.com>
- Loading branch information
1 parent
8313320
commit 8611d0f
Showing
8 changed files
with
44 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters