Linhong Liu created SPARK-40213: ----------------------------------- Summary: 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
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