Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
Merge 524e19b into 17c42c3
Browse files Browse the repository at this point in the history
  • Loading branch information
jarekdrabek committed Sep 17, 2018
2 parents 17c42c3 + 524e19b commit 1be7943
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion terraform/SLI_3_days_views.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ resource "google_bigquery_table" "SLI_3_days_view" {
census.datasetId=last_backups.source_dataset_id AND
census.tableId=last_backups.source_table_id
WHERE
IFNULL(census.partitionId, 'null')=IFNULL(last_backups.source_partition_id, 'null')
(last_backups.source_partition_id IS NULL OR last_backups.source_partition_id=census.partitionId)
AND projectId != "${var.bbq_project}"
AND projectId != "${var.bbq_restoration_project}"
AND partitionId != "__UNPARTITIONED__"
Expand Down
2 changes: 1 addition & 1 deletion terraform/SLI_4_days_views.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ resource "google_bigquery_table" "SLI_4_days_view" {
census.datasetId=last_backups.source_dataset_id AND
census.tableId=last_backups.source_table_id
WHERE
IFNULL(census.partitionId, 'null')=IFNULL(last_backups.source_partition_id, 'null')
(last_backups.source_partition_id IS NULL OR last_backups.source_partition_id=census.partitionId)
AND projectId != "${var.bbq_project}"
AND projectId != "${var.bbq_restoration_project}"
AND partitionId != "__UNPARTITIONED__"
Expand Down
2 changes: 1 addition & 1 deletion terraform/SLI_5_days_views.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ resource "google_bigquery_table" "SLI_5_days_view" {
census.datasetId=last_backups.source_dataset_id AND
census.tableId=last_backups.source_table_id
WHERE
IFNULL(census.partitionId, 'null')=IFNULL(last_backups.source_partition_id, 'null')
(last_backups.source_partition_id IS NULL OR last_backups.source_partition_id=census.partitionId)
AND projectId != "${var.bbq_project}"
AND projectId != "${var.bbq_restoration_project}"
AND partitionId != "__UNPARTITIONED__"
Expand Down
2 changes: 1 addition & 1 deletion terraform/SLI_7_days_views.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ resource "google_bigquery_table" "SLI_7_days_view" {
census.datasetId=last_backups.source_dataset_id AND
census.tableId=last_backups.source_table_id
WHERE
IFNULL(census.partitionId, 'null')=IFNULL(last_backups.source_partition_id, 'null')
(last_backups.source_partition_id IS NULL OR last_backups.source_partition_id=census.partitionId)
AND projectId != "${var.bbq_project}"
AND projectId != "${var.bbq_restoration_project}"
AND partitionId != "__UNPARTITIONED__"
Expand Down

0 comments on commit 1be7943

Please sign in to comment.