-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: unrecognized _partitiontime for time ingestion partitioned models
- Loading branch information
1 parent
83ecd5b
commit 20189bc
Showing
4 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
integration/projects/test_incremental/models/partition_by_time_ingestion.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{ | ||
config( | ||
materialized="incremental", | ||
partition_by={ | ||
"field": "executed_at", | ||
"data_type": "date", | ||
"time_ingestion_partitioning": true | ||
} | ||
) | ||
}} | ||
|
||
SELECT | ||
executed_at, | ||
col_1, | ||
col_2 | ||
FROM (SELECT DATE('2024-06-06') as executed_at, "foo" as col_1, "bar" as col_2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters