spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuming Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-20948) Built-in SQL Function UnaryMinus/UnaryPositive support string type
Date Thu, 01 Jun 2017 08:13:04 GMT

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

Yuming Wang commented on SPARK-20948:
-------------------------------------

I'm working on.

> Built-in SQL Function UnaryMinus/UnaryPositive support string type
> ------------------------------------------------------------------
>
>                 Key: SPARK-20948
>                 URL: https://issues.apache.org/jira/browse/SPARK-20948
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Yuming Wang
>
> {{UnaryMinus}}/{{UnaryPositive}} function should support string type, same as hive:
> {code:sql}
> $ bin/hive
> Logging initialized using configuration in jar:file:/home/wym/apache-hive-1.2.2-bin/lib/hive-common-1.2.2.jar!/hive-log4j.properties
> hive> select positive('-1.11'), negative('-1.11');
> OK
> -1.11   1.11
> Time taken: 1.937 seconds, Fetched: 1 row(s)
> hive> 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message