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

Implement map_keys() and map_values() UDFs

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.8.0
    • Component/s: UDF
    • Labels:
      None
    • Hadoop Flags:
      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.1.patch.txt
          19 kB
          Carl Steinbach
        2. HIVE-1734-mapudf.2.patch.txt
          16 kB
          Carl Steinbach
        3. MapKeys.java
          3 kB
          Eldon Stegall
        4. MapValues.java
          3 kB
          Eldon Stegall

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              cwsteinbach Carl Steinbach Assign to me
              Reporter:
              cwsteinbach Carl Steinbach

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment