<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tweeeety</author_name>
  <author_url>https://blog.hatena.ne.jp/tweeeety/</author_url>
  <blog_title>tweeeetyのぶろぐ的めも</blog_title>
  <blog_url>https://tweeeety.hateblo.jp/</blog_url>
  <categories>
    <anon>BigQuery</anon>
    <anon>bq</anon>
    <anon>GCP</anon>
  </categories>
  <description>はじめに 表題のとおりですが、bqコマンドなんかを使用してDATE型の値をINSERTしようとすると以下のようなエラーになりました。 この原因と対処法について。 どういうエラーか まず、INSERTするSchemaとdataです。 schema $ cat ./schema.json [ { &quot;mode&quot;: &quot;NULLABLE&quot;, &quot;name&quot;: &quot;employee_id&quot;, &quot;type&quot;: &quot;STRING&quot; }, { &quot;mode&quot;: &quot;NULLABLE&quot;, &quot;name&quot;: &quot;birthday&quot;, &quot;type&quot;: &quot;STRING&quot; }, { &quot;mode&quot;: &quot;NULLABLE&quot;, &quot;name&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftweeeety.hateblo.jp%2Fentry%2F2021%2F03%2F10%2F043636&quot; title=&quot;【BigQuery】BigQueryへのDATA型のINSERT時に`Could not parse&amp;#39;20210101&amp;#39; as DATE for field partition_date`と怒られるエラー - tweeeetyのぶろぐ的めも&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>2021-03-10 04:36:36</published>
  <title>【BigQuery】BigQueryへのDATA型のINSERT時に`Could not parse'20210101' as DATE for field partition_date`と怒られるエラー</title>
  <type>rich</type>
  <url>https://tweeeety.hateblo.jp/entry/2021/03/10/043636</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
