私は以前にInsertで表を作成していたプロジェクトを持っています。私は代わりにtemplateSuffixでinsertAllを実行しようとしています。新しいテーブルでうまくいくようですが、私はこの奇妙なケースがあります。Google BigQuery - 表の接尾辞を含むすべてを挿入できません
次のURL(https://gist.github.com/dovy/b5b5b25e660ac037aaa130294ab42e3a)には挿入例があります。私は、ソース、希望のテーブル(table_schema.txt)とテンプレートのスキーマ(table_template_schema.txt)からいくつかのデータを持っています。 2つのスキーマ間の唯一の違いは、最後の2列の順序である:
|- cache_file: string
|- deduped: integer
私が手にエラーが HttpErrorです:
https://www.googleapis.com/bigquery/v2/projects/flash-student-96619/datasets/log_data_v7/tables/day/insertAll?alt=json returned "Provided Schema does not match Table flash-student-96619:log_data_v7.day20160423. Template and generated table schemas are incompatible"
は本当にうるさいinsertAllですか?クエリを実行して同じテーブルで置き換えない限り、列を並べ替える方法はありません。それは信じられないほど痛いようです。
誰の手がかりもありますか?