sqlmesh 0.188.1.dev3__py3-none-any.whl → 0.188.1.dev4__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/config/connection.py +12 -0
- {sqlmesh-0.188.1.dev3.dist-info → sqlmesh-0.188.1.dev4.dist-info}/METADATA +1 -1
- {sqlmesh-0.188.1.dev3.dist-info → sqlmesh-0.188.1.dev4.dist-info}/RECORD +8 -8
- {sqlmesh-0.188.1.dev3.dist-info → sqlmesh-0.188.1.dev4.dist-info}/WHEEL +0 -0
- {sqlmesh-0.188.1.dev3.dist-info → sqlmesh-0.188.1.dev4.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.188.1.dev3.dist-info → sqlmesh-0.188.1.dev4.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.188.1.dev3.dist-info → sqlmesh-0.188.1.dev4.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.1.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 188, 1, '
|
|
20
|
+
__version__ = version = '0.188.1.dev4'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 188, 1, 'dev4')
|
|
@@ -221,6 +221,10 @@ class DuckDBAttachOptions(BaseConfig):
|
|
|
221
221
|
path: str
|
|
222
222
|
read_only: bool = False
|
|
223
223
|
|
|
224
|
+
# DuckLake specific options
|
|
225
|
+
data_path: t.Optional[str] = None
|
|
226
|
+
encrypted: bool = False
|
|
227
|
+
|
|
224
228
|
def to_sql(self, alias: str) -> str:
|
|
225
229
|
options = []
|
|
226
230
|
# 'duckdb' is actually not a supported type, but we'd like to allow it for
|
|
@@ -229,6 +233,14 @@ class DuckDBAttachOptions(BaseConfig):
|
|
|
229
233
|
options.append(f"TYPE {self.type.upper()}")
|
|
230
234
|
if self.read_only:
|
|
231
235
|
options.append("READ_ONLY")
|
|
236
|
+
|
|
237
|
+
# DuckLake specific options
|
|
238
|
+
if self.type == "ducklake":
|
|
239
|
+
if self.data_path:
|
|
240
|
+
options.append(f"DATA_PATH '{self.data_path}'")
|
|
241
|
+
if self.encrypted:
|
|
242
|
+
options.append("ENCRYPTED")
|
|
243
|
+
|
|
232
244
|
options_sql = f" ({', '.join(options)})" if options else ""
|
|
233
245
|
alias_sql = ""
|
|
234
246
|
# TODO: Add support for Postgres schema. Currently adding it blocks access to the information_schema
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=69xw6bTmi4cW90M-sl3g6wLDgxVcLHcKg1q8GS3lqyA,7466
|
|
2
|
-
sqlmesh/_version.py,sha256=
|
|
2
|
+
sqlmesh/_version.py,sha256=AdR5SHqkegEe3ErpWBaZvpMG53LAjp5WpEQECuy1FgY,528
|
|
3
3
|
sqlmesh/magics.py,sha256=JHorAZNtezf123jmTyNSoUC9yHmv-08hMP205PJmmIo,39750
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -41,7 +41,7 @@ sqlmesh/core/config/__init__.py,sha256=b4gFb04tpeZpowqJD-7h3U3TLgxrpQhZahVEAo6VW
|
|
|
41
41
|
sqlmesh/core/config/base.py,sha256=t8NQmsgQoZSc-k0dlDiCb8t1jj0AMYdGZ-6se9q_Pks,4898
|
|
42
42
|
sqlmesh/core/config/categorizer.py,sha256=6vzUoNLjR6GOEb_2mYVz2TwmMv2BfldgHX2u-Le5HZs,1975
|
|
43
43
|
sqlmesh/core/config/common.py,sha256=-o_HoRFtR4u84frg_TLno7z7vS9II6ASiOayb59MKHo,2806
|
|
44
|
-
sqlmesh/core/config/connection.py,sha256=
|
|
44
|
+
sqlmesh/core/config/connection.py,sha256=azallQ3EbHAhsXVVpXnE13E_bU_zbI9ubMnnTsE3ZwE,76302
|
|
45
45
|
sqlmesh/core/config/feature_flag.py,sha256=JRcD31OG_t2cYc24meKbHDGB0iVID0P07V2oOeB_mgA,203
|
|
46
46
|
sqlmesh/core/config/format.py,sha256=6CXFbvnor56xbldKE-Vrm9k_ABRoY4v6vgIb3mCihiQ,1355
|
|
47
47
|
sqlmesh/core/config/gateway.py,sha256=tYngyqwd_4Qr9lhcv2hlvLvb_2pgYYtKu6hdGsTr-4I,1931
|
|
@@ -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.1.
|
|
273
|
+
sqlmesh-0.188.1.dev4.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=Q21mZoousg66LOW4HLrz-148ej1b80OxDZNUqB4uZR8,5472
|
|
276
276
|
web/client/dist/assets/Audits-CxDNe6z-.js,sha256=fWqj6aR188vCiP9eX0VJ7x0sJ1C85UVeY9oLzKDjVlM,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=Wd5YxeKbZB7AkrDvqFgvV9ZQlnKYOF1n5W_w2EHE_Zw,2085
|
|
391
|
-
sqlmesh-0.188.1.
|
|
392
|
-
sqlmesh-0.188.1.
|
|
393
|
-
sqlmesh-0.188.1.
|
|
394
|
-
sqlmesh-0.188.1.
|
|
395
|
-
sqlmesh-0.188.1.
|
|
391
|
+
sqlmesh-0.188.1.dev4.dist-info/METADATA,sha256=Z4GJceh9Kx4dH0rpNLhDO-ErEnzz1BXsO62OlZxE5sA,26531
|
|
392
|
+
sqlmesh-0.188.1.dev4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
393
|
+
sqlmesh-0.188.1.dev4.dist-info/entry_points.txt,sha256=pIYKtg-u-uO7BK_Y0qrdmfyj0bYrcMc3Xiqr5WE3VFk,121
|
|
394
|
+
sqlmesh-0.188.1.dev4.dist-info/top_level.txt,sha256=bspjo5vjELQkuN0qKuTFIbsrUt3Zeo8D2mlKeHG1LdE,12
|
|
395
|
+
sqlmesh-0.188.1.dev4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|