sqlmesh 0.188.2.dev28__py3-none-any.whl → 0.188.2.dev30__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/context.py +6 -0
- sqlmesh/core/engine_adapter/duckdb.py +2 -9
- {sqlmesh-0.188.2.dev28.dist-info → sqlmesh-0.188.2.dev30.dist-info}/METADATA +2 -2
- {sqlmesh-0.188.2.dev28.dist-info → sqlmesh-0.188.2.dev30.dist-info}/RECORD +9 -9
- {sqlmesh-0.188.2.dev28.dist-info → sqlmesh-0.188.2.dev30.dist-info}/WHEEL +0 -0
- {sqlmesh-0.188.2.dev28.dist-info → sqlmesh-0.188.2.dev30.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.188.2.dev28.dist-info → sqlmesh-0.188.2.dev30.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.188.2.dev28.dist-info → sqlmesh-0.188.2.dev30.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.188.2.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 188, 2, '
|
|
20
|
+
__version__ = version = '0.188.2.dev30'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 188, 2, 'dev30')
|
sqlmesh/core/context.py
CHANGED
|
@@ -1677,6 +1677,12 @@ class GenericContext(BaseContext, t.Generic[C]):
|
|
|
1677
1677
|
The list of TableDiff objects containing schema and summary differences.
|
|
1678
1678
|
"""
|
|
1679
1679
|
|
|
1680
|
+
if "|" in source or "|" in target:
|
|
1681
|
+
raise ConfigError(
|
|
1682
|
+
"Cross-database table diffing is available in Tobiko Cloud. Read more here: "
|
|
1683
|
+
"https://sqlmesh.readthedocs.io/en/stable/guides/tablediff/#diffing-tables-or-views-across-gateways"
|
|
1684
|
+
)
|
|
1685
|
+
|
|
1680
1686
|
table_diffs: t.List[TableDiff] = []
|
|
1681
1687
|
|
|
1682
1688
|
# Diffs multiple or a single model across two environments
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import typing as t
|
|
4
|
-
from duckdb import __version__ as duckdb_version
|
|
5
4
|
from sqlglot import exp
|
|
6
5
|
|
|
7
6
|
from sqlmesh.core.engine_adapter.mixins import (
|
|
@@ -18,7 +17,6 @@ from sqlmesh.core.engine_adapter.shared import (
|
|
|
18
17
|
SourceQuery,
|
|
19
18
|
set_catalog,
|
|
20
19
|
)
|
|
21
|
-
from sqlmesh.utils import major_minor
|
|
22
20
|
from sqlmesh.core.schema_diff import SchemaDiffer
|
|
23
21
|
|
|
24
22
|
if t.TYPE_CHECKING:
|
|
@@ -35,13 +33,8 @@ class DuckDBEngineAdapter(LogicalMergeMixin, GetCurrentCatalogFromFunctionMixin,
|
|
|
35
33
|
exp.DataType.build("DECIMAL", dialect=DIALECT).this: [(18, 3), (0,)],
|
|
36
34
|
},
|
|
37
35
|
)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
COMMENT_CREATION_TABLE, COMMENT_CREATION_VIEW = (
|
|
41
|
-
(CommentCreationTable.UNSUPPORTED, CommentCreationView.UNSUPPORTED)
|
|
42
|
-
if major_minor(duckdb_version) < (0, 10)
|
|
43
|
-
else (CommentCreationTable.COMMENT_COMMAND_ONLY, CommentCreationView.COMMENT_COMMAND_ONLY)
|
|
44
|
-
)
|
|
36
|
+
COMMENT_CREATION_TABLE = CommentCreationTable.COMMENT_COMMAND_ONLY
|
|
37
|
+
COMMENT_CREATION_VIEW = CommentCreationView.COMMENT_COMMAND_ONLY
|
|
45
38
|
|
|
46
39
|
@property
|
|
47
40
|
def catalog_support(self) -> CatalogSupport:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlmesh
|
|
3
|
-
Version: 0.188.2.
|
|
3
|
+
Version: 0.188.2.dev30
|
|
4
4
|
Summary: Next-generation data transformation framework
|
|
5
5
|
Author-email: "TobikoData Inc." <engineering@tobikodata.com>
|
|
6
6
|
License: Apache License
|
|
@@ -221,7 +221,7 @@ License-File: LICENSE
|
|
|
221
221
|
Requires-Dist: astor
|
|
222
222
|
Requires-Dist: click
|
|
223
223
|
Requires-Dist: croniter
|
|
224
|
-
Requires-Dist: duckdb!=0.10.3
|
|
224
|
+
Requires-Dist: duckdb!=0.10.3,>=0.10.0
|
|
225
225
|
Requires-Dist: dateparser
|
|
226
226
|
Requires-Dist: hyperscript>=0.1.0
|
|
227
227
|
Requires-Dist: importlib-metadata; python_version < "3.12"
|
|
@@ -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=DU1AIAOe9GaxIAn4LmIG-6XbdsSxIRpDdIhvly6cfeg,530
|
|
3
3
|
sqlmesh/magics.py,sha256=fu7-OeT_0_TAkWZOLoiioE3-3iFpvTRxFCbQUlRnfuw,39944
|
|
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=e1f7xO2aZCy38M_3VoDy-XI3shyd99-IFctgIFSgXWM,497
|
|
14
14
|
sqlmesh/core/console.py,sha256=x7qWETjHgu8ZpMtfW8V3bGKByT4nZXDjgtO6xmvAb-I,151143
|
|
15
15
|
sqlmesh/core/constants.py,sha256=oqt6zjepUhQoWlgapKn_HpG7Pu9mrFwepdX5caNfJUI,2499
|
|
16
|
-
sqlmesh/core/context.py,sha256=
|
|
16
|
+
sqlmesh/core/context.py,sha256=ZZskVvTciGvJO6weRzGlrAyQsqRkSqsjCSY2rc_cFZ4,116729
|
|
17
17
|
sqlmesh/core/context_diff.py,sha256=I7luvY2za30E5ynVaFPaEQQEmNViJpWAmW48PGSyDCU,21135
|
|
18
18
|
sqlmesh/core/dialect.py,sha256=93cXYVuNoZ9CvJNTVn2Yz7WDOdHINwVXflbn0eZ-p14,49764
|
|
19
19
|
sqlmesh/core/environment.py,sha256=Fsih6WZ7Tx4ec0XIlmIIspUWcmijPNW5uHPRQSWuhA8,12315
|
|
@@ -64,7 +64,7 @@ sqlmesh/core/engine_adapter/base_postgres.py,sha256=DOsOdCJyQAVfA9S0GznuH0J1bonM
|
|
|
64
64
|
sqlmesh/core/engine_adapter/bigquery.py,sha256=lU2zUFuD11qVxrGXX82oUSLMkUZAs-1lWk1XdJFofXo,50234
|
|
65
65
|
sqlmesh/core/engine_adapter/clickhouse.py,sha256=LoPdm_s_s-ZxS1XJPA3Et0iOHeJ1LgqTAFbwBdiqE7A,34912
|
|
66
66
|
sqlmesh/core/engine_adapter/databricks.py,sha256=8ZExPIeT3dDh9MTJW8udvmh9LiY-f9HkRAN1Q5Qebhs,14541
|
|
67
|
-
sqlmesh/core/engine_adapter/duckdb.py,sha256=
|
|
67
|
+
sqlmesh/core/engine_adapter/duckdb.py,sha256=rFv27sF1KXhJcrIuM9Zdfl2cyZNRXEF9qQczgODdK0M,4614
|
|
68
68
|
sqlmesh/core/engine_adapter/mixins.py,sha256=HMB0Z9O3p5jaTZMolKiWKqpVDZokf5GoI99YXwEJ8bc,22470
|
|
69
69
|
sqlmesh/core/engine_adapter/mssql.py,sha256=nsBM9U6N6CmKCY8gr8PTNeQAMD8UeSM51uM9eCjlP3A,13880
|
|
70
70
|
sqlmesh/core/engine_adapter/mysql.py,sha256=lVC-siXZK3iSfqCmBjZNw8uy09Z8la8v8_oUZ-E2OwI,6966
|
|
@@ -270,7 +270,7 @@ sqlmesh/utils/pydantic.py,sha256=I898jAFqa3qU6lG2uPpRebVFncOUo8ZrLWM_R3K3DHU,116
|
|
|
270
270
|
sqlmesh/utils/rich.py,sha256=xNZyPCqEc4TAlJlsEthg-5eYUWpaizz0QjBzO7a1Yv4,1509
|
|
271
271
|
sqlmesh/utils/windows.py,sha256=r7Yin4WEwbvH7sKA3hOJtRsclmscNuBeCklCfVPvtQs,611
|
|
272
272
|
sqlmesh/utils/yaml.py,sha256=np-WVcwmwsKghCgAj1OBBMsK1SXSRn4wR-H37cGiFr8,2282
|
|
273
|
-
sqlmesh-0.188.2.
|
|
273
|
+
sqlmesh-0.188.2.dev30.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
|
|
274
274
|
web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
275
275
|
web/client/dist/index.html,sha256=LbR9XrOXE77otBPoDnaomssYz6h2TBwLANs6hUJ0p2M,5472
|
|
276
276
|
web/client/dist/assets/Audits-DB1HcP9M.js,sha256=eGI_Soj69Jntsixw1NqQpdwG94N5jipQZv7T1Y7WUSs,1041
|
|
@@ -388,8 +388,8 @@ web/server/api/endpoints/models.py,sha256=ud-lRwriyI_OYg9tZchrBgeiXELiRTLNEodraf
|
|
|
388
388
|
web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
|
|
389
389
|
web/server/api/endpoints/plan.py,sha256=OYuQ_4dgbhG9ibTcX1a8mvYgH3ANxw9Fhbb4wg6QWqc,9222
|
|
390
390
|
web/server/api/endpoints/table_diff.py,sha256=SCy3-pr5x6bEEiOaZGCDbiHQhpgxwmnz3Acqa2Ie6jI,2090
|
|
391
|
-
sqlmesh-0.188.2.
|
|
392
|
-
sqlmesh-0.188.2.
|
|
393
|
-
sqlmesh-0.188.2.
|
|
394
|
-
sqlmesh-0.188.2.
|
|
395
|
-
sqlmesh-0.188.2.
|
|
391
|
+
sqlmesh-0.188.2.dev30.dist-info/METADATA,sha256=I3prHMgrH2I8rGoRDnej5HvQgoGCxnCKSQGzluA0UBQ,26541
|
|
392
|
+
sqlmesh-0.188.2.dev30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
393
|
+
sqlmesh-0.188.2.dev30.dist-info/entry_points.txt,sha256=pIYKtg-u-uO7BK_Y0qrdmfyj0bYrcMc3Xiqr5WE3VFk,121
|
|
394
|
+
sqlmesh-0.188.2.dev30.dist-info/top_level.txt,sha256=bspjo5vjELQkuN0qKuTFIbsrUt3Zeo8D2mlKeHG1LdE,12
|
|
395
|
+
sqlmesh-0.188.2.dev30.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|