-
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-49353][SQL] Update docs related to
UTF-32
encoding/decoding
### What changes were proposed in this pull request? The pr aims to update the related docs after `encoding` and `decoding` support `UTF-32`, includes: - the `doc` of the sql config `spark.sql.legacy.javaCharsets` - connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/functions.scala - sql/core/src/main/scala/org/apache/spark/sql/functions.scala - python/pyspark/sql/functions/builtin.py ### Why are the changes needed? After the pr #46469, `UTF-32` for string encoding and decoding is already supported, but some related documents have not been updated synchronously. Let's update it to avoid misunderstandings for end-users and developers. https://github.com/apache/spark/blob/e93c5fbe81d21f8bf2ce52867013d06a63c7956e/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/CharsetProvider.scala#L26 ### Does this PR introduce _any_ user-facing change? Yes, fix doc. ### How was this patch tested? Nope, only fixed some docs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #47844 from panbingkun/SPARK-49353. Authored-by: panbingkun <[email protected]> Signed-off-by: Max Gekk <[email protected]>
- Loading branch information
1 parent
3e8cd99
commit b57d863
Showing
4 changed files
with
10 additions
and
9 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