[ https://issues.apache.org/jira/browse/SPARK-40213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17584529#comment-17584529 ]
Apache Spark commented on SPARK-40213: -------------------------------------- User 'linhongliu-db' has created a pull request for this issue: https://github.com/apache/spark/pull/37651 > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org