[ 
https://issues.apache.org/jira/browse/SPARK-25967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678614#comment-16678614
 ] 

kevin yu commented on SPARK-25967:
----------------------------------

Hello Victor: You can specify the tabsĀ as specified characters to remove in the 
trim function, the detail syntax is here.

https://spark.apache.org/docs/2.3.0/api/sql/#trim

> sql.functions.trim() should remove trailing and leading tabs
> ------------------------------------------------------------
>
>                 Key: SPARK-25967
>                 URL: https://issues.apache.org/jira/browse/SPARK-25967
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.1.0, 2.2.0, 2.3.2
>            Reporter: Victor Sahin
>            Priority: Minor
>
> sql.functions.trim removes only trailing and leading whitespaces. Removing 
> tabs as well helps use the function for the same use case e.g. artifact 
> cleaning.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to