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-48191][SQL] Support UTF-32 for string encode and decode #46469

Conversation

vladimirg-db
Copy link
Contributor

What changes were proposed in this pull request?

Enable support of UTF-32

Why are the changes needed?

It already works, so we just need to enable it

Does this PR introduce any user-facing change?

Yes, decode(..., 'UTF-32') and encode(..., 'UTF-32') will start working

How was this patch tested?

Manually checked in the spark shell

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

No

@vladimirg-db vladimirg-db marked this pull request as ready for review May 8, 2024 07:54
@vladimirg-db vladimirg-db force-pushed the vladimirg-db/support-utf-32-for-string-decode branch from 077ea3b to 9e7debe Compare May 8, 2024 08:17
@yaooqinn yaooqinn closed this in 003823b May 8, 2024
@yaooqinn
Copy link
Member

yaooqinn commented May 8, 2024

Thank you all. Merged to master

JacobZheng0927 pushed a commit to JacobZheng0927/spark that referenced this pull request May 11, 2024
### What changes were proposed in this pull request?
Enable support of UTF-32

### Why are the changes needed?
It already works, so we just need to enable it

### Does this PR introduce _any_ user-facing change?
Yes, `decode(..., 'UTF-32')` and `encode(..., 'UTF-32')` will start working

### How was this patch tested?
Manually checked in the spark shell

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

Closes apache#46469 from vladimirg-db/vladimirg-db/support-utf-32-for-string-decode.

Authored-by: Vladimir Golubev <vladimir.golubev@databricks.com>
Signed-off-by: Kent Yao <yao@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants