我在 presto 中有表,名为(“mappings”)的列将键值对作为字符串
从 hello 中选择映射;
例如:{“foo”:“baar”,“foo1”:“bar1”}
我想将“映射”列转换为 MAP
就像从 hello 中选择 CAST("mappings" as MAP);
这将在 presto 中引发错误。我们如何将其翻译成地图?
cassandra presto trino
cassandra ×1
presto ×1
trino ×1