spark icon indicating copy to clipboard operation
spark copied to clipboard

[SPARK-49942][SQL] Rename `errorClass` to `condition` in `classifyException()`

Open MaxGekk opened this issue 4 months ago • 3 comments

What changes were proposed in this pull request?

In the PR, I propose to rename the errorClass parameter to condition in JdbcDialect.classifyException and in JdbcUtils.classifyException.

Why are the changes needed?

To follow new naming convention introduced by https://github.com/apache/spark/pull/44902.

Does this PR introduce any user-facing change?

No. The classifyException method has not been released yet.

How was this patch tested?

By running the existing GitHub actions.

Was this patch authored or co-authored using generative AI tooling?

No.

MaxGekk avatar Oct 12 '24 20:10 MaxGekk