Skip to content

Commit

Permalink
fix upload columns
Browse files Browse the repository at this point in the history
  • Loading branch information
NoyaArie committed Jan 7, 2025
1 parent 07209da commit 273a508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/edr/dbt_artifacts/upload_dbt_columns.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
{% for column_node in column_nodes.values() %}
{% set config_dict = elementary.safe_get_with_default(column_node, 'config', {}) %}
{% set config_meta_dict = elementary.safe_get_with_default(config_dict, 'meta') %}
{% set meta_dict = elementary.safe_get_with_default(column_node, 'meta') %}
{% set has_meta = config_meta_dict or meta_dict %}
{% set meta_dict = elementary.safe_get_with_default(column_node, 'meta', {}) %}
{% set has_meta = config_meta_dict or meta_dict | length > 0 %}

{% set config_tags = elementary.safe_get_with_default(config_dict, 'tags') %}
{% set global_tags = elementary.safe_get_with_default(column_node, 'tags') %}
Expand Down

0 comments on commit 273a508

Please sign in to comment.