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

Jason Dere commented on HIVE-8114:
----------------------------------

UDFLog has 4 versions of evaluate(arg1, arg2):
evaluate(double, double)
evaluate(decimal, decimal)
evaluate(double, decimal)
evaluate(decimal, double)

Looks like we need to get rid of the last 2 versions as they cause ambiguity 
when one of the arguments is not double or decimal.

> Type resolution for udf arguments of Decimal Type results in error
> ------------------------------------------------------------------
>
>                 Key: HIVE-8114
>                 URL: https://issues.apache.org/jira/browse/HIVE-8114
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor, Types
>    Affects Versions: 0.13.0, 0.13.1
>            Reporter: Ashutosh Chauhan
>
> {code}
> select log (2, 10.5BD) from src;
> {code}
> results in exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to