update projects to packages
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
MODEL (
|
||||
name sqlmesh_example.incremental_model,
|
||||
kind INCREMENTAL_BY_TIME_RANGE (
|
||||
time_column event_date
|
||||
),
|
||||
start '2020-01-01',
|
||||
cron '@daily',
|
||||
grain (id, event_date)
|
||||
);
|
||||
|
||||
SELECT
|
||||
id,
|
||||
item_id,
|
||||
event_date,
|
||||
FROM
|
||||
sqlmesh_example.seed_model
|
||||
WHERE
|
||||
event_date BETWEEN @start_date AND @end_date
|
||||
|
||||
Reference in New Issue
Block a user