sqlmesh 0.186.1.dev2__py3-none-any.whl → 0.186.1.dev3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sqlmesh/_version.py +2 -2
- sqlmesh/core/plan/builder.py +9 -9
- {sqlmesh-0.186.1.dev2.dist-info → sqlmesh-0.186.1.dev3.dist-info}/METADATA +1 -1
- {sqlmesh-0.186.1.dev2.dist-info → sqlmesh-0.186.1.dev3.dist-info}/RECORD +8 -8
- {sqlmesh-0.186.1.dev2.dist-info → sqlmesh-0.186.1.dev3.dist-info}/WHEEL +0 -0
- {sqlmesh-0.186.1.dev2.dist-info → sqlmesh-0.186.1.dev3.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.186.1.dev2.dist-info → sqlmesh-0.186.1.dev3.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.186.1.dev2.dist-info → sqlmesh-0.186.1.dev3.dist-info}/top_level.txt +0 -0
sqlmesh/_version.py
CHANGED
|
@@ -17,5 +17,5 @@ __version__: str
|
|
|
17
17
|
__version_tuple__: VERSION_TUPLE
|
|
18
18
|
version_tuple: VERSION_TUPLE
|
|
19
19
|
|
|
20
|
-
__version__ = version = '0.186.1.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 186, 1, '
|
|
20
|
+
__version__ = version = '0.186.1.dev3'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 186, 1, 'dev3')
|
sqlmesh/core/plan/builder.py
CHANGED
|
@@ -344,6 +344,15 @@ class PlanBuilder:
|
|
|
344
344
|
for s_id in dag:
|
|
345
345
|
snapshot = self._context_diff.snapshots[s_id]
|
|
346
346
|
|
|
347
|
+
# Since we are traversing the graph in topological order and the largest interval range is pushed down
|
|
348
|
+
# the graph we just have to check our immediate parents in the graph and not the whole upstream graph.
|
|
349
|
+
restating_parents = [
|
|
350
|
+
self._context_diff.snapshots[s] for s in snapshot.parents if s in restatements
|
|
351
|
+
]
|
|
352
|
+
|
|
353
|
+
if not restating_parents and snapshot.name not in restate_models:
|
|
354
|
+
continue
|
|
355
|
+
|
|
347
356
|
if not forward_only_preview_needed:
|
|
348
357
|
if self._is_dev and not snapshot.is_paused:
|
|
349
358
|
self._console.log_warning(
|
|
@@ -362,15 +371,6 @@ class PlanBuilder:
|
|
|
362
371
|
logger.info("Skipping restatement for model '%s'", snapshot.name)
|
|
363
372
|
continue
|
|
364
373
|
|
|
365
|
-
# Since we are traversing the graph in topological order and the largest interval range is pushed down
|
|
366
|
-
# the graph we just have to check our immediate parents in the graph and not the whole upstream graph.
|
|
367
|
-
restating_parents = [
|
|
368
|
-
self._context_diff.snapshots[s] for s in snapshot.parents if s in restatements
|
|
369
|
-
]
|
|
370
|
-
|
|
371
|
-
if not restating_parents and snapshot.name not in restate_models:
|
|
372
|
-
continue
|
|
373
|
-
|
|
374
374
|
possible_intervals = {
|
|
375
375
|
restatements[p.snapshot_id] for p in restating_parents if p.is_incremental
|
|
376
376
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=69xw6bTmi4cW90M-sl3g6wLDgxVcLHcKg1q8GS3lqyA,7466
|
|
2
|
-
sqlmesh/_version.py,sha256=
|
|
2
|
+
sqlmesh/_version.py,sha256=q0wHKOOCel53puhXCfdhzyK_CaoMrYy0za8-7qWbl-I,528
|
|
3
3
|
sqlmesh/magics.py,sha256=JHorAZNtezf123jmTyNSoUC9yHmv-08hMP205PJmmIo,39750
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -93,7 +93,7 @@ sqlmesh/core/model/meta.py,sha256=Hxn5BjfnGATjopHQ4Odok3FoO0X1Ulb2gm6aAvwQhP0,19
|
|
|
93
93
|
sqlmesh/core/model/schema.py,sha256=QzM1cOfukuK3L-cEE9MtxKeYec3x5JvutdZAnczJSiQ,3858
|
|
94
94
|
sqlmesh/core/model/seed.py,sha256=ctUHH6CmeEnBVJyIAZznx0xJBm09W7VIZ-76Cfwfq28,5004
|
|
95
95
|
sqlmesh/core/plan/__init__.py,sha256=ctpnu9mK3uTujs0It8qRMqcj9GdObXDnvSgn4rD2zqc,450
|
|
96
|
-
sqlmesh/core/plan/builder.py,sha256=
|
|
96
|
+
sqlmesh/core/plan/builder.py,sha256=Fd5raxq6r6b_3mOZndiI2U7SmliVYevcrpxWNqRV_OE,38471
|
|
97
97
|
sqlmesh/core/plan/definition.py,sha256=SI3zi2poPkKJKTZogYv60Q7eIOhksaAcFUcu-J2-XqI,13218
|
|
98
98
|
sqlmesh/core/plan/evaluator.py,sha256=ocRqGy36RKZyfkGBzaXDnCA1-p8JPkb5IF__ZrmEhL4,25724
|
|
99
99
|
sqlmesh/core/snapshot/__init__.py,sha256=Z5HTetNCZGoKF1WAKXk4LWL9dc8EC8lwS2O4TtoBmt4,1317
|
|
@@ -268,7 +268,7 @@ sqlmesh/utils/pydantic.py,sha256=dywc9i-diWLA3vB-X_28I8NX3BPoSWAjcaP31zkzr0k,111
|
|
|
268
268
|
sqlmesh/utils/rich.py,sha256=xNZyPCqEc4TAlJlsEthg-5eYUWpaizz0QjBzO7a1Yv4,1509
|
|
269
269
|
sqlmesh/utils/windows.py,sha256=r7Yin4WEwbvH7sKA3hOJtRsclmscNuBeCklCfVPvtQs,611
|
|
270
270
|
sqlmesh/utils/yaml.py,sha256=np-WVcwmwsKghCgAj1OBBMsK1SXSRn4wR-H37cGiFr8,2282
|
|
271
|
-
sqlmesh-0.186.1.
|
|
271
|
+
sqlmesh-0.186.1.dev3.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
|
|
272
272
|
web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
273
273
|
web/client/dist/index.html,sha256=xQIU9G6dbuTnmbHZ61bSYbh0gYz9A2lb4BRwLlXL94Y,5472
|
|
274
274
|
web/client/dist/assets/Audits-Dcl7Y5yf.js,sha256=D2CfXzrdXFdD_-7c51tBJCKNwUY9yGeIpDEaRae7V8I,1041
|
|
@@ -386,8 +386,8 @@ web/server/api/endpoints/models.py,sha256=ud-lRwriyI_OYg9tZchrBgeiXELiRTLNEodraf
|
|
|
386
386
|
web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
|
|
387
387
|
web/server/api/endpoints/plan.py,sha256=OYuQ_4dgbhG9ibTcX1a8mvYgH3ANxw9Fhbb4wg6QWqc,9222
|
|
388
388
|
web/server/api/endpoints/table_diff.py,sha256=Wd5YxeKbZB7AkrDvqFgvV9ZQlnKYOF1n5W_w2EHE_Zw,2085
|
|
389
|
-
sqlmesh-0.186.1.
|
|
390
|
-
sqlmesh-0.186.1.
|
|
391
|
-
sqlmesh-0.186.1.
|
|
392
|
-
sqlmesh-0.186.1.
|
|
393
|
-
sqlmesh-0.186.1.
|
|
389
|
+
sqlmesh-0.186.1.dev3.dist-info/METADATA,sha256=Z5edNTAmrWqwHkPo1u9p_deLywLwvoyqe8j4knOuZuo,25523
|
|
390
|
+
sqlmesh-0.186.1.dev3.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
|
391
|
+
sqlmesh-0.186.1.dev3.dist-info/entry_points.txt,sha256=pIYKtg-u-uO7BK_Y0qrdmfyj0bYrcMc3Xiqr5WE3VFk,121
|
|
392
|
+
sqlmesh-0.186.1.dev3.dist-info/top_level.txt,sha256=bspjo5vjELQkuN0qKuTFIbsrUt3Zeo8D2mlKeHG1LdE,12
|
|
393
|
+
sqlmesh-0.186.1.dev3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|