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

Yuming Wang resolved SPARK-20931.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

> Built-in SQL Function ABS support string type
> ---------------------------------------------
>
>                 Key: SPARK-20931
>                 URL: https://issues.apache.org/jira/browse/SPARK-20931
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Yuming Wang
>              Labels: starter
>             Fix For: 2.3.0
>
>
> {noformat}
> ABS(<string_expression>)
> {noformat}
> Hive/MySQL support this.
> Ref: 
> https://github.com/apache/hive/blob/4ba713ccd85c3706d195aeef9476e6e6363f1c21/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFAbs.java#L93



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to