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

YACHT-1026: partitions that have no backups were filter out in SLI queries - fix #64

Merged
merged 3 commits into from
Sep 17, 2018

Conversation

jarekdrabek
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Sep 14, 2018

Pull Request Test Coverage Report for Build 643

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 80.75%

Totals Coverage Status
Change from base Build 635: 0.0%
Covered Lines: 2282
Relevant Lines: 2826

💛 - Coveralls

@@ -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')
(census.partitionId=last_backups.source_partition_id OR last_backups.source_partition_id IS NULL)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would invert the equal statement so that it's easier to read, i.e.:
(last_backups.source_partition_id=census.partitionId OR last_backups.source_partition_id IS NULL)

radkomateusz
radkomateusz previously approved these changes Sep 17, 2018
@radkomateusz radkomateusz merged commit 9d117ef into master Sep 17, 2018
@radkomateusz radkomateusz deleted the YACHT-1026 branch September 17, 2018 08:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants