|
31 | 31 | ('unique_key', 'string'), |
32 | 32 | ('incremental_strategy', 'string'), |
33 | 33 | ('group_name', 'string'), |
| 34 | + ('access', 'string'), |
34 | 35 | ] %} |
35 | 36 | {% if target.type == "bigquery" or elementary.get_config_var("include_other_warehouse_specific_columns") %} |
36 | 37 | {% do columns.extend([('bigquery_partition_by', 'string'), ('bigquery_cluster_by', 'string')]) %} |
|
63 | 64 | {% set meta_tags = elementary.safe_get_with_default(meta_dict, 'tags', []) %} |
64 | 65 | {% set tags = elementary.union_lists(config_tags, global_tags) %} |
65 | 66 | {% set tags = elementary.union_lists(tags, meta_tags) %} |
66 | | - |
| 67 | + |
67 | 68 | {% set flatten_model_metadata_dict = { |
68 | 69 | 'unique_id': node_dict.get('unique_id'), |
69 | 70 | 'alias': node_dict.get('alias'), |
|
88 | 89 | 'bigquery_partition_by': config_dict.get("partition_by"), |
89 | 90 | 'bigquery_cluster_by': config_dict.get("cluster_by"), |
90 | 91 | 'group_name': config_dict.get("group") or node_dict.get("group"), |
| 92 | + 'access': config_dict.get("access") or node_dict.get("access"), |
91 | 93 | } %} |
92 | 94 | {% do flatten_model_metadata_dict.update({"metadata_hash": elementary.get_artifact_metadata_hash(flatten_model_metadata_dict)}) %} |
93 | 95 | {{ return(flatten_model_metadata_dict) }} |
|
0 commit comments