[ https://issues.apache.org/jira/browse/HIVE-8114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147000#comment-14147000 ]
Jason Dere commented on HIVE-8114: ---------------------------------- UDFLog looks like it's implemented as an old-style UDF, and has an evaluate() method with Decimal parameters. Unfortunately Hive can't properly support evaluate() methods where the arguments are parameterized types (decimal, char, varchar). There are a couple of ways to resolve this: 1. Convert UDF() to a GenericUDF 2. Remove the evaluate() methods from UDFLog which contain Decimal args. If the double version of evaluate() exists the parameters will be converted to use the double version. However this means that the result will be of type Double. > 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)