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

Namit Jain commented on HIVE-555:
---------------------------------

The tests fail right now.

In the new test create_udaf.q, you need to drop the temporary function test_max.

But a new bug got exposed, if there are two functions pointing to the same 
class (max and test_max) in this case, the resolver might point to one function 
even though
another one is referenced. I will test it out separately, and file a jira for 
that if needed.

Anyway, as this patch stands, all tests after create_udaf.q which reference 
max, get an error because explain plan shows test_max instead.

> create temporary function support not only udf, but also udaf,  genericudf, 
> etc.
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-555
>                 URL: https://issues.apache.org/jira/browse/HIVE-555
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.4.0
>            Reporter: Min Zhou
>            Assignee: Min Zhou
>             Fix For: 0.4.0
>
>         Attachments: HIVE-555-1.patch, HIVE-555-2.patch, HIVE-555-3.patch
>
>
> Right now, command 'create temporary function' only support  udf. 
> we can also let user write their udaf, generic udf, and write generic udaf in 
> the future. 

-- 
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