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

Lefty Leverenz commented on HIVE-8114:
--------------------------------------

Doc note:  The wiki needs to be updated.  Currently it says "log(DOUBLE base, 
DOUBLE a) -- Return the base-base logarithm of the argument d. Instead of 
DOUBLE this UDF also takes DECIMAL, both types can be mixed."  Hmm ... better 
change "d" to "a" in that.

Since this was broken previously, can we just delete "both types can be mixed" 
without giving version & JIRA information?

* [Hive Operators and UDFs -- Mathematical Functions | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-MathematicalFunctions]
 

A release note would also be good.

> 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
>            Assignee: Jason Dere
>              Labels: TODOC14
>             Fix For: 0.14.0
>
>         Attachments: HIVE-8114.1.patch
>
>
> {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