Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.35.0
Description
MAP_FROM_ARRAYS (array1, array2)
- Returns a map created from an array1 and *array2. Note that the lengths of two arrays should be the same
// code placeholder > SELECT map_from_arrays(array(1.0, 3.0), array('2', '4')); {1.0:"2",3.0:"4"}
Attachments
Issue Links
- is a child of
-
CALCITE-5744 Add MAP_FROM_ARRAYS, STR_TO_MAP for Spark dialect
- Closed
- links to