<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://www.aipacommander.com/</blog_url>
  <categories>
    <anon>BigQuery</anon>
  </categories>
  <description>実行した日から去年のデータをエクスポートしたかった。年単位で実行したかったので、こういう感じで設定するといけた。 1st monday of january 09:00 叩くクエリは下記。 DECLARE run_date DATE; DECLARE last_year INT64; DECLARE start_date DATE; DECLARE end_date DATE; DECLARE file_name STRING; SET run_date = CURRENT_DATE(); SET last_year = EXTRACT(YEAR FROM DATE_SUB(run_date,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.aipacommander.com%2Fentry%2F2022%2F07%2F19%2F152108&quot; title=&quot;BigQueryでクエリのエクスポートをスケジュールジョブで叩くSQLを用意する - ITの隊長のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-07-19 15:21:08</published>
  <title>BigQueryでクエリのエクスポートをスケジュールジョブで叩くSQLを用意する</title>
  <type>rich</type>
  <url>https://www.aipacommander.com/entry/2022/07/19/152108</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
