【发布时间】:2016-06-10 16:15:33
【问题描述】:
我必须使用相同架构 tab1 和 tab1_partitioned 的表,其中后者按天分区。
我正在尝试使用以下命令将数据插入分区表:
bq query --allow_large_results --replace --noflatten_results --destination_table 'advertiser.development_partitioned$20160101' 'select * from advertiser.development where ymd = 20160101';
但我收到以下错误:
BigQuery error in query operation: Error processing job 'total-handler-133811:bqjob_r78379ac2513cb515_000001553afb7196_1': Provided Schema does not match Table
两者具有完全相同的架构,我真的不明白为什么会收到该错误。有人能解释一下我的问题吗?
事实上,如果 BigQuery 支持 Hive 中支持的动态分区插入,我更愿意,但有些天的搜索似乎表明这是不可能的:-/
【问题讨论】:
标签: google-bigquery