{"provider_url":"https://hatena.blog","description":"Redshift \u3067\u30e6\u30fc\u30b6\u30fc\u5225\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u6570\u306e\u63a8\u79fb\u3092\u8abf\u3079\u308b\u3002 \u8abf\u67fb\u30af\u30a8\u30ea WITH RECURSIVE time_series(time_value) AS ( /* Recursive CTE \u3067\u904e\u53bb 7 \u65e5\u9593\u306e 1 \u5206\u3054\u3068\u306e\u6642\u9593\u3092\u751f\u6210 */ -- \u958b\u59cb\u6642\u70b9\uff087\u65e5\u524d\uff09 SELECT date_trunc('minute', dateadd(day, -7, GETDATE())) UNION ALL -- \u73fe\u5728\u307e\u3067\u306e1\u5206\u523b\u307f SELECT dateadd(minute, 1, time_value) FROM time_series WHERE time_value < date_tr\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20251023%2F1761220404\" title=\"Redshift \u3067\u30e6\u30fc\u30b6\u30fc\u5225\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u6570\u306e\u63a8\u79fb\u3092\u8abf\u3079\u308b - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"ablog","author_url":"https://blog.hatena.ne.jp/yohei-a/","height":"190","type":"rich","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/y/yohei-a/20251024/20251024082202.png","published":"2025-10-23 20:53:24","title":"Redshift \u3067\u30e6\u30fc\u30b6\u30fc\u5225\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u6570\u306e\u63a8\u79fb\u3092\u8abf\u3079\u308b","provider_name":"Hatena Blog","version":"1.0","categories":["AWS","Redshift"],"author_name":"yohei-a","width":"100%","url":"https://yohei-a.hatenablog.jp/entry/20251023/1761220404","blog_url":"https://yohei-a.hatenablog.jp/"}