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 8a643de commit 9cfaae5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
)
%}
{% set relation_name = testgen.get_relation_name(relation_name) %}
{{ print(relation_name) }}
{% set relation = testgen.get_relation(relation_name) %}
{{ 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 @@ -73,7 +75,7 @@
{{ return(dbt_config) }}
{% endif %}

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

{% set count_distinct_exprs = [] %}
{% for column in columns %}
Expand Down

0 comments on commit 9cfaae5

Please sign in to comment.