{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2017%2F08%2F23%2Fpresto_map_filter\" title=\"presto map_filter - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"blog_title":"by shigemk2","width":"100%","provider_name":"Hatena Blog","title":"presto map_filter","blog_url":"https://www.shigemk2.com/","categories":["Presto"],"published":"2017-08-23 14:37:24","author_name":"shigemk2","author_url":"https://blog.hatena.ne.jp/shigemk2/","description":"K\u3068V\u306fArray\u3063\u307d\u3044 Constructs a map from those entries of map for which function returns true: SELECT map_filter(MAP(ARRAY[], ARRAY[]), (k, v) -> true); -- {} SELECT map_filter(MAP(ARRAY[10, 20, 30], ARRAY['a', NULL, 'c']), (k, v) -> v IS NOT NULL); -- {10 -> a, 30 -> c} SELECT map_filter(MAP(ARRAY['k1', \u2026","provider_url":"https://hatena.blog","version":"1.0","height":"190","type":"rich","url":"https://www.shigemk2.com/entry/2017/08/23/presto_map_filter"}