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-50695][SQL] Alter table with properties check for empty string #49329

Closed
wants to merge 2 commits into from

Conversation

xuzifu666
Copy link
Member

What changes were proposed in this pull request?

Alter table with set properties check for key value

Why are the changes needed?

Currently sparksql not gurad for empty key properties such as '' = 'bb' which is not right

Does this PR introduce any user-facing change?

No

How was this patch tested?

DDLSuite: Test alter table command with empty key

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

No

@github-actions github-actions bot added the SQL label Dec 29, 2024
@xuzifu666 xuzifu666 changed the title Alter optizime [SPARK-50695][SQL] Alter table with properties check for empty string Dec 29, 2024
@xuzifu666
Copy link
Member Author

@yaooqinn PTAL if have free time, Thanks

@yaooqinn
Copy link
Member

What's the problem you met with an empty string key?

@xuzifu666
Copy link
Member Author

What's the problem you met with an empty string key?

In platform indicate this would mistake for users, and this is not fitable for user to set empty key. @yaooqinn

@xuzifu666
Copy link
Member Author

Due to this is a breaking change, mainly impact for indicate, so close it first.

@xuzifu666 xuzifu666 closed this Dec 30, 2024
@yaooqinn
Copy link
Member

Thank you @xuzifu666

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