You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (JIRA)" <ji...@apache.org> on 2013/02/19 05:15:14 UTC

[jira] [Commented] (HIVE-4025) Add reflect UDF for member method invocation of column

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

Phabricator commented on HIVE-4025:
-----------------------------------

njain has commented on the revision "HIVE-4025 [jira] Add reflect UDF for member method invocation of column".

INLINE COMMENTS
  ql/src/test/results/clientpositive/udf_reflect2.q.out:312 Have you run all tests ?

  I think, show_functions need to be updated.

  The last columns seem to be wrong:

  look at the results for

  getYear
  getMonth
  getDay etc.

REVISION DETAIL
  https://reviews.facebook.net/D8601

To: JIRA, navis
Cc: njain

                
> Add reflect UDF for member method invocation of column
> ------------------------------------------------------
>
>                 Key: HIVE-4025
>                 URL: https://issues.apache.org/jira/browse/HIVE-4025
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>         Attachments: HIVE-4025.D8601.1.patch
>
>
> There are many useful non-static methods on type of primitive types. But current reflect UDF cannot invoke those. For example,
> select reflect2(value, "replace", "val", "VALUE") from src;
> which replaces 'val' part of value column with 'VALUE'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira