You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Snoot.io (Jira)" <ji...@apache.org> on 2023/11/27 05:40:00 UTC

[jira] [Commented] (SPARK-46115) Restrict charsets in encode()

    [ https://issues.apache.org/jira/browse/SPARK-46115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789909#comment-17789909 ] 

Snoot.io commented on SPARK-46115:
----------------------------------

User 'MaxGekk' has created a pull request for this issue:
https://github.com/apache/spark/pull/44020

> Restrict charsets in encode()
> -----------------------------
>
>                 Key: SPARK-46115
>                 URL: https://issues.apache.org/jira/browse/SPARK-46115
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Max Gekk
>            Assignee: Max Gekk
>            Priority: Major
>
> Currently the list of supported charsets in encode() is not stable and fully depends on the used JDK version. So, sometimes user code might not work because a devop changed Java version in Spark cluster. The ticket aims to restrict the list of supported charsets by:
> {code}
> 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16'
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org