sqlmesh 0.226.1.dev6__py3-none-any.whl → 0.226.1.dev8__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.
Potentially problematic release.
This version of sqlmesh might be problematic. Click here for more details.
- sqlmesh/_version.py +2 -2
- sqlmesh/core/context.py +1 -0
- sqlmesh/core/plan/definition.py +9 -7
- {sqlmesh-0.226.1.dev6.dist-info → sqlmesh-0.226.1.dev8.dist-info}/METADATA +1 -1
- {sqlmesh-0.226.1.dev6.dist-info → sqlmesh-0.226.1.dev8.dist-info}/RECORD +9 -9
- {sqlmesh-0.226.1.dev6.dist-info → sqlmesh-0.226.1.dev8.dist-info}/WHEEL +0 -0
- {sqlmesh-0.226.1.dev6.dist-info → sqlmesh-0.226.1.dev8.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.226.1.dev6.dist-info → sqlmesh-0.226.1.dev8.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.226.1.dev6.dist-info → sqlmesh-0.226.1.dev8.dist-info}/top_level.txt +0 -0
sqlmesh/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.226.1.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 226, 1, '
|
|
31
|
+
__version__ = version = '0.226.1.dev8'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 226, 1, 'dev8')
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
sqlmesh/core/context.py
CHANGED
sqlmesh/core/plan/definition.py
CHANGED
|
@@ -63,7 +63,7 @@ class Plan(PydanticModel, frozen=True):
|
|
|
63
63
|
restatements: t.Dict[SnapshotId, Interval]
|
|
64
64
|
"""
|
|
65
65
|
All models being restated, which are typically the explicitly selected ones + their downstream dependencies.
|
|
66
|
-
|
|
66
|
+
|
|
67
67
|
Note that dev previews are also considered restatements, so :selected_models_to_restate can be empty
|
|
68
68
|
while :restatements is still populated with dev previews
|
|
69
69
|
"""
|
|
@@ -213,8 +213,8 @@ class Plan(PydanticModel, frozen=True):
|
|
|
213
213
|
|
|
214
214
|
snapshots_by_name = self.context_diff.snapshots_by_name
|
|
215
215
|
snapshots = [s.table_info for s in self.snapshots.values()]
|
|
216
|
-
|
|
217
|
-
if self.is_dev
|
|
216
|
+
promotable_snapshot_ids = None
|
|
217
|
+
if self.is_dev:
|
|
218
218
|
if self.selected_models_to_backfill is not None:
|
|
219
219
|
# Only promote models that have been explicitly selected for backfill.
|
|
220
220
|
promotable_snapshot_ids = {
|
|
@@ -225,12 +225,14 @@ class Plan(PydanticModel, frozen=True):
|
|
|
225
225
|
if m in snapshots_by_name
|
|
226
226
|
],
|
|
227
227
|
}
|
|
228
|
-
|
|
228
|
+
elif not self.include_unmodified:
|
|
229
229
|
promotable_snapshot_ids = self.context_diff.promotable_snapshot_ids.copy()
|
|
230
230
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
promoted_snapshot_ids = (
|
|
232
|
+
[s.snapshot_id for s in snapshots if s.snapshot_id in promotable_snapshot_ids]
|
|
233
|
+
if promotable_snapshot_ids is not None
|
|
234
|
+
else None
|
|
235
|
+
)
|
|
234
236
|
|
|
235
237
|
previous_finalized_snapshots = (
|
|
236
238
|
self.context_diff.environment_snapshots
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=v_spqQEhcnGaahp1yPvMqUIa6mhH3cs3Bc1CznxvCEA,7965
|
|
2
|
-
sqlmesh/_version.py,sha256=
|
|
2
|
+
sqlmesh/_version.py,sha256=U1w4pzMpOm_drWkVAhW0YS4I88d6BADCLrc54-0ibW4,721
|
|
3
3
|
sqlmesh/magics.py,sha256=xLh3u4eqpVrKRVN5KF3X84RPRqjygAB9AJP1TXwH8hg,42086
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -13,7 +13,7 @@ sqlmesh/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
13
13
|
sqlmesh/core/_typing.py,sha256=PzXxMYnORq18JhblAOUttms3zPJZzZpIbfFA_jgKYPA,498
|
|
14
14
|
sqlmesh/core/console.py,sha256=MYpVlciUY6rUuoqXyKfXTxD6a4-Bw4-ooATUTj_VHGg,172830
|
|
15
15
|
sqlmesh/core/constants.py,sha256=BuQk43vluUm7LfP9nKp5o9qRhqIenWF_LiLXO_t_53c,2699
|
|
16
|
-
sqlmesh/core/context.py,sha256=
|
|
16
|
+
sqlmesh/core/context.py,sha256=UxK9h9qvjwmnRTL7JLUEJFZvinWbJ_dDkXIKHq0s5ZU,131264
|
|
17
17
|
sqlmesh/core/context_diff.py,sha256=mxkJu0IthFMOlaQ_kcq5C09mlgkq2RQb-pG2rd-x_nA,21648
|
|
18
18
|
sqlmesh/core/dialect.py,sha256=CnKcPj6BnREfu9Zn1OyS7hZ3ktnaX03ygOg91nADlTU,53029
|
|
19
19
|
sqlmesh/core/environment.py,sha256=Kgs_gUEUI072mh0JJFWNRynrCxp1TzRHZhX_NWJRfXc,13142
|
|
@@ -98,7 +98,7 @@ sqlmesh/core/model/seed.py,sha256=a0M-1zY1gOkN5ph2GQyataEdBSCtq50YjeFk2LyvInI,50
|
|
|
98
98
|
sqlmesh/core/plan/__init__.py,sha256=NKSvM7ZBVjw9ho3J65M1wFvG3KURB8PJ0FHHLmtSF44,443
|
|
99
99
|
sqlmesh/core/plan/builder.py,sha256=naiEWF_x3vUpcVjzaif1HMsKPtJLvabdnB4WsCskdf8,44245
|
|
100
100
|
sqlmesh/core/plan/common.py,sha256=GEu7eXIfX7MM7d8-1znYlVnF1UbRZkBSDXLoMbjsieY,10716
|
|
101
|
-
sqlmesh/core/plan/definition.py,sha256=
|
|
101
|
+
sqlmesh/core/plan/definition.py,sha256=tfddMilgk4CZN2SljFotFlttsT9nBQ50kwiNDRonxXw,15282
|
|
102
102
|
sqlmesh/core/plan/evaluator.py,sha256=twO9cHznTNAtPNC4IZcw9uhCxGl2yIywfePfmJKkymE,21114
|
|
103
103
|
sqlmesh/core/plan/explainer.py,sha256=UITln7f4vxf6-nx7mV_IBbtIZ4f8ob4TyooqZMB9Pqg,15442
|
|
104
104
|
sqlmesh/core/plan/stages.py,sha256=-Ju9yRQlEFmQoDIsDH_RO0EHdOlRZUVtVT9ag1gzLns,27491
|
|
@@ -238,7 +238,7 @@ sqlmesh/utils/pydantic.py,sha256=-yppkVlw6iSBaSiKjbe7OChxL-u3urOS4-KCjJEgsRU,120
|
|
|
238
238
|
sqlmesh/utils/rich.py,sha256=cwQ5nJ6sgz64xHtoh6_ec7ReV5YpsOGhMtUJnwoRfEI,3549
|
|
239
239
|
sqlmesh/utils/windows.py,sha256=0F9RdpuuCoG5NiEDXvWlAGCiJ-59OjSAmgFF5wW05aY,1133
|
|
240
240
|
sqlmesh/utils/yaml.py,sha256=KFBd7hsKNRTtRudGR7d410qUYffQv0EWRcDM8hVNNZg,3025
|
|
241
|
-
sqlmesh-0.226.1.
|
|
241
|
+
sqlmesh-0.226.1.dev8.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
|
|
242
242
|
sqlmesh_dbt/__init__.py,sha256=awYS5y5mz-1NUmx6i5h5NSTJ7tidRl9NC0FAnFWSF6U,350
|
|
243
243
|
sqlmesh_dbt/cli.py,sha256=p9foHjAW9ni7BTOJ2loynk47M0Sf43QIJZRggOzF5tc,6351
|
|
244
244
|
sqlmesh_dbt/console.py,sha256=RwWLYnEZHzn9Xp-e2gbZvkdKbWbBLN146geI84mJitg,1132
|
|
@@ -363,8 +363,8 @@ web/server/api/endpoints/models.py,sha256=kwj0s7uve3iZSMfmjkoPVMFMeY1sD0peTeyrWf
|
|
|
363
363
|
web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
|
|
364
364
|
web/server/api/endpoints/plan.py,sha256=bbbY50W_2MsZSTxOHWMKz0tbIm75nsRSlPy8GI2fg9Q,9306
|
|
365
365
|
web/server/api/endpoints/table_diff.py,sha256=8XTwgOh6QBbNy_hTM1JuHgRjbnie-pGPrphiW-FNLjQ,6058
|
|
366
|
-
sqlmesh-0.226.1.
|
|
367
|
-
sqlmesh-0.226.1.
|
|
368
|
-
sqlmesh-0.226.1.
|
|
369
|
-
sqlmesh-0.226.1.
|
|
370
|
-
sqlmesh-0.226.1.
|
|
366
|
+
sqlmesh-0.226.1.dev8.dist-info/METADATA,sha256=ab2HYriOyZUIhvTl6VuLh2D8Krs4wXCyq0ojR0OHYSk,26685
|
|
367
|
+
sqlmesh-0.226.1.dev8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
368
|
+
sqlmesh-0.226.1.dev8.dist-info/entry_points.txt,sha256=sHAf6tQczIM8xZoduN4qaUjV7QEPVUUW_LCT8EDUMv4,155
|
|
369
|
+
sqlmesh-0.226.1.dev8.dist-info/top_level.txt,sha256=RQ-33FPe2IgL0rgossAfJkCRtqslz9b7wFARqiWLC5Q,24
|
|
370
|
+
sqlmesh-0.226.1.dev8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|