XMLWordPrintableJSON

Details

    Description

      Returns an unordered array containing the keys of the map.

      Syntax:
      map_keys(map)

      Arguments:
      map An Map to be handled.

      Returns:

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

      > SELECT map_keys(map(1, 'a', 2, 'b'));
       [1,2] 

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

       

       

      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: