You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: includes/data_completeness_assertions.js
+19-6Lines changed: 19 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,14 @@
11
11
12
12
/**
13
13
* @param {Object} globalParams - See index.js for details.
14
+
* @param {string} filter - The condition to filter the data.
14
15
* @param {string} tableName - The name of the table to check for data completeness.
15
16
* @param {Object} columnConditions - An object mapping column names to their allowed percentage of null values. If a value is an object, it should have an `allowedPercentageNull` property.
Copy file name to clipboardExpand all lines: includes/data_freshness_assertions.js
+17-4Lines changed: 17 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,29 +9,41 @@
9
9
10
10
/**
11
11
* @param {Object} globalParams - See index.js for details.
12
+
* @param {string} filter - The condition to filter the data.
12
13
* @param {string} tableName - The name of the table to check for data freshness.
13
14
* @param {number} delayCondition - The maximum allowed delay (in units specified by `timeUnit`) for the data to be considered fresh.
14
15
* @param {string} timeUnit - The unit of time to use for the delay condition. This should be a string that is valid in a SQL `DATE_DIFF` function, such as 'DAY', 'HOUR', etc.
15
16
* @param {string} dateColumn - The name of the date column to check for data freshness.
17
+
* @param {string} timeZone - The name of the time zone for the date column.
constreferentialIntegrityAssertionsResult=referential_integrity_assertions(globalAssertionsParams,config,referentialIntegrityConditions);// New assertion
0 commit comments