Commit 8e625c8
authored
fix(sqlmesh): attempt to optimize stg_github__events to use a smaller window for lookbacks (#5474)
* fix(sqlmesh): attempt to optimize stg_github__events to use a smaller window for lookbacks
Also makes it so the github events model tries to use days instead of months for the partitions (mostly to reduce size of query in trino)
* Update warehouse/oso_sqlmesh/models/staging/github/stg_github__events.py1 parent acbeeaa commit 8e625c8
File tree
1 file changed
+7
-4
lines changed- warehouse/oso_sqlmesh/models/staging/github
1 file changed
+7
-4
lines changedLines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
58 | | - | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
118 | | - | |
| 121 | + | |
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
| |||
0 commit comments