cloe-nessy 0.3.13.6b0__py3-none-any.whl → 0.3.13.7b0__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.
@@ -42,3 +42,17 @@ ALTER TABLE {{ table.escaped_identifier }} ADD CONSTRAINT {{constraint.name}} CH
42
42
  {%- if table.comment %}
43
43
  COMMENT ON TABLE {{ table.escaped_identifier }} IS '{{ table.comment }}';
44
44
  {%- endif %}
45
+
46
+ {%- if table.business_properties %}
47
+ {%- for tag_key, tag_value in table.business_properties.items() %}
48
+ SET TAG ON TABLE {{ table.escaped_identifier }} {{ tag_key }}{% if tag_value %}='{{ tag_value }}'{% endif %};
49
+ {%- endfor %}
50
+ {%- endif %}
51
+
52
+ {%- for column in table.columns %}
53
+ {%- if column.business_properties %}
54
+ {%- for tag_key, tag_value in column.business_properties.items() %}
55
+ SET TAG ON COLUMN {{ table.escaped_identifier }}.{{ column.name }} {{ tag_key }}{% if tag_value %}='{{ tag_value }}'{% endif %};
56
+ {%- endfor %}
57
+ {%- endif %}
58
+ {%- endfor %}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloe-nessy
3
- Version: 0.3.13.6b0
3
+ Version: 0.3.13.7b0
4
4
  Summary: Your friendly datalake monster.
5
5
  Project-URL: homepage, https://initions.com/
6
6
  Author-email: initions <ICSMC_EXT_PYPIORG@accenture.com>
@@ -50,7 +50,7 @@ cloe_nessy/models/adapter/unity_catalog_adapter.py,sha256=a-14Ys-AevVYQd0xeJU1sy
50
50
  cloe_nessy/models/mixins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
51
  cloe_nessy/models/mixins/read_instance_mixin.py,sha256=j5Y4aNWOh1jlskEaxNooZFJgPyxRmik00gAVLJnAaRs,4507
52
52
  cloe_nessy/models/mixins/template_loader_mixin.py,sha256=5MXhEGBFlq3dwZvINEyBowSlipNnVun2H_TmhI_fsS4,549
53
- cloe_nessy/models/templates/create_table.sql.j2,sha256=z-NNUJ61wqMZyNaKGBsrj6gqogo6CtEaS1rWoa8hUbw,1877
53
+ cloe_nessy/models/templates/create_table.sql.j2,sha256=2KNa4CRAY6S8YAmS8uefwc9x-889Ae_TgRNn9xtMGqg,2429
54
54
  cloe_nessy/models/templates/create_volume.sql.j2,sha256=XIUf1cHcvAxcGTyhzUiv4xpQ1cfDw_ra3_FKmOuLoBs,289
55
55
  cloe_nessy/object_manager/__init__.py,sha256=3sle0vNpPwBOkycxA3XVS9m4XZf5LD3Qd4NGxdqcHno,186
56
56
  cloe_nessy/object_manager/table_manager.py,sha256=suHx56TYXagaJ2dVkvTP7vwSI4xgTqXNkHYBbYh2pd4,13913
@@ -95,6 +95,6 @@ cloe_nessy/settings/__init__.py,sha256=ZbkneO3WaKOxon7qHFHnou7EnBOSnBFyKMDZblIEv
95
95
  cloe_nessy/settings/settings.py,sha256=I4n129lrujriW-d8q4as2Kb4_kI932ModfZ5Ow_UpVM,3653
96
96
  cloe_nessy/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
97
  cloe_nessy/utils/file_and_directory_handler.py,sha256=r2EVt9xG81p6ScaJCwETC5an6pMT6WseB0jMOR-JlpU,602
98
- cloe_nessy-0.3.13.6b0.dist-info/METADATA,sha256=Dn1ZY7mxS1qLW4vJAcOF-aYA9crg-4W7iMPTitd2ogs,3328
99
- cloe_nessy-0.3.13.6b0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
100
- cloe_nessy-0.3.13.6b0.dist-info/RECORD,,
98
+ cloe_nessy-0.3.13.7b0.dist-info/METADATA,sha256=7KSpeLEZC_0uhqs_KNzRQkZLx9J0moYrlfpq-wBOuHw,3328
99
+ cloe_nessy-0.3.13.7b0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
100
+ cloe_nessy-0.3.13.7b0.dist-info/RECORD,,