Skip to content

Commit b957a95

Browse files
author
Hugo Rialan
committed
add comments
1 parent eda07f7 commit b957a95

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

definitions/example.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ const commonAssertionsResult = commonAssertions({
3232
"timeZone": "America/Los_Angeles"
3333
},
3434
"second_table": {
35+
// If timeUnit is not DAY, WEEK, MONTH, QUARTER, or YEAR, dateColumn should be a TIMESTAMP.
36+
// Check here for valid Date time units: https://cloud.google.com/bigquery/docs/reference/standard-sql/date_functions#date_diff
37+
// Check here for valid Timestamp time units: https://cloud.google.com/bigquery/docs/reference/standard-sql/timestamp_functions#timestamp_diff
3538
"dateColumn": "TIMESTAMP(updated_date)",
3639
"timeUnit": "HOUR",
3740
"delayCondition": 3,

0 commit comments

Comments
 (0)