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

Commit

Permalink
YACHT-1003: filtering out __UNPARTITIONED__ partitions from SLI
Browse files Browse the repository at this point in the history
  • Loading branch information
jarekdrabek committed Sep 5, 2018
1 parent 9223d3a commit b81c006
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion terraform/SLI_3_days_views.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ resource "google_bigquery_table" "SLI_3_days_view" {
census.partitionId=last_backups.source_partition_id
WHERE
projectId != "${var.bbq_project}"
AND partitionId != "__UNPARTITIONED__"
AND backup_created < TIMESTAMP(DATE_ADD(CURRENT_TIMESTAMP(), -3 , "DAY"))
AND backup_last_modified < lastModifiedTime
EOF
Expand Down
1 change: 0 additions & 1 deletion terraform/SLI_4_days_views.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ resource "google_bigquery_table" "SLI_4_days_view" {
census.partitionId=last_backups.source_partition_id
WHERE
projectId != "${var.bbq_project}"
AND partitionId != "__UNPARTITIONED__"
AND backup_created < TIMESTAMP(DATE_ADD(CURRENT_TIMESTAMP(), -4 , "DAY"))
AND backup_last_modified < lastModifiedTime
EOF
Expand Down
1 change: 0 additions & 1 deletion terraform/SLI_5_days_views.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ resource "google_bigquery_table" "SLI_5_days_view" {
census.partitionId=last_backups.source_partition_id
WHERE
projectId != "${var.bbq_project}"
AND partitionId != "__UNPARTITIONED__"
AND backup_created < TIMESTAMP(DATE_ADD(CURRENT_TIMESTAMP(), -5 , "DAY"))
AND backup_last_modified < lastModifiedTime
EOF
Expand Down
1 change: 0 additions & 1 deletion terraform/SLI_7_days_views.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ resource "google_bigquery_table" "SLI_7_days_view" {
census.partitionId=last_backups.source_partition_id
WHERE
projectId != "${var.bbq_project}"
AND partitionId != "__UNPARTITIONED__"
AND backup_created < TIMESTAMP(DATE_ADD(CURRENT_TIMESTAMP(), -7 , "DAY"))
AND backup_last_modified < lastModifiedTime
EOF
Expand Down

0 comments on commit b81c006

Please sign in to comment.