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

Implement map_keys() and map_values() UDFs

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.8.0
    • UDF
    • None
    • Reviewed

    Description

      Implement the following UDFs:

      <array> map_keys(<map>)

      and

      <array> map_values(<map>)

      map_keys() takes a map as input and returns an array consisting of the key values in the supplied map.
      Similarly, map_values() takes a map as input and returns an array containing the map value fields.

      Attachments

        1. HIVE-1734-mapudf.2.patch.txt
          16 kB
          Carl Steinbach
        2. HIVE-1734-mapudf.1.patch.txt
          19 kB
          Carl Steinbach
        3. MapKeys.java
          3 kB
          Eldon Stegall
        4. MapValues.java
          3 kB
          Eldon Stegall

        Activity

          People

            cwsteinbach Carl Steinbach
            cwsteinbach Carl Steinbach
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: