Skip to content

Commit

Permalink
fix: upadte how variable is used
Browse files Browse the repository at this point in the history
  • Loading branch information
njogz committed Sep 29, 2024
1 parent e2a8408 commit 5d10c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/root/document_metadata.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ WITH source_table_CTE AS (
{% if var("start_timestamp") is not none and var("batch_size") is not none %}
SELECT *
FROM source_table_CTE
WHERE saved_timestamp >= {{ var('start_timestamp') }}
WHERE saved_timestamp >= '{{ var("start_timestamp") }}'
ORDER BY saved_timestamp
LIMIT {{ var('batch_size') }}
{% else %}
Expand Down

0 comments on commit 5d10c4f

Please sign in to comment.