Skip to content

Commit

Permalink
Readd removed logic for deferral fail-over
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcohen6 committed Feb 19, 2024
1 parent 9d48e41 commit 118f0b3
Showing 1 changed file with 2 additions and 2 deletions.
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(load_relation(this) or defer_relation) -%}
{%- set column_name_to_data_types = {} -%}
{%- for column in columns_in_relation -%}
{#-- This needs to be a case-insensitive comparison --#}
Expand Down Expand Up @@ -44,7 +44,7 @@ union all
{% macro get_expected_sql(rows, column_name_to_data_types) %}

{%- if (rows | length) == 0 -%}
select * FROM dbt_internal_unit_test_actual
select * from dbt_internal_unit_test_actual
limit 0
{%- else -%}
{%- for row in rows -%}
Expand Down

0 comments on commit 118f0b3

Please sign in to comment.