Apache Presto - Map 映射运算符
以下是 Map 映射运算符的类型。
映射下标运算符
查询
presto:default> select map(array[1,2],array[2,3]) as map;
结果
map
------------
{1=2, 2=3}
Map 运算符返回带有键和值的数组元素。
apache_presto_basic_sql_operations.html
以下是 Map 映射运算符的类型。
presto:default> select map(array[1,2],array[2,3]) as map;
map
------------
{1=2, 2=3}
Map 运算符返回带有键和值的数组元素。
apache_presto_basic_sql_operations.html
