lib/fluent/plugin/out_bigquery_base.rb in fluent-plugin-bigquery-2.0.0 vs lib/fluent/plugin/out_bigquery_base.rb in fluent-plugin-bigquery-2.1.0
- old
+ new
@@ -67,10 +67,11 @@
## Partitioning
config_param :time_partitioning_type, :enum, list: [:day], default: nil
config_param :time_partitioning_field, :string, default: nil
config_param :time_partitioning_expiration, :time, default: nil
+ config_param :time_partitioning_require_partition_filter, :bool, default: false
## Formatter
config_section :format do
config_set_default :@type, 'json'
end
@@ -137,11 +138,12 @@
max_bad_records: @max_bad_records,
allow_retry_insert_errors: @allow_retry_insert_errors,
prevent_duplicate_load: @prevent_duplicate_load,
auto_create_table: @auto_create_table,
time_partitioning_type: @time_partitioning_type,
- time_partitioning_field: time_partitioning_field,
+ time_partitioning_field: @time_partitioning_field,
time_partitioning_expiration: @time_partitioning_expiration,
+ time_partitioning_require_partition_filter: @time_partitioning_require_partition_filter,
timeout_sec: @request_timeout_sec,
open_timeout_sec: @request_open_timeout_sec,
})
end