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

YACHT-1256: Updating SLI latency view to filter out empty tables as i… #141

Closed
wants to merge 4 commits into from

Conversation

radkomateusz
Copy link
Contributor

…t isn't violation anymore.

@coveralls
Copy link

coveralls commented Apr 23, 2019

Pull Request Test Coverage Report for Build 1168

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage remained the same at 84.29%

Files with Coverage Reduction New Missed Lines %
src/backup/default_backup_predicate.py 2 94.44%
Totals Coverage Status
Change from base Build 1125: 0.0%
Covered Lines: 2409
Relevant Lines: 2858

💛 - Coveralls

marcin-kolda
marcin-kolda previously approved these changes Apr 23, 2019
@@ -18,6 +18,7 @@ resource "google_bigquery_table" "census_data_0_days_ago_view" {
WHERE
_PARTITIONTIME BETWEEN TIMESTAMP(DATE_ADD(CURRENT_DATE(), -3, "DAY")) AND TIMESTAMP(CURRENT_DATE())
AND timePartitioning.type IS NULL AND type='TABLE'
AND numRows != 0
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm wondering should we put that condition in the other view (SLI_0_days_view).

…of given table is not empty and lastModification time is newer than date of newest backup
…ness.

Adding test: Should make backup if source table is empty and existing backup is also empty (eg. schema change but without adding any data).
…t isn't violation anymore. Adding descriptions for views. Refactoring of terraform dependencies to avoid specifying dependencies explicitly.
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