fix nones

This commit is contained in:
Eric Laurello 2024-09-20 08:42:16 -04:00
parent 29512c9eda
commit 6c0748c9f6

View File

@ -27,6 +27,9 @@ WHERE
)
) {% endset %}
{% set min_block_timestamp_hour = run_query(query).columns [0].values() [0] %}
{% if not min_block_timestamp_hour or min_block_timestamp_hour == 'None' %}
{% set min_block_timestamp_hour = '2099-01-01' %}
{% endif %}
{% endif %}
{% endif %}
SELECT