sqlmesh 0.184.3.dev20__py3-none-any.whl → 0.184.4.dev1__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/console.py +10 -6
- sqlmesh/core/plan/evaluator.py +3 -3
- sqlmesh/integrations/github/cicd/controller.py +7 -4
- {sqlmesh-0.184.3.dev20.dist-info → sqlmesh-0.184.4.dev1.dist-info}/METADATA +1 -1
- {sqlmesh-0.184.3.dev20.dist-info → sqlmesh-0.184.4.dev1.dist-info}/RECORD +10 -10
- {sqlmesh-0.184.3.dev20.dist-info → sqlmesh-0.184.4.dev1.dist-info}/WHEEL +0 -0
- {sqlmesh-0.184.3.dev20.dist-info → sqlmesh-0.184.4.dev1.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.184.3.dev20.dist-info → sqlmesh-0.184.4.dev1.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.184.3.dev20.dist-info → sqlmesh-0.184.4.dev1.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.184.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 184,
|
|
20
|
+
__version__ = version = '0.184.4.dev1'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 184, 4, 'dev1')
|
sqlmesh/core/console.py
CHANGED
|
@@ -1161,7 +1161,7 @@ class TerminalConsole(Console):
|
|
|
1161
1161
|
default_catalog: t.Optional[str],
|
|
1162
1162
|
) -> None:
|
|
1163
1163
|
"""Indicates that a new snapshot promotion progress has begun."""
|
|
1164
|
-
if self.promotion_progress is None:
|
|
1164
|
+
if snapshots and self.promotion_progress is None:
|
|
1165
1165
|
self.promotion_progress = make_progress_bar(
|
|
1166
1166
|
"Updating virtual layer ", self.console, justify="left"
|
|
1167
1167
|
)
|
|
@@ -1782,10 +1782,13 @@ class TerminalConsole(Console):
|
|
|
1782
1782
|
"""Get the user's change category for the directly modified models."""
|
|
1783
1783
|
plan = plan_builder.build()
|
|
1784
1784
|
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1785
|
+
if plan.restatements:
|
|
1786
|
+
self._print("\n[bold]Restating models\n")
|
|
1787
|
+
else:
|
|
1788
|
+
self.show_environment_difference_summary(
|
|
1789
|
+
plan.context_diff,
|
|
1790
|
+
no_diff=no_diff,
|
|
1791
|
+
)
|
|
1789
1792
|
|
|
1790
1793
|
if plan.context_diff.has_changes:
|
|
1791
1794
|
self.show_model_difference_summary(
|
|
@@ -3458,7 +3461,8 @@ class DebuggerTerminalConsole(TerminalConsole):
|
|
|
3458
3461
|
environment_naming_info: EnvironmentNamingInfo,
|
|
3459
3462
|
default_catalog: t.Optional[str],
|
|
3460
3463
|
) -> None:
|
|
3461
|
-
|
|
3464
|
+
if snapshots:
|
|
3465
|
+
self._write(f"Starting promotion for {len(snapshots)} snapshots")
|
|
3462
3466
|
|
|
3463
3467
|
def update_promotion_progress(self, snapshot: SnapshotInfoLike, promoted: bool) -> None:
|
|
3464
3468
|
self._write(f"Promoting {snapshot.name}")
|
sqlmesh/core/plan/evaluator.py
CHANGED
|
@@ -132,8 +132,8 @@ class BuiltInPlanEvaluator(PlanEvaluator):
|
|
|
132
132
|
|
|
133
133
|
push_completion_status = self._push(plan, snapshots, deployability_index_for_creation)
|
|
134
134
|
if push_completion_status.is_nothing_to_do:
|
|
135
|
-
self.console.
|
|
136
|
-
"\
|
|
135
|
+
self.console.log_success(
|
|
136
|
+
"" if plan.restatements else "\nSKIP: No physical layer updates to perform"
|
|
137
137
|
)
|
|
138
138
|
update_intervals_for_new_snapshots(plan.new_snapshots, self.state_sync)
|
|
139
139
|
self._restate(plan, snapshots_by_name)
|
|
@@ -158,7 +158,7 @@ class BuiltInPlanEvaluator(PlanEvaluator):
|
|
|
158
158
|
first_bf_completion_status.is_nothing_to_do
|
|
159
159
|
and second_bf_completion_status.is_nothing_to_do
|
|
160
160
|
):
|
|
161
|
-
self.console.
|
|
161
|
+
self.console.log_success("SKIP: No model batches to execute")
|
|
162
162
|
self._update_views(
|
|
163
163
|
plan, snapshots, promotion_result, deployability_index_for_evaluation
|
|
164
164
|
)
|
|
@@ -457,10 +457,13 @@ class GithubController:
|
|
|
457
457
|
try:
|
|
458
458
|
# Clear out any output that might exist from prior steps
|
|
459
459
|
self._console.clear_captured_outputs()
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
460
|
+
if plan.restatements:
|
|
461
|
+
self._console._print("\n**Restating models**\n")
|
|
462
|
+
else:
|
|
463
|
+
self._console.show_environment_difference_summary(
|
|
464
|
+
context_diff=plan.context_diff,
|
|
465
|
+
no_diff=False,
|
|
466
|
+
)
|
|
464
467
|
if plan.context_diff.has_changes:
|
|
465
468
|
self._console.show_model_difference_summary(
|
|
466
469
|
context_diff=plan.context_diff,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=DRovDXI-9D9xeYDP7t8Fq7mI31S2btlN-LHPOK3y7PA,7240
|
|
2
|
-
sqlmesh/_version.py,sha256=
|
|
2
|
+
sqlmesh/_version.py,sha256=VlrpSfk-3hY4XEFlwkNyC1rSDflE48NF7YFTGnDHRvA,528
|
|
3
3
|
sqlmesh/magics.py,sha256=aeOyTdeNnyGzGtJXECDAbqJ8OAplrV4UAYl0I2hhtig,39670
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -11,7 +11,7 @@ sqlmesh/cli/main.py,sha256=TnV6htxJEvRDU7XxcXPOXNKmCT--f6k3yANeqmNSo6Y,32143
|
|
|
11
11
|
sqlmesh/cli/options.py,sha256=aC_L5WnMScKzMU55BD1Y-8R-QzqCkPSYrlCI-payHRA,1333
|
|
12
12
|
sqlmesh/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
sqlmesh/core/_typing.py,sha256=e1f7xO2aZCy38M_3VoDy-XI3shyd99-IFctgIFSgXWM,497
|
|
14
|
-
sqlmesh/core/console.py,sha256=
|
|
14
|
+
sqlmesh/core/console.py,sha256=ZAaGLOWBJGBxPzLV7KZZ9akPExgD5m5AboCM8O0Q0nY,150944
|
|
15
15
|
sqlmesh/core/constants.py,sha256=oqt6zjepUhQoWlgapKn_HpG7Pu9mrFwepdX5caNfJUI,2499
|
|
16
16
|
sqlmesh/core/context.py,sha256=r7wKGFx702NF06S0Y8AvkoMaeYjzDRcugArRwxT4LHU,114911
|
|
17
17
|
sqlmesh/core/context_diff.py,sha256=s9toP17d4tJfOpFH91LcjGK2CM64PVuB0MPkeFgF4hQ,20415
|
|
@@ -95,7 +95,7 @@ sqlmesh/core/model/seed.py,sha256=ctUHH6CmeEnBVJyIAZznx0xJBm09W7VIZ-76Cfwfq28,50
|
|
|
95
95
|
sqlmesh/core/plan/__init__.py,sha256=ctpnu9mK3uTujs0It8qRMqcj9GdObXDnvSgn4rD2zqc,450
|
|
96
96
|
sqlmesh/core/plan/builder.py,sha256=ltoUlUr13uoEftYqGzjbnOa_n7-Q1CUiE9R_LgHY9Mc,38471
|
|
97
97
|
sqlmesh/core/plan/definition.py,sha256=SI3zi2poPkKJKTZogYv60Q7eIOhksaAcFUcu-J2-XqI,13218
|
|
98
|
-
sqlmesh/core/plan/evaluator.py,sha256=
|
|
98
|
+
sqlmesh/core/plan/evaluator.py,sha256=ocRqGy36RKZyfkGBzaXDnCA1-p8JPkb5IF__ZrmEhL4,25724
|
|
99
99
|
sqlmesh/core/snapshot/__init__.py,sha256=Z5HTetNCZGoKF1WAKXk4LWL9dc8EC8lwS2O4TtoBmt4,1317
|
|
100
100
|
sqlmesh/core/snapshot/cache.py,sha256=MRYi_koDvp2yeQ5NDGoNFzhuJTw7Vh7mI0oJyeVbqio,4022
|
|
101
101
|
sqlmesh/core/snapshot/categorizer.py,sha256=qGG5870mu1jR2whKisSBH_GFbsyh96RnzJDgkN7DV9g,2482
|
|
@@ -154,7 +154,7 @@ sqlmesh/integrations/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
|
154
154
|
sqlmesh/integrations/github/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
155
155
|
sqlmesh/integrations/github/cicd/command.py,sha256=a48qtSeRM7RD3IeydJwHLAZBHRbmFdA7uHh7Yhe5a74,11301
|
|
156
156
|
sqlmesh/integrations/github/cicd/config.py,sha256=qEy0mRfPYJw1pm68UK0v1_4kZBj5QodnpIsOZ8JjZro,1838
|
|
157
|
-
sqlmesh/integrations/github/cicd/controller.py,sha256=
|
|
157
|
+
sqlmesh/integrations/github/cicd/controller.py,sha256=pMe3vwrIzw6YznCEK_rsRqVFckCP-y4ObRXA_bwTOfA,41521
|
|
158
158
|
sqlmesh/lsp/api.py,sha256=LJdECSaEZoPbu_Xl4KscVG-WLt7_g4dY-zKGO68dH14,2162
|
|
159
159
|
sqlmesh/lsp/completions.py,sha256=Uo8lUzPBeoB58Eu2642YoAtNI0pgIFWFSvwmuJALTv4,3583
|
|
160
160
|
sqlmesh/lsp/context.py,sha256=Ff09vrsawdYS-7YcXbGZW_RU-tj_-k8WV7maCghpYp0,1438
|
|
@@ -268,7 +268,7 @@ sqlmesh/utils/pydantic.py,sha256=-u69PDY-4FLR7ODNKBoN7PsPNmZ0wdhsJcCAG2P6vyY,110
|
|
|
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.184.
|
|
271
|
+
sqlmesh-0.184.4.dev1.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=x9qfdHkVkXOwWRFRCZGaixiLj5e9tOQsCDRR92vW9QI,5472
|
|
274
274
|
web/client/dist/assets/Audits-cGDtiiKB.js,sha256=jrS4x1nQ8Klx67744_LjNI2oBOI9XnnygDR-0wmlme8,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.184.
|
|
390
|
-
sqlmesh-0.184.
|
|
391
|
-
sqlmesh-0.184.
|
|
392
|
-
sqlmesh-0.184.
|
|
393
|
-
sqlmesh-0.184.
|
|
389
|
+
sqlmesh-0.184.4.dev1.dist-info/METADATA,sha256=pZT7v6cKRwmWtepaKVDN_dnO8cytk1X1iM9obp5CtEg,25498
|
|
390
|
+
sqlmesh-0.184.4.dev1.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
|
391
|
+
sqlmesh-0.184.4.dev1.dist-info/entry_points.txt,sha256=pIYKtg-u-uO7BK_Y0qrdmfyj0bYrcMc3Xiqr5WE3VFk,121
|
|
392
|
+
sqlmesh-0.184.4.dev1.dist-info/top_level.txt,sha256=bspjo5vjELQkuN0qKuTFIbsrUt3Zeo8D2mlKeHG1LdE,12
|
|
393
|
+
sqlmesh-0.184.4.dev1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|