{"blog_url":"https://www.ekwbtblog.com/","categories":["BigQuery","GCP","Google Cloud Platform","SQL","data analysis"],"width":"100%","published":"2019-02-23 00:27:36","description":"When aggregating data that jumps around by date, you may want a calendar table. You can create a calendar table in Google BigQuery with the following GENERATE_DATE_ARRAY()\" creates a calendar array, and \"UNNEST()\" expands the array to rows to make it a table. SELECT * FROM UNNEST( GENERATE_DATE_ARRA\u2026","version":"1.0","type":"rich","title":"How to create a calendar table in Google BigQuery","url":"https://www.ekwbtblog.com/entry/2019/02/23/002736","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kwbtblog/20190314/20190314042126.png","provider_name":"Hatena Blog","blog_title":"Welcome to new things","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.ekwbtblog.com%2Fentry%2F2019%2F02%2F23%2F002736\" title=\"How to create a calendar table in Google BigQuery - Welcome to new things\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/kwbtblog/","height":"190","provider_url":"https://hatena.blog","author_name":"kwbtblog"}