[ 
https://issues.apache.org/jira/browse/HIVE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emil Ibrishimov updated HIVE-620:
---------------------------------

    Attachment: HIVE-620.1.patch

exprNodeFuncDesc's constructor now takes the function name as an argument and 
uses it to look up the correct display name and all the other stuff.

Some tests had wrong display names, so I overwrote them.

> resolver does not pick the right function when more than one function points 
> at it
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-620
>                 URL: https://issues.apache.org/jira/browse/HIVE-620
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Emil Ibrishimov
>             Fix For: 0.4.0
>
>         Attachments: HIVE-620.1.patch
>
>
> If we have more than one function for the same class,
> CREATE TEMPORARY FUNCTION testlength AS 
> 'org.apache.hadoop.hive.ql.udf.UDFLength';
> CREATE TEMPORARY FUNCTION testlength2 AS 
> 'org.apache.hadoop.hive.ql.udf.UDFLength';
> any one of them may get picked up while processing the other one:
> for example:
> explain select testlength(src.key) from src;
> may show testlength2 instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to