liuyongvs opened a new pull request, #3262:
URL: https://github.com/apache/calcite/pull/3262

   
[map_concat](https://spark.apache.org/docs/latest/api/sql/index.html#map_concat)
   
   map_concat(map, ...) - Returns the union of all the given maps
   
   Examples:
   ```
   > SELECT map_concat(map(1, 'a', 2, 'b'), map(3, 'c'));
    {1:"a",2:"b",3:"c"} 
   ```
   
[map_from_entries](https://spark.apache.org/docs/latest/api/sql/index.html#map_from_entries)
   
   map_from_entries(arrayOfEntries) - Returns a map created from the given 
array of entries.
   
   Examples:
   
   ```
   > SELECT map_from_entries(array(struct(1, 'a'), struct(2, 'b')));
    {1:"a",2:"b"}
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to