lib/embulk/output/bigquery/bigquery_client.rb in embulk-output-bigquery-0.4.1 vs lib/embulk/output/bigquery/bigquery_client.rb in embulk-output-bigquery-0.4.2
- old
+ new
@@ -257,10 +257,10 @@
}
}
}
if @task['schema_update_options']
- body[:configuration][:load][:schema_update_options] = @task['schema_update_options']
+ body[:configuration][:copy][:schema_update_options] = @task['schema_update_options']
end
opts = {}
Embulk.logger.debug { "embulk-output-bigquery: insert_job(#{@project}, #{body}, #{opts})" }
response = with_network_retry { client.insert_job(@project, body, opts) }