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

Add reflect UDF for member method invocation of column

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.11.0
    • UDF
    • None
    • 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

            navis Navis Ryu
            navis Navis Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: