async is requesting stuff too fast

This commit is contained in:
Deeman
2025-07-13 18:08:25 +02:00
parent 8143c6ed8e
commit 70bd8a52db
4 changed files with 103 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
MODEL (
name sqlmesh_example.full_model,
kind FULL,
cron '@daily',
grain item_id,
audits (assert_positive_order_ids),
);
SELECT
item_id,
COUNT(DISTINCT id) AS num_orders,
FROM
sqlmesh_example.incremental_model
GROUP BY item_id