Skip to content

Commit

Permalink
Add time partitioning field to google_bigquery_table resource (hashic…
Browse files Browse the repository at this point in the history
…orp#1240)

* Add time partitioning field to google_bigquery_table resource

* Fix flatten time partitioning field to google_bigquery_table resource

* Add resource bigquery table time partitioning field test

* Move resource bigquery table time partitioning field test to basic

* Add step to check that all the fields match

* Mark resource bigquery table time partitioning field as ForceNew

* Add time partitioning field test to testAccBigQueryTable config
  • Loading branch information
amatellanes authored and danawillow committed Mar 30, 2018
1 parent 78c5428 commit 4e84953
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/r/bigquery_table.html.markdown
Expand Up @@ -81,6 +81,10 @@ The `time_partitioning` block supports:
* `expiration_ms` - (Optional) Number of milliseconds for which to keep the
storage for a partition.

* `field` - (Optional) The field used to determine how to create a time-based
partition. If time-based partitioning is enabled without this value, the
table is partitioned based on the load time.

* `type` - (Required) The only type supported is DAY, which will generate
one partition per day based on data loading time.

Expand Down

0 comments on commit 4e84953

Please sign in to comment.