Skip to content

Commit

Permalink
fixed model alias issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kgmcquate committed Feb 28, 2024
1 parent 967d750 commit 14af486
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
)
%}
{% set relation_name = testgen.get_relation_name(relation_name) %}
{{ print(relation_name) }}
{# {{ print(relation_name) }} #}
{% set relation = testgen.get_relation(relation_name) %}
{{ print(relation) }}
{# {{ print(relation) }} #}
{% set columns = adapter.get_columns_in_relation(relation) %}
{% set columns = testgen.exclude_column_types(columns, exclude_types) %}
{% set columns = testgen.exclude_column_names(columns, exclude_cols) %}
Expand All @@ -75,7 +75,7 @@
{{ return(dbt_config) }}
{% endif %}

{{ print(columns) }}
{# {{ print(columns) }} #}

{% set count_distinct_exprs = [] %}
{% for column in columns %}
Expand Down Expand Up @@ -117,7 +117,7 @@
ORDER BY ORDERING ASC
{% endset %}

{{ print(count_distinct_sql) }}
{# {{ print(count_distinct_sql) }} #}

{% set cardinality_results = testgen.query_as_list(count_distinct_sql) %}

Expand Down

0 comments on commit 14af486

Please sign in to comment.