[
https://issues.apache.org/jira/browse/SPARK-29986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-29986.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 26626
[https://github.com/apache/spark/pull/26626]
> 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
> Fix For: 3.0.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]