Skip to content

Commit

Permalink
Use defer_relation for unit test type detection if available
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcohen6 committed Jan 31, 2024
1 parent 8f259f5 commit b1069a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% set default_row = {} %}

{%- if not column_name_to_data_types -%}
{%- set columns_in_relation = adapter.get_columns_in_relation(this) -%}
{%- set columns_in_relation = adapter.get_columns_in_relation(defer_relation or this) -%}
{%- set column_name_to_data_types = {} -%}
{%- for column in columns_in_relation -%}
{%- do column_name_to_data_types.update({column.name: column.dtype}) -%}
Expand Down

0 comments on commit b1069a5

Please sign in to comment.