Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4025

Add reflect UDF for member method invocation of column

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: UDF
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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'

        Attachments

        1. HIVE-4025.D8601.1.patch
          41 kB
          Phabricator
        2. HIVE-4025.D8601.2.patch
          41 kB
          Phabricator

          Activity

            People

            • Assignee:
              navis Navis
              Reporter:
              navis Navis
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: