sqlmesh 0.209.1.dev24__py3-none-any.whl → 0.209.1.dev26__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/snapshot/evaluator.py +16 -5
- {sqlmesh-0.209.1.dev24.dist-info → sqlmesh-0.209.1.dev26.dist-info}/METADATA +2 -2
- {sqlmesh-0.209.1.dev24.dist-info → sqlmesh-0.209.1.dev26.dist-info}/RECORD +8 -8
- {sqlmesh-0.209.1.dev24.dist-info → sqlmesh-0.209.1.dev26.dist-info}/WHEEL +0 -0
- {sqlmesh-0.209.1.dev24.dist-info → sqlmesh-0.209.1.dev26.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.209.1.dev24.dist-info → sqlmesh-0.209.1.dev26.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.209.1.dev24.dist-info → sqlmesh-0.209.1.dev26.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.209.1.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 209, 1, '
|
|
20
|
+
__version__ = version = '0.209.1.dev26'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 209, 1, 'dev26')
|
|
@@ -1073,11 +1073,22 @@ class SnapshotEvaluator:
|
|
|
1073
1073
|
|
|
1074
1074
|
evaluation_strategy = _evaluation_strategy(snapshot, adapter)
|
|
1075
1075
|
for is_table_deployable, table_name in table_names:
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1076
|
+
try:
|
|
1077
|
+
evaluation_strategy.delete(
|
|
1078
|
+
table_name,
|
|
1079
|
+
is_table_deployable=is_table_deployable,
|
|
1080
|
+
physical_schema=snapshot.physical_schema,
|
|
1081
|
+
)
|
|
1082
|
+
except Exception:
|
|
1083
|
+
# Use `get_data_object` to check if the table exists instead of `table_exists` since the former
|
|
1084
|
+
# is based on `INFORMATION_SCHEMA` and avoids touching the table directly.
|
|
1085
|
+
# This is important when the table name is malformed for some reason and running any statement
|
|
1086
|
+
# that touches the table would result in an error.
|
|
1087
|
+
if adapter.get_data_object(table_name) is not None:
|
|
1088
|
+
raise
|
|
1089
|
+
logger.warning(
|
|
1090
|
+
"Skipping cleanup of table '%s' because it does not exist", table_name
|
|
1091
|
+
)
|
|
1081
1092
|
|
|
1082
1093
|
if on_complete is not None:
|
|
1083
1094
|
on_complete(table_name)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlmesh
|
|
3
|
-
Version: 0.209.1.
|
|
3
|
+
Version: 0.209.1.dev26
|
|
4
4
|
Summary: Next-generation data transformation framework
|
|
5
5
|
Author-email: "TobikoData Inc." <engineering@tobikodata.com>
|
|
6
6
|
License: Apache License
|
|
@@ -234,7 +234,7 @@ Requires-Dist: python-dotenv
|
|
|
234
234
|
Requires-Dist: requests
|
|
235
235
|
Requires-Dist: rich[jupyter]
|
|
236
236
|
Requires-Dist: ruamel.yaml
|
|
237
|
-
Requires-Dist: sqlglot[rs]~=27.
|
|
237
|
+
Requires-Dist: sqlglot[rs]~=27.7.0
|
|
238
238
|
Requires-Dist: tenacity
|
|
239
239
|
Requires-Dist: time-machine
|
|
240
240
|
Requires-Dist: json-stream
|
|
@@ -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=02mrw9uUgVmWvhhrFVsM3al2eQppA5p9oZyOaW7mstA,530
|
|
3
3
|
sqlmesh/magics.py,sha256=bEzYqXHcM0P3CjyUZ1O9arlmXAdLAhoglKbQ29fD9AE,41842
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -104,7 +104,7 @@ sqlmesh/core/snapshot/__init__.py,sha256=Z5HTetNCZGoKF1WAKXk4LWL9dc8EC8lwS2O4Tto
|
|
|
104
104
|
sqlmesh/core/snapshot/cache.py,sha256=bgqCR2hyf6r2A_8QP1EnXFK25gDX37-Zg0YeMuETWxg,3934
|
|
105
105
|
sqlmesh/core/snapshot/categorizer.py,sha256=qGG5870mu1jR2whKisSBH_GFbsyh96RnzJDgkN7DV9g,2482
|
|
106
106
|
sqlmesh/core/snapshot/definition.py,sha256=RRlpahl5hfzcR34X8L6_xLR5X5e3ihPwWZKkS7wg2gE,90433
|
|
107
|
-
sqlmesh/core/snapshot/evaluator.py,sha256=
|
|
107
|
+
sqlmesh/core/snapshot/evaluator.py,sha256=3v_qBMbwYHiSFCxa0Wkt_LVJQbElleS_CFSL4ZhwJ30,92708
|
|
108
108
|
sqlmesh/core/state_sync/__init__.py,sha256=B60xj-_Xk-4jas3UphLvwkuf04G-9AyGckcblXE0aRg,869
|
|
109
109
|
sqlmesh/core/state_sync/base.py,sha256=AdqWmbhnvRFqVcFK6L01uCvpBVAYGuMrm4P0D3u_NaU,18334
|
|
110
110
|
sqlmesh/core/state_sync/cache.py,sha256=0AsYdQyBqbLdJvkBQ-hDAipsvnn_jSps-nya-Q4XeL0,5337
|
|
@@ -291,7 +291,7 @@ sqlmesh/utils/pydantic.py,sha256=o_NsXbIpDqNpUA1Uc5xF0ZzoXQYYB0DfHwdRxBwXPNk,120
|
|
|
291
291
|
sqlmesh/utils/rich.py,sha256=cwQ5nJ6sgz64xHtoh6_ec7ReV5YpsOGhMtUJnwoRfEI,3549
|
|
292
292
|
sqlmesh/utils/windows.py,sha256=r7Yin4WEwbvH7sKA3hOJtRsclmscNuBeCklCfVPvtQs,611
|
|
293
293
|
sqlmesh/utils/yaml.py,sha256=hvo5lmybYLcIx4p6CQwufS8X4MbwS60lEBnCmYJCXmU,2336
|
|
294
|
-
sqlmesh-0.209.1.
|
|
294
|
+
sqlmesh-0.209.1.dev26.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
|
|
295
295
|
sqlmesh_dbt/__init__.py,sha256=awYS5y5mz-1NUmx6i5h5NSTJ7tidRl9NC0FAnFWSF6U,350
|
|
296
296
|
sqlmesh_dbt/cli.py,sha256=Ekn77WLMmyyr31aoDoWrZp5DS0rfiddy7pNohBK8G0s,2115
|
|
297
297
|
sqlmesh_dbt/console.py,sha256=1B0B5_R1DlrEkyWVDl8G78-B6_K-ZtLPsQEhqPCfLEU,188
|
|
@@ -413,8 +413,8 @@ web/server/api/endpoints/models.py,sha256=kwj0s7uve3iZSMfmjkoPVMFMeY1sD0peTeyrWf
|
|
|
413
413
|
web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
|
|
414
414
|
web/server/api/endpoints/plan.py,sha256=bbbY50W_2MsZSTxOHWMKz0tbIm75nsRSlPy8GI2fg9Q,9306
|
|
415
415
|
web/server/api/endpoints/table_diff.py,sha256=SCy3-pr5x6bEEiOaZGCDbiHQhpgxwmnz3Acqa2Ie6jI,2090
|
|
416
|
-
sqlmesh-0.209.1.
|
|
417
|
-
sqlmesh-0.209.1.
|
|
418
|
-
sqlmesh-0.209.1.
|
|
419
|
-
sqlmesh-0.209.1.
|
|
420
|
-
sqlmesh-0.209.1.
|
|
416
|
+
sqlmesh-0.209.1.dev26.dist-info/METADATA,sha256=XA4UJshDYhGlNePNbDTS69SW_tSpFvfBBsOQRfsdmPY,26686
|
|
417
|
+
sqlmesh-0.209.1.dev26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
418
|
+
sqlmesh-0.209.1.dev26.dist-info/entry_points.txt,sha256=sHAf6tQczIM8xZoduN4qaUjV7QEPVUUW_LCT8EDUMv4,155
|
|
419
|
+
sqlmesh-0.209.1.dev26.dist-info/top_level.txt,sha256=RQ-33FPe2IgL0rgossAfJkCRtqslz9b7wFARqiWLC5Q,24
|
|
420
|
+
sqlmesh-0.209.1.dev26.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|