pyflink.table.expressions.map_from_arrays#
- map_from_arrays(key, value) pyflink.table.expression.Expression [source]#
Creates a map from an array of keys and an array of values.
Example:
>>> tab.select( >>> map_from_arrays( >>> array("key1", "key2", "key3"), >>> array(1, 2, 3) >>> ))
Note
both arrays should have the same length.
New in version 1.12.0.