{"type":"rich","url":"https://grahamian.hatenablog.com/entry/2024/09/16","blog_url":"https://grahamian.hatenablog.com/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgrahamian.hatenablog.com%2Fentry%2F2024%2F09%2F16\" title=\"Redshift\u3067\u9023\u7d9a\u3057\u305f\u65e5\u4ed8\u3084\u6708\u3092\u751f\u6210\u3059\u308b - Data Analyst\u306e\u30e1\u30e2\u5e33\" 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,"author_name":"Grahamian","description":"PostgreSQL\u3068\u304bBigQuery\u306a\u3089generate_series\u3084generate_date_array\u306e\u3088\u3046\u306a\u95a2\u6570\u3092\u4f7f\u3046\u3053\u3068\u3067\u7c21\u5358\u306b\u3064\u304f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304cRedshift\u306fgenerate_series\u304c\u4f7f\u3048\u306a\u3044\u306e\u3067\u3061\u3087\u3063\u3068\u30c6\u30af\u30cb\u30ab\u30eb\u306a\u3053\u3068\u3092\u3057\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002 \u3053\u3053\u3067\u306frow_number\u3092\u4f7f\u3063\u305f\u5b9f\u88c5\u3092\u8f09\u305b\u307e\u3059\u3002 \u3082\u3063\u3068\u3044\u3044\u65b9\u6cd5\u304c\u3042\u3063\u305f\u3089\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002 \u9023\u7d9a\u3057\u305f\u65e5\u4ed8\u3092\u751f\u6210\u3059\u308b \u4efb\u610f\u306e\u65e5\u4ed8\u3092\u8d77\u70b9\u306b\u3057\u3066\u9023\u7d9a\u3057\u305f\u65e5\u4ed8\u3092\u751f\u6210\u3059\u308b\u3068\u304d\u306f\u6b21\u306e\u3088\u3046\u306b\u66f8\u304d\u307e\u3059\u3002 select current_date + (row_number() over ()) as generated_date fro\u2026","height":"190","width":"100%","published":"2024-09-16 14:44:27","title":"Redshift\u3067\u9023\u7d9a\u3057\u305f\u65e5\u4ed8\u3084\u6708\u3092\u751f\u6210\u3059\u308b","author_url":"https://blog.hatena.ne.jp/Grahamian/","blog_title":"Data Analyst\u306e\u30e1\u30e2\u5e33","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","categories":[]}