You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2019/11/25 06:39:00 UTC

[jira] [Assigned] (SPARK-29986) Introduce java like string trim to UTF8String

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

Wenchen Fan reassigned SPARK-29986:
-----------------------------------

    Assignee: Kent Yao

> Introduce java like string trim to UTF8String
> ---------------------------------------------
>
>                 Key: SPARK-29986
>                 URL: https://issues.apache.org/jira/browse/SPARK-29986
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Kent Yao
>            Assignee: Kent Yao
>            Priority: Major
>
> A java like string trim method trims all whitespaces that less or equal than 0x20. currently, our UTF8String handle the space =0x20 ONLY. This is not suitable for many cases in Spark, like trim for interval strings,  date, timestamps, PostgreSQL like cast string to boolean.



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