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

Lefty Leverenz commented on HIVE-6246:
--------------------------------------

When this is committed, it needs to be documented in the wiki here:  
[Mathematical UDFs 
|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-MathematicalUDFs]
 --  just add sign(a) to the list.

> Sign(a) UDF is not supported for decimal type
> ---------------------------------------------
>
>                 Key: HIVE-6246
>                 URL: https://issues.apache.org/jira/browse/HIVE-6246
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>    Affects Versions: 0.12.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>         Attachments: HIVE-6246.1.patch, HIVE-6246.1.patch, HIVE-6246.patch
>
>
> java.sql.SQLException: Error while compiling statement: FAILED: 
> SemanticException [Error 10014]: Line 1:86 Wrong arguments 'a': No matching 
> method for class org.apache.hadoop.hive.ql.udf.UDFSign with (decimal(38,10)). 
> Possible choices: _FUNC_(double)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to