Skip to content

Conversation

petern48
Copy link
Contributor

What changes were proposed in this pull request?

This PR fixes a bug where setting metadata={} would be ignored instead of setting the metadata to the empty dictionary.

Why are the changes needed?

Users weren't previously able to clear the metadata completely. This PR enables that behavior.

Does this PR introduce any user-facing change?

Yes

How was this patch tested?

Added test

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

No

@petern48 petern48 changed the title [SPARK-51426][PYTHON] Fix 'Setting metadata to empty dict does not work' [SPARK-51426][PYTHON][SQL] Fix 'Setting metadata to empty dict does not work' Sep 18, 2025
@petern48 petern48 marked this pull request as ready for review September 18, 2025 14:34
@petern48
Copy link
Contributor Author

cc @HyukjinKwon @zhengruifeng

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

Successfully merging this pull request may close these issues.

2 participants