lib/embulk/output/bigquery/bigquery_client.rb in embulk-output-bigquery-0.4.9 vs lib/embulk/output/bigquery/bigquery_client.rb in embulk-output-bigquery-0.4.10
- old
+ new
@@ -427,9 +427,11 @@
if options['time_partitioning']
body[:time_partitioning] = {
type: options['time_partitioning']['type'],
expiration_ms: options['time_partitioning']['expiration_ms'],
+ field: options['time_partitioning']['field'],
+ requirePartitionFilter: options['time_partitioning']['requirePartitionFilter'],
}
end
opts = {}
Embulk.logger.debug { "embulk-output-bigquery: insert_table(#{@project}, #{dataset}, #{@location_for_log}, #{body}, #{opts})" }