Skip to content

Commit cd4b530

Browse files
authored
Merge pull request #94 from gitetsu/fix-require-partition-filter-option
Fix time_partitioning.require_partition_filter option
2 parents 1dae7f7 + 184c2e6 commit cd4b530

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Following options are same as [bq command-line tools](https://cloud.google.com/b
107107
| time_partitioning.type | string | required | nil | The only type supported is DAY, which will generate one partition per day based on data loading time. |
108108
| time_partitioning.expiration_ms | int | optional | nil | Number of milliseconds for which to keep the storage for a partition. |
109109
| time_partitioning.field | string | optional | nil | `DATE` or `TIMESTAMP` column used for partitioning |
110-
| time_partitioning.requirePartitionFilter | boolean | optional | nil | If true, valid partition filter is required when query |
110+
| time_partitioning.require_partition_filter | boolean | optional | nil | If true, valid partition filter is required when query |
111111
| schema_update_options | array | optional | nil | (Experimental) List of `ALLOW_FIELD_ADDITION` or `ALLOW_FIELD_RELAXATION` or both. See [jobs#configuration.load.schemaUpdateOptions](https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.schemaUpdateOptions). NOTE for the current status: `schema_update_options` does not work for `copy` job, that is, is not effective for most of modes such as `append`, `replace` and `replace_backup`. `delete_in_advance` deletes origin table so does not need to update schema. Only `append_direct` can utilize schema update. |
112112

113113
### Example

lib/embulk/output/bigquery/bigquery_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def create_table(table, dataset: nil, options: nil)
437437
type: options['time_partitioning']['type'],
438438
expiration_ms: options['time_partitioning']['expiration_ms'],
439439
field: options['time_partitioning']['field'],
440-
requirePartitionFilter: options['time_partitioning']['requirePartitionFilter'],
440+
require_partition_filter: options['time_partitioning']['require_partition_filter'],
441441
}
442442
end
443443

0 commit comments

Comments
 (0)