fabricks 3.0.6__py3-none-any.whl → 3.0.7__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.
@@ -16,7 +16,7 @@
16
16
  {% for output in outputs %} c.`{{ output }}`, {% endfor %}
17
17
  from __current c
18
18
  left anti join
19
- {{ parent_cdc }} s on s.__key == c.__key and s.__hash == c.__hash
19
+ {{ parent_cdc }} s on s.__key == c.__key
20
20
  {% if has_source %} and s.__source = c.__source {% endif %}
21
21
  {% endif %}
22
22
  ),
fabricks/context/utils.py CHANGED
@@ -4,7 +4,7 @@ import fabricks.context.config as c
4
4
  import fabricks.context.runtime as r
5
5
 
6
6
 
7
- def pprint_runtime():
7
+ def pprint_runtime(extended: bool = False) -> None:
8
8
  print("=" * 60)
9
9
  print("FABRICKS RUNTIME CONFIGURATION")
10
10
  print("=" * 60)
@@ -50,27 +50,31 @@ def pprint_runtime():
50
50
  print("\n🔐 SECURITY:")
51
51
  print(f" Secret Scope: {r.SECRET_SCOPE}")
52
52
 
53
- # Component Paths Section
54
- print("\n🛠️ COMPONENT PATHS:")
55
- components = [
56
- ("UDFs", r.PATH_UDFS),
57
- ("Parsers", r.PATH_PARSERS),
58
- ("Extenders", r.PATH_EXTENDERS),
59
- ("Views", r.PATH_VIEWS),
60
- ("Schedules", r.PATH_SCHEDULES),
61
- ]
53
+ print("\n🌐 ADDITIONAL SETTINGS:")
54
+ print(f" Timezone: {r.TIMEZONE}")
62
55
 
63
- for name, path in components:
64
- print(f" {name}: {path.string}")
56
+ if extended:
57
+ # Component Paths Section
58
+ print("\n🛠️ COMPONENT PATHS:")
59
+ components = [
60
+ ("UDFs", r.PATH_UDFS),
61
+ ("Parsers", r.PATH_PARSERS),
62
+ ("Extenders", r.PATH_EXTENDERS),
63
+ ("Views", r.PATH_VIEWS),
64
+ ("Schedules", r.PATH_SCHEDULES),
65
+ ]
65
66
 
66
- # Storage Paths Section
67
- print("\n📦 STORAGE PATHS:")
68
- for name, path in sorted(r.PATHS_STORAGE.items()):
69
- icon = "🏭" if name == "fabricks" else "📊"
70
- print(f" {icon} {name}: {path.string}")
67
+ for name, path in components:
68
+ print(f" {name}: {path.string}")
71
69
 
72
- # Runtime Paths Section
73
- if r.PATHS_RUNTIME:
74
- print("\n⚡ RUNTIME PATHS:")
75
- for name, path in sorted(r.PATHS_RUNTIME.items()):
76
- print(f" 📂 {name}: {path.string}")
70
+ # Storage Paths Section
71
+ print("\n📦 STORAGE PATHS:")
72
+ for name, path in sorted(r.PATHS_STORAGE.items()):
73
+ icon = "🏭" if name == "fabricks" else "📊"
74
+ print(f" {icon} {name}: {path.string}")
75
+
76
+ # Runtime Paths Section
77
+ if r.PATHS_RUNTIME:
78
+ print("\n⚡ RUNTIME PATHS:")
79
+ for name, path in sorted(r.PATHS_RUNTIME.items()):
80
+ print(f" 📂 {name}: {path.string}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fabricks
3
- Version: 3.0.6
3
+ Version: 3.0.7
4
4
  Author-email: BMS DWH Team <bi_support@bmsuisse.ch>
5
5
  Requires-Python: <4,>=3.9
6
6
  Requires-Dist: azure-data-tables<13,>=12.5.0
@@ -66,14 +66,14 @@ fabricks/cdc/templates/queries/final.sql.jinja,sha256=vxH434CO5k8Ia7tugaH8LC1co7
66
66
  fabricks/cdc/templates/queries/scd1.sql.jinja,sha256=siHULgKE3uRBGQYZFUR_eHNqFuGgO9xUCRVV2jnAXAI,3019
67
67
  fabricks/cdc/templates/queries/scd2.sql.jinja,sha256=Nn0wUs9N-_QviZqUKRWAFdD17RR3EFBTMs9BpBu6z7E,3877
68
68
  fabricks/cdc/templates/queries/nocdc/complete.sql.jinja,sha256=cVKKCSbiuuw1K7BOzfusX6KvzQNHU3YNUgoXgsu-c6k,267
69
- fabricks/cdc/templates/queries/nocdc/update.sql.jinja,sha256=aqrumQp07lX5l2Bi9gmFSyu7cYO6rv8oPw2E2wJSUtM,1324
69
+ fabricks/cdc/templates/queries/nocdc/update.sql.jinja,sha256=SDJFo7rWiU58DqzOG-Pl76Dto82PIHWDdKlX62M1j58,1299
70
70
  fabricks/context/__init__.py,sha256=qfntJ9O6omzY_t6AhDP6Ndu9C5LMiVdWbo6ikhtoe7o,1446
71
71
  fabricks/context/_types.py,sha256=FzQJ35vp0uc6pAq18bc-VHwMVEWtd0VDdm8xQmNr2Sg,2681
72
72
  fabricks/context/log.py,sha256=CadrRf8iL6iXlGIGIhEIswa7wGqC-E-oLwWcGTyJ10s,2074
73
73
  fabricks/context/runtime.py,sha256=7pXU_5gPyvChwiyxP4ch59eAgyoNOH9jMUlGWxwXWn8,3915
74
74
  fabricks/context/secret.py,sha256=LEx7MXSFm29wvsBffNSIQ6p73wqqmFj2jmU2y64h-Fc,3191
75
75
  fabricks/context/spark_session.py,sha256=BPaxKJXHZDI5oQiOPhmua_xjXnrVgluh--AVpvUgbck,2553
76
- fabricks/context/utils.py,sha256=Wq-soZ2iSAPly0DulNNuOniguOzAnf2-o2tBkPTSazE,2573
76
+ fabricks/context/utils.py,sha256=EQRscdUhdjwk2htZu8gCgNZ9PfRzzrR6e1kRrIbVlBM,2786
77
77
  fabricks/context/config/__init__.py,sha256=pFEsGXBQkX5_FP0cwQMX427j6dQuTx81NR9snMxc8cU,3127
78
78
  fabricks/context/config/utils.py,sha256=7KCTUiSbqQnDD5mbCO9_o1KbUgD-Xbei_UGgpMQi9nE,1371
79
79
  fabricks/core/__init__.py,sha256=LaqDi4xuyHAoLOvS44PQdZdRfq9SmVr7mB6BDHyxYpc,209
@@ -170,6 +170,6 @@ fabricks/utils/schema/get_schema_for_type.py,sha256=5k-R6zCgUAtapQgxT4turcx1IQ-b
170
170
  fabricks/utils/write/__init__.py,sha256=i0UnZenXj9Aq0b0_aU3s6882vg-Vu_AyKfQhl_dTp-g,200
171
171
  fabricks/utils/write/delta.py,sha256=lTQ0CfUhcvn3xTCcT_Ns6PMDBsO5UEfa2S9XpJiLJ9c,1250
172
172
  fabricks/utils/write/stream.py,sha256=wQBpAnQtYA6nl79sPKhVM6u5m-66suX7B6VQ6tW4TOs,622
173
- fabricks-3.0.6.dist-info/METADATA,sha256=6Rmztba-M06QYN9QXzCHSsvDjyLQIIHtgItpeWtb4zY,761
174
- fabricks-3.0.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
175
- fabricks-3.0.6.dist-info/RECORD,,
173
+ fabricks-3.0.7.dist-info/METADATA,sha256=mxCXO3itBIJ1MORFhE0uEBoXIlEmEN5bsvGS53_8Gfk,761
174
+ fabricks-3.0.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
175
+ fabricks-3.0.7.dist-info/RECORD,,