XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.18.0
    • 1.18.0
    • Table SQL / Planner
    • None

    Description

      Returns an unordered array containing the values of the map.

      Syntax:
      map_values(map)

      Arguments:
      map An Map to be handled.

      Returns:

      An Map. If value is NULL, the result is NULL. 
      Examples:

      > SELECT map_values(map(1, 'a', 2, 'b'));
       - ["a","b"]

      See also
      spark https://spark.apache.org/docs/latest/api/sql/index.html#map_values

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jackylau Jacky Lau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: