You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2020/09/15 23:10:00 UTC

[jira] [Updated] (SPARK-32891) Enhance UTF8String.trim

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

Yuming Wang updated SPARK-32891:
--------------------------------
    Description: 
It sounds like {{UTF8String.trim}} is not implemented well. We may need to look at how {{java.lang.String.trim}} is implemented.

Please see comment:
 [https://github.com/apache/spark/blob/7eb76d698836a251065753117e22285dd1a8aa8f/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala#L674-L675]

[https://github.com/apache/spark/pull/29731#discussion_r487709672]

  was:
Please see comment:
https://github.com/apache/spark/blob/7eb76d698836a251065753117e22285dd1a8aa8f/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala#L674-L675

https://github.com/apache/spark/pull/29731#discussion_r487709672


> Enhance UTF8String.trim
> -----------------------
>
>                 Key: SPARK-32891
>                 URL: https://issues.apache.org/jira/browse/SPARK-32891
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> It sounds like {{UTF8String.trim}} is not implemented well. We may need to look at how {{java.lang.String.trim}} is implemented.
> Please see comment:
>  [https://github.com/apache/spark/blob/7eb76d698836a251065753117e22285dd1a8aa8f/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala#L674-L675]
> [https://github.com/apache/spark/pull/29731#discussion_r487709672]



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