You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kent Yao (Jira)" <ji...@apache.org> on 2023/07/12 09:47:00 UTC
[jira] [Resolved] (SPARK-44383) Fix the trim logic did't handle ASCII control characters correctly
[ https://issues.apache.org/jira/browse/SPARK-44383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kent Yao resolved SPARK-44383.
------------------------------
Fix Version/s: 3.5.0
3.4.2
Resolution: Fixed
Issue resolved by https://github.com/apache/spark/pull/41535
> Fix the trim logic did't handle ASCII control characters correctly
> -------------------------------------------------------------------
>
> Key: SPARK-44383
> URL: https://issues.apache.org/jira/browse/SPARK-44383
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.1.1, 3.4.0
> Reporter: 王俊博
> Priority: Minor
> Fix For: 3.5.0, 3.4.2
>
>
> The trim logic in Cast expression introduced in [#29375|https://github.com/apache/spark/pull/29375] trim ASCII control characters unexpectly.[!https://user-images.githubusercontent.com/25627922/244651442-ca6a2fb1-2143-4264-84d1-70b6bb755ec7.png!|https://user-images.githubusercontent.com/25627922/244651442-ca6a2fb1-2143-4264-84d1-70b6bb755ec7.png]
> And hive
> [!https://user-images.githubusercontent.com/25627922/244651942-017aaa4a-133e-4396-9694-79f03f027bbe.png!|https://user-images.githubusercontent.com/25627922/244651942-017aaa4a-133e-4396-9694-79f03f027bbe.png]
--
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