Skip to content

[SPARK-56277][SQL] Add missing toString() to NamespaceChange property classes#55085

Open
anshulbaliga7 wants to merge 3 commits intoapache:masterfrom
anshulbaliga7:add_toString_NamespaceChange
Open

[SPARK-56277][SQL] Add missing toString() to NamespaceChange property classes#55085
anshulbaliga7 wants to merge 3 commits intoapache:masterfrom
anshulbaliga7:add_toString_NamespaceChange

Conversation

@anshulbaliga7
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Add missing toString() to NamespaceChange.SetProperty and NamespaceChange.RemoveProperty, and fix the error message formatting in unsupportedJDBCNamespaceChangeInCatalogError.

Why are the changes needed?

Without toString(), error messages display Java object references instead of readable descriptions when namespace changes fail in JDBC catalogs. SPARK-55828 fixed the same issue for TableChange inner classes.

Does this PR introduce any user-facing change?

Yes. Error messages now show readable descriptions instead of Java object references.

How was this patch tested?

Follows the same pattern as SPARK-55828.

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

No.

@anshulbaliga7
Copy link
Copy Markdown
Contributor Author

@cloud-fan can you please take a look? Thanks!

@anshulbaliga7
Copy link
Copy Markdown
Contributor Author

@cloud-fan CI is now green. Can you please take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant