look for gaps excluding current date (#24)

This commit is contained in:
desmond-hui 2022-05-23 08:40:04 -07:00 committed by GitHub
parent 0012b72b96
commit 04fe197b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,8 @@
) AS {{ previous_column }}
FROM
{{ table }}
WHERE
block_timestamp::date <= current_date - 1
)
SELECT
{{ partition_sql + "," if partition_sql }}