sqlmesh 0.193.1.dev8__py3-none-any.whl → 0.193.1.dev9__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/explainer.py +5 -5
- sqlmesh/core/plan/stages.py +8 -1
- {sqlmesh-0.193.1.dev8.dist-info → sqlmesh-0.193.1.dev9.dist-info}/METADATA +1 -1
- {sqlmesh-0.193.1.dev8.dist-info → sqlmesh-0.193.1.dev9.dist-info}/RECORD +9 -9
- {sqlmesh-0.193.1.dev8.dist-info → sqlmesh-0.193.1.dev9.dist-info}/WHEEL +0 -0
- {sqlmesh-0.193.1.dev8.dist-info → sqlmesh-0.193.1.dev9.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.193.1.dev8.dist-info → sqlmesh-0.193.1.dev9.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.193.1.dev8.dist-info → sqlmesh-0.193.1.dev9.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.193.1.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 193, 1, '
|
|
20
|
+
__version__ = version = '0.193.1.dev9'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 193, 1, 'dev9')
|
sqlmesh/core/plan/explainer.py
CHANGED
|
@@ -90,16 +90,16 @@ class RichExplainerConsole(ExplainerConsole):
|
|
|
90
90
|
return Tree("[bold]Execute after all statements[/bold]")
|
|
91
91
|
|
|
92
92
|
def visit_physical_layer_update_stage(self, stage: stages.PhysicalLayerUpdateStage) -> Tree:
|
|
93
|
-
|
|
93
|
+
snapshots = [
|
|
94
|
+
s for s in stage.snapshots if s.snapshot_id in stage.snapshots_with_missing_intervals
|
|
95
|
+
]
|
|
96
|
+
if not snapshots:
|
|
94
97
|
return Tree("[bold]SKIP: No physical layer updates to perform[/bold]")
|
|
95
98
|
|
|
96
99
|
tree = Tree(
|
|
97
100
|
"[bold]Validate SQL and create physical layer tables and views if they do not exist[/bold]"
|
|
98
101
|
)
|
|
99
|
-
for snapshot in
|
|
100
|
-
if snapshot.snapshot_id not in stage.snapshots_with_missing_intervals:
|
|
101
|
-
continue
|
|
102
|
-
|
|
102
|
+
for snapshot in snapshots:
|
|
103
103
|
is_deployable = (
|
|
104
104
|
stage.deployability_index.is_deployable(snapshot)
|
|
105
105
|
if self.environment_naming_info.name != c.PROD
|
sqlmesh/core/plan/stages.py
CHANGED
|
@@ -8,6 +8,7 @@ from sqlmesh.core.scheduler import merged_missing_intervals, SnapshotToIntervals
|
|
|
8
8
|
from sqlmesh.core.snapshot.definition import (
|
|
9
9
|
DeployabilityIndex,
|
|
10
10
|
Snapshot,
|
|
11
|
+
SnapshotChangeCategory,
|
|
11
12
|
SnapshotTableInfo,
|
|
12
13
|
SnapshotId,
|
|
13
14
|
Interval,
|
|
@@ -255,7 +256,13 @@ class PlanStagesBuilder:
|
|
|
255
256
|
if s.is_paused
|
|
256
257
|
and s.is_model
|
|
257
258
|
and not s.is_symbolic
|
|
258
|
-
and (
|
|
259
|
+
and (
|
|
260
|
+
not deployability_index_for_creation.is_representative(s)
|
|
261
|
+
or (
|
|
262
|
+
s.is_view
|
|
263
|
+
and s.change_category == SnapshotChangeCategory.INDIRECT_NON_BREAKING
|
|
264
|
+
)
|
|
265
|
+
)
|
|
259
266
|
]
|
|
260
267
|
|
|
261
268
|
snapshots_to_intervals = self._missing_intervals(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=QjwaamJIdW7voXoS880yAx7tHm-Im4_mqGA-XJgafos,7631
|
|
2
|
-
sqlmesh/_version.py,sha256=
|
|
2
|
+
sqlmesh/_version.py,sha256=qFwwdd4wVG_5RGU1DfQtmeamvZVGygz1OJ3c2pGaAKI,528
|
|
3
3
|
sqlmesh/magics.py,sha256=ysPC5ohXpgQ8IHQPwtQtwGoVypmVq_YBlm1noUueDIw,40448
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -97,8 +97,8 @@ sqlmesh/core/plan/__init__.py,sha256=NKSvM7ZBVjw9ho3J65M1wFvG3KURB8PJ0FHHLmtSF44
|
|
|
97
97
|
sqlmesh/core/plan/builder.py,sha256=OS6igFQvPRLwIxuYT4WYcuWnuSrPfCQArUA6ohxFnZw,41341
|
|
98
98
|
sqlmesh/core/plan/definition.py,sha256=-jAO5EWvZdmn8jU7bMFJcprBPdfTVhSRgAvBPZ6kqBg,13613
|
|
99
99
|
sqlmesh/core/plan/evaluator.py,sha256=w3sZJFRc94kZ2d3s4rRir2sSugtngPQ3uIIFU77y-jY,20157
|
|
100
|
-
sqlmesh/core/plan/explainer.py,sha256=
|
|
101
|
-
sqlmesh/core/plan/stages.py,sha256=
|
|
100
|
+
sqlmesh/core/plan/explainer.py,sha256=SD7L41x-E_s4Cvf37wbP_-pdCrxdUkfsRKbFRIvVPG0,11826
|
|
101
|
+
sqlmesh/core/plan/stages.py,sha256=9BtcCgHYSvELrAkrOEhTuR1POAJNknLn_n4CmkqAC-4,21869
|
|
102
102
|
sqlmesh/core/snapshot/__init__.py,sha256=Z5HTetNCZGoKF1WAKXk4LWL9dc8EC8lwS2O4TtoBmt4,1317
|
|
103
103
|
sqlmesh/core/snapshot/cache.py,sha256=bgqCR2hyf6r2A_8QP1EnXFK25gDX37-Zg0YeMuETWxg,3934
|
|
104
104
|
sqlmesh/core/snapshot/categorizer.py,sha256=qGG5870mu1jR2whKisSBH_GFbsyh96RnzJDgkN7DV9g,2482
|
|
@@ -282,7 +282,7 @@ sqlmesh/utils/pydantic.py,sha256=I898jAFqa3qU6lG2uPpRebVFncOUo8ZrLWM_R3K3DHU,116
|
|
|
282
282
|
sqlmesh/utils/rich.py,sha256=BpB47G0-JcU41LkGkeGKroexj4NOV5fox4-GOIXPgIc,3545
|
|
283
283
|
sqlmesh/utils/windows.py,sha256=r7Yin4WEwbvH7sKA3hOJtRsclmscNuBeCklCfVPvtQs,611
|
|
284
284
|
sqlmesh/utils/yaml.py,sha256=np-WVcwmwsKghCgAj1OBBMsK1SXSRn4wR-H37cGiFr8,2282
|
|
285
|
-
sqlmesh-0.193.1.
|
|
285
|
+
sqlmesh-0.193.1.dev9.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
|
|
286
286
|
web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
287
287
|
web/client/dist/index.html,sha256=6S_GSRtPwXyr17YSqAWyZ2Prb2puyUa-UdLiZpFtwe4,5472
|
|
288
288
|
web/client/dist/assets/Audits-Dym5PKHr.js,sha256=UZFlxjPaLxv7b4C494dCxXDNY7918lWEkn2FghwDd4E,1041
|
|
@@ -400,8 +400,8 @@ web/server/api/endpoints/models.py,sha256=ud-lRwriyI_OYg9tZchrBgeiXELiRTLNEodraf
|
|
|
400
400
|
web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
|
|
401
401
|
web/server/api/endpoints/plan.py,sha256=OYuQ_4dgbhG9ibTcX1a8mvYgH3ANxw9Fhbb4wg6QWqc,9222
|
|
402
402
|
web/server/api/endpoints/table_diff.py,sha256=SCy3-pr5x6bEEiOaZGCDbiHQhpgxwmnz3Acqa2Ie6jI,2090
|
|
403
|
-
sqlmesh-0.193.1.
|
|
404
|
-
sqlmesh-0.193.1.
|
|
405
|
-
sqlmesh-0.193.1.
|
|
406
|
-
sqlmesh-0.193.1.
|
|
407
|
-
sqlmesh-0.193.1.
|
|
403
|
+
sqlmesh-0.193.1.dev9.dist-info/METADATA,sha256=1_fQ4I8zsSD5GCubI2ZpmHY0FW9cC9LZJXrW-1ME-Nc,26690
|
|
404
|
+
sqlmesh-0.193.1.dev9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
405
|
+
sqlmesh-0.193.1.dev9.dist-info/entry_points.txt,sha256=pIYKtg-u-uO7BK_Y0qrdmfyj0bYrcMc3Xiqr5WE3VFk,121
|
|
406
|
+
sqlmesh-0.193.1.dev9.dist-info/top_level.txt,sha256=bspjo5vjELQkuN0qKuTFIbsrUt3Zeo8D2mlKeHG1LdE,12
|
|
407
|
+
sqlmesh-0.193.1.dev9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|