sqlmesh 0.225.1.dev11__py3-none-any.whl → 0.225.1.dev12__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/dbt/target.py +9 -4
- {sqlmesh-0.225.1.dev11.dist-info → sqlmesh-0.225.1.dev12.dist-info}/METADATA +1 -1
- {sqlmesh-0.225.1.dev11.dist-info → sqlmesh-0.225.1.dev12.dist-info}/RECORD +8 -8
- {sqlmesh-0.225.1.dev11.dist-info → sqlmesh-0.225.1.dev12.dist-info}/WHEEL +0 -0
- {sqlmesh-0.225.1.dev11.dist-info → sqlmesh-0.225.1.dev12.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.225.1.dev11.dist-info → sqlmesh-0.225.1.dev12.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.225.1.dev11.dist-info → sqlmesh-0.225.1.dev12.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.225.1.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 225, 1, '
|
|
31
|
+
__version__ = version = '0.225.1.dev12'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 225, 1, 'dev12')
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
sqlmesh/dbt/target.py
CHANGED
|
@@ -601,12 +601,17 @@ class BigQueryConfig(TargetConfig):
|
|
|
601
601
|
if not isinstance(data, dict):
|
|
602
602
|
return data
|
|
603
603
|
|
|
604
|
-
|
|
605
|
-
|
|
604
|
+
# dbt treats schema and dataset interchangeably
|
|
605
|
+
schema = data.get("schema") or data.get("dataset")
|
|
606
|
+
if not schema:
|
|
606
607
|
raise ConfigError("Either schema or dataset must be set")
|
|
607
|
-
data["
|
|
608
|
-
|
|
608
|
+
data["dataset"] = data["schema"] = schema
|
|
609
|
+
|
|
610
|
+
# dbt treats database and project interchangeably
|
|
611
|
+
database = data.get("database") or data.get("project")
|
|
612
|
+
if not database:
|
|
609
613
|
raise ConfigError("Either database or project must be set")
|
|
614
|
+
data["database"] = data["project"] = database
|
|
610
615
|
|
|
611
616
|
return data
|
|
612
617
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=v_spqQEhcnGaahp1yPvMqUIa6mhH3cs3Bc1CznxvCEA,7965
|
|
2
|
-
sqlmesh/_version.py,sha256=
|
|
2
|
+
sqlmesh/_version.py,sha256=zwNgfYqRh_Zuxk_sEwom3VxOsLhrf2L2Nm1aRoAI5VM,723
|
|
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
|
|
@@ -143,7 +143,7 @@ sqlmesh/dbt/project.py,sha256=Dxf9JakvvQofhcRa2bSi5tFCU4eHMlyRt_Dd7vwOWQM,4712
|
|
|
143
143
|
sqlmesh/dbt/relation.py,sha256=8QhnW_mQ6bjhKNZwTI1p9SLdMBCcAxvHfo0Qs97Mw6w,228
|
|
144
144
|
sqlmesh/dbt/seed.py,sha256=4X2SDKNaJv4r91S2kpwgJKhOL6GoEpb8d0gRchrCKo0,4494
|
|
145
145
|
sqlmesh/dbt/source.py,sha256=TyXPH7YwuWhj6AXrPPqs1oWJ84C9BundoLzm3qxwAKY,4508
|
|
146
|
-
sqlmesh/dbt/target.py,sha256=
|
|
146
|
+
sqlmesh/dbt/target.py,sha256=0qtAExh1foZwvBJ7SmThR1uuazVW1RSpSwq8dw0fHYo,42284
|
|
147
147
|
sqlmesh/dbt/test.py,sha256=NzhoafbUaLS9hs6DqIYJKBl0YaUGJ2qNY2jGulz53t0,9446
|
|
148
148
|
sqlmesh/dbt/util.py,sha256=M-f5fJcdRMCkYnPR-UqnD-KciLe4uSw0U5OxzU8Lg28,906
|
|
149
149
|
sqlmesh/engines/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -238,7 +238,7 @@ sqlmesh/utils/pydantic.py,sha256=o_NsXbIpDqNpUA1Uc5xF0ZzoXQYYB0DfHwdRxBwXPNk,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.225.1.
|
|
241
|
+
sqlmesh-0.225.1.dev12.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=eAeOZtHOikSDEZNI6hnZYJ-pja6ijFldRV4PeSzwYwU,5744
|
|
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.225.1.
|
|
367
|
-
sqlmesh-0.225.1.
|
|
368
|
-
sqlmesh-0.225.1.
|
|
369
|
-
sqlmesh-0.225.1.
|
|
370
|
-
sqlmesh-0.225.1.
|
|
366
|
+
sqlmesh-0.225.1.dev12.dist-info/METADATA,sha256=6abeJwlljLXQZ9bI01kI3gLzQjhWSYyYpxYvsHjKxsM,26686
|
|
367
|
+
sqlmesh-0.225.1.dev12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
368
|
+
sqlmesh-0.225.1.dev12.dist-info/entry_points.txt,sha256=sHAf6tQczIM8xZoduN4qaUjV7QEPVUUW_LCT8EDUMv4,155
|
|
369
|
+
sqlmesh-0.225.1.dev12.dist-info/top_level.txt,sha256=RQ-33FPe2IgL0rgossAfJkCRtqslz9b7wFARqiWLC5Q,24
|
|
370
|
+
sqlmesh-0.225.1.dev12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|