You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/08/25 01:15:00 UTC

[jira] [Assigned] (SPARK-40213) Incorrect ASCII value for Latin-1 Supplement characters

     [ https://issues.apache.org/jira/browse/SPARK-40213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-40213:
------------------------------------

    Assignee:     (was: Apache Spark)

> Incorrect ASCII value for Latin-1 Supplement characters
> -------------------------------------------------------
>
>                 Key: SPARK-40213
>                 URL: https://issues.apache.org/jira/browse/SPARK-40213
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 3.2.2
>            Reporter: Linhong Liu
>            Priority: Major
>
> the `ascii()` built-in function in spark doesn't support Latin-1 Supplement characters which value between [128, 256). Instead, it produces a wrong value, -62 or -61 for all the chars. But the `chr()` built-in function supports value in [0, 256) and normally `ascii` should be the inverse of `chr()`



--
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