sqlmesh 0.196.5.dev3__py3-none-any.whl → 0.196.5.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/snapshot/definition.py +12 -5
- {sqlmesh-0.196.5.dev3.dist-info → sqlmesh-0.196.5.dev4.dist-info}/METADATA +1 -1
- {sqlmesh-0.196.5.dev3.dist-info → sqlmesh-0.196.5.dev4.dist-info}/RECORD +8 -8
- {sqlmesh-0.196.5.dev3.dist-info → sqlmesh-0.196.5.dev4.dist-info}/WHEEL +0 -0
- {sqlmesh-0.196.5.dev3.dist-info → sqlmesh-0.196.5.dev4.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.196.5.dev3.dist-info → sqlmesh-0.196.5.dev4.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.196.5.dev3.dist-info → sqlmesh-0.196.5.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.196.5.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 196, 5, '
|
|
20
|
+
__version__ = version = '0.196.5.dev4'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 196, 5, 'dev4')
|
|
@@ -15,6 +15,7 @@ from sqlglot.optimizer.normalize_identifiers import normalize_identifiers
|
|
|
15
15
|
|
|
16
16
|
from sqlmesh.core import constants as c
|
|
17
17
|
from sqlmesh.core.audit import StandaloneAudit
|
|
18
|
+
from sqlmesh.core.environment import EnvironmentSuffixTarget
|
|
18
19
|
from sqlmesh.core.macros import call_macro
|
|
19
20
|
from sqlmesh.core.model import Model, ModelKindMixin, ModelKindName, ViewKind, CustomKind
|
|
20
21
|
from sqlmesh.core.model.definition import _Model
|
|
@@ -1589,12 +1590,18 @@ def display_name(
|
|
|
1589
1590
|
if snapshot_info_like.is_audit:
|
|
1590
1591
|
return snapshot_info_like.name
|
|
1591
1592
|
view_name = exp.to_table(snapshot_info_like.name)
|
|
1593
|
+
|
|
1594
|
+
catalog = (
|
|
1595
|
+
None
|
|
1596
|
+
if (
|
|
1597
|
+
environment_naming_info.suffix_target != EnvironmentSuffixTarget.CATALOG
|
|
1598
|
+
and view_name.catalog == default_catalog
|
|
1599
|
+
)
|
|
1600
|
+
else view_name.catalog
|
|
1601
|
+
)
|
|
1602
|
+
|
|
1592
1603
|
qvn = QualifiedViewName(
|
|
1593
|
-
catalog=
|
|
1594
|
-
view_name.catalog
|
|
1595
|
-
if view_name.catalog and view_name.catalog != default_catalog
|
|
1596
|
-
else None
|
|
1597
|
-
),
|
|
1604
|
+
catalog=catalog,
|
|
1598
1605
|
schema_name=view_name.db or None,
|
|
1599
1606
|
table=view_name.name,
|
|
1600
1607
|
)
|
|
@@ -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=B0QvOX5gDwifqStTmdCGXcOTtLK_MXUNjTp0BA6_U70,528
|
|
3
3
|
sqlmesh/magics.py,sha256=nMfwSW5rIkdnyO9MXYm9u24hNl6dqgAWybC-MnRcNnE,41451
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -102,7 +102,7 @@ sqlmesh/core/plan/stages.py,sha256=5cvEbrQsw_cx1gayxwLRwkIehQPixrbUT9B4BbEOj3A,2
|
|
|
102
102
|
sqlmesh/core/snapshot/__init__.py,sha256=Z5HTetNCZGoKF1WAKXk4LWL9dc8EC8lwS2O4TtoBmt4,1317
|
|
103
103
|
sqlmesh/core/snapshot/cache.py,sha256=bgqCR2hyf6r2A_8QP1EnXFK25gDX37-Zg0YeMuETWxg,3934
|
|
104
104
|
sqlmesh/core/snapshot/categorizer.py,sha256=qGG5870mu1jR2whKisSBH_GFbsyh96RnzJDgkN7DV9g,2482
|
|
105
|
-
sqlmesh/core/snapshot/definition.py,sha256=
|
|
105
|
+
sqlmesh/core/snapshot/definition.py,sha256=ZhtPUSoix-nQ0CSTI0H-qPQFY2axBipEZJoPMW63AeE,84519
|
|
106
106
|
sqlmesh/core/snapshot/evaluator.py,sha256=RA-ZFwG_BtkXSmls41gHRaCqa-h-evxXsDLE5jtgxvU,90173
|
|
107
107
|
sqlmesh/core/state_sync/__init__.py,sha256=B60xj-_Xk-4jas3UphLvwkuf04G-9AyGckcblXE0aRg,869
|
|
108
108
|
sqlmesh/core/state_sync/base.py,sha256=Drq4MDWWxO_J-sJIxsMG1-YSgj2L42n5WM2vh1sr6bc,18334
|
|
@@ -283,7 +283,7 @@ sqlmesh/utils/pydantic.py,sha256=I898jAFqa3qU6lG2uPpRebVFncOUo8ZrLWM_R3K3DHU,116
|
|
|
283
283
|
sqlmesh/utils/rich.py,sha256=BpB47G0-JcU41LkGkeGKroexj4NOV5fox4-GOIXPgIc,3545
|
|
284
284
|
sqlmesh/utils/windows.py,sha256=r7Yin4WEwbvH7sKA3hOJtRsclmscNuBeCklCfVPvtQs,611
|
|
285
285
|
sqlmesh/utils/yaml.py,sha256=hvo5lmybYLcIx4p6CQwufS8X4MbwS60lEBnCmYJCXmU,2336
|
|
286
|
-
sqlmesh-0.196.5.
|
|
286
|
+
sqlmesh-0.196.5.dev4.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
|
|
287
287
|
web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
288
288
|
web/client/dist/index.html,sha256=kNpFjWxt34Pf-P-cROtPWi3GNSVk6zqA3eoN9tlZXI0,5472
|
|
289
289
|
web/client/dist/assets/Audits-DKgXravk.js,sha256=SaVQhNlislD_yQc_KivO7SPi1JH0ts1GnDPD5Zssutw,1041
|
|
@@ -401,8 +401,8 @@ web/server/api/endpoints/models.py,sha256=ud-lRwriyI_OYg9tZchrBgeiXELiRTLNEodraf
|
|
|
401
401
|
web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
|
|
402
402
|
web/server/api/endpoints/plan.py,sha256=OYuQ_4dgbhG9ibTcX1a8mvYgH3ANxw9Fhbb4wg6QWqc,9222
|
|
403
403
|
web/server/api/endpoints/table_diff.py,sha256=SCy3-pr5x6bEEiOaZGCDbiHQhpgxwmnz3Acqa2Ie6jI,2090
|
|
404
|
-
sqlmesh-0.196.5.
|
|
405
|
-
sqlmesh-0.196.5.
|
|
406
|
-
sqlmesh-0.196.5.
|
|
407
|
-
sqlmesh-0.196.5.
|
|
408
|
-
sqlmesh-0.196.5.
|
|
404
|
+
sqlmesh-0.196.5.dev4.dist-info/METADATA,sha256=phhTgBGfBBkC-T8TS9N-AMh4QDPIo7Kv0MjrVaIT4xk,26541
|
|
405
|
+
sqlmesh-0.196.5.dev4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
406
|
+
sqlmesh-0.196.5.dev4.dist-info/entry_points.txt,sha256=pIYKtg-u-uO7BK_Y0qrdmfyj0bYrcMc3Xiqr5WE3VFk,121
|
|
407
|
+
sqlmesh-0.196.5.dev4.dist-info/top_level.txt,sha256=bspjo5vjELQkuN0qKuTFIbsrUt3Zeo8D2mlKeHG1LdE,12
|
|
408
|
+
sqlmesh-0.196.5.dev4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|