Skip to content
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

[SPARK-50751][SQL] Assign appropriate error condition for _LEGACY_ERROR_TEMP_1305: UNSUPPORTED_TABLE_CHANGE_IN_JDBC_CATALOG #49395

Closed
wants to merge 4 commits into from

Conversation

itholic
Copy link
Contributor

@itholic itholic commented Jan 7, 2025

What changes were proposed in this pull request?

This PR proposes to assign appropriate error condition for _LEGACY_ERROR_TEMP_1305: UNSUPPORTED_TABLE_CHANGE_IN_JDBC_CATALOG and improve its error message

Why are the changes needed?

To improve the error message by assigning proper error condition and SQLSTATE

Does this PR introduce any user-facing change?

No, only user-facing error message improved

How was this patch tested?

Updated the existing tests

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

No

…OR_TEMP_1305: UNSUPPORTED_TABLE_CHANGE_IN_JDBC_CATALOG
@github-actions github-actions bot added the SQL label Jan 7, 2025
@itholic itholic requested a review from MaxGekk January 8, 2025 06:16
@MaxGekk
Copy link
Member

MaxGekk commented Jan 21, 2025

+1, LGTM. Merging to master/4.0.
Thank you, @itholic.

@MaxGekk MaxGekk closed this in ce07396 Jan 21, 2025
MaxGekk pushed a commit that referenced this pull request Jan 21, 2025
…ROR_TEMP_1305`: `UNSUPPORTED_TABLE_CHANGE_IN_JDBC_CATALOG`

### What changes were proposed in this pull request?

This PR proposes to assign appropriate error condition for `_LEGACY_ERROR_TEMP_1305`: `UNSUPPORTED_TABLE_CHANGE_IN_JDBC_CATALOG` and improve its error message

### Why are the changes needed?

To improve the error message by assigning proper error condition and SQLSTATE

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

No, only user-facing error message improved

### How was this patch tested?

Updated the existing tests

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

No

Closes #49395 from itholic/LEGACY_1305.

Authored-by: Haejoon Lee <haejoon.lee@databricks.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
(cherry picked from commit ce07396)
Signed-off-by: Max Gekk <max.gekk@gmail.com>
@itholic
Copy link
Contributor Author

itholic commented Jan 22, 2025

Thanks @MaxGekk for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants