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 2020/08/06 09:08:00 UTC
[jira] [Commented] (SPARK-32559) Fix the trim logic in
UTF8String.toInt/toLong did't handle Chinese characters correctly
[ https://issues.apache.org/jira/browse/SPARK-32559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17172153#comment-17172153 ]
Apache Spark commented on SPARK-32559:
--------------------------------------
User 'WangGuangxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/29375
> Fix the trim logic in UTF8String.toInt/toLong did't handle Chinese characters correctly
> ---------------------------------------------------------------------------------------
>
> Key: SPARK-32559
> URL: https://issues.apache.org/jira/browse/SPARK-32559
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: EdisonWang
> Priority: Minor
>
> The trim logic in Cast expression introduced in [https://github.com/apache/spark/pull/26622] will trim chinese characters unexpectly.
> For example,
> !image-2020-08-06-17-01-48-646.png!
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org