hive到presto的变化
https://toutiao.io/posts/ch6ftkn/preview
Key not present in map
hive中遇到不存在的key会返回null,而presto会报错。
解决方法是presto中用element_at取值,并判断是否为null: https://stackoverflow.com/questions/55426024/checking-if-key-exists-in-presto-value-map
Cache of the Internet.
https://toutiao.io/posts/ch6ftkn/preview
Key not present in map
hive中遇到不存在的key会返回null,而presto会报错。
解决方法是presto中用element_at取值,并判断是否为null: https://stackoverflow.com/questions/55426024/checking-if-key-exists-in-presto-value-map
近期评论