You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (Commented) (JIRA)" <ji...@apache.org> on 2011/12/23 09:39:32 UTC

[jira] [Commented] (HIVE-1877) Add java_method() as a synonym for the reflect() UDF

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

Carl Steinbach commented on HIVE-1877:
--------------------------------------

+1. Will commit if tests pass.
                
> Add java_method() as a synonym for the reflect() UDF
> ----------------------------------------------------
>
>                 Key: HIVE-1877
>                 URL: https://issues.apache.org/jira/browse/HIVE-1877
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>    Affects Versions: 0.7.0
>            Reporter: Carl Steinbach
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-1877.1.patch.txt, HIVE-1877.2.patch.txt, HIVE-1877.3.patch.txt
>
>
> HIVE-471 added the reflect() UDF which allows people to invoke static Java methods from within HQL
> queries. In my opinion the name is confusing since it describes how the UDF works instead of what
> it does. I propose changing the name of (or providing a synonym for) the UDF to something like
>  'invoke_method' or 'java_method', or something similar. I'm open to suggestions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira