-
Notifications
You must be signed in to change notification settings - Fork 28.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50262][SQL] Forbid specification complex types during altering…
… collation ### What changes were proposed in this pull request? [SPARK-48413](https://issues.apache.org/jira/browse/SPARK-48413) has brought ability to change collation on table. So I suggest to shrink the feature to only leaf string types. ### Why are the changes needed? Right now there is found problem with altering collation when table has metadata. Altering will be failed because of a metadata mismatch between user's type (that doesn't have metadata) and existing schema. People will be able to change any collation still, but they need to use full column path. ### Does this PR introduce _any_ user-facing change? Yes, but the changed feature wasn't released yet. ### How was this patch tested? New test and fix old ones. ### Was this patch authored or co-authored using generative AI tooling? No Closes #48803 from Alexvsalexvsalex/SPARK-50262_forbid_complex_types_during_collation_change. Authored-by: Alexvsalexvsalex <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
- Loading branch information
1 parent
7dbd17d
commit a088597
Showing
5 changed files
with
70 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters