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

Phabricator updated HIVE-4025:
------------------------------

    Attachment: HIVE-4025.D8601.2.patch

navis updated the revision "HIVE-4025 [jira] Add reflect UDF for member method 
invocation of column".

  Keeping the name 'reflect2' for not having better one
  Addressed comment (added result of show functions)

Reviewers: JIRA

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

CHANGE SINCE LAST DIFF
  https://reviews.facebook.net/D8601?vs=27819&id=28365#toc

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
  
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/AbstractGenericUDFReflect.java
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFReflect.java
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFReflect2.java
  ql/src/test/queries/clientpositive/udf_reflect2.q
  ql/src/test/results/clientpositive/show_functions.q.out
  ql/src/test/results/clientpositive/udf_reflect2.q.out

To: JIRA, navis
Cc: njain, brock

                
> 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, HIVE-4025.D8601.2.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

Reply via email to