Skip to content

Commit

Permalink
[SPARK-42078][PYTHON][FOLLOWUP] Add CapturedException to utils
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This is follow-up for apache#39591 based on the suggestions from comment apache@1de8350#r109023188.

### Why are the changes needed?

For backward compatibility.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

The existing CI should pass

Closes apache#40816 from itholic/42078-followup.

Authored-by: itholic <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
  • Loading branch information
itholic authored and HyukjinKwon committed Apr 17, 2023
1 parent b2a86e3 commit 0457219
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pyspark/sql/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
UnknownException,
SparkUpgradeException,
)
from pyspark.errors.exceptions.captured import CapturedException # noqa: F401
from pyspark.find_spark_home import _find_spark_home

if TYPE_CHECKING:
Expand Down

0 comments on commit 0457219

Please sign in to comment.