Skip to content

Commit

Permalink
Merge branch 'main' into make-dependabot-less-aggressive
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare authored Jul 24, 2024
2 parents c6215b7 + b088e51 commit e578a25
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
{%- do default_row.update({column_name: (safe_cast("null", column_type) | trim )}) -%}
{%- endfor -%}

{{ validate_fixture_rows(rows, row_number) }}

{%- for row in rows -%}
{%- set formatted_row = format_row(row, column_name_to_data_types) -%}
Expand Down Expand Up @@ -93,3 +94,11 @@ union all
{%- endfor -%}
{{ return(formatted_row) }}
{%- endmacro -%}

{%- macro validate_fixture_rows(rows, row_number) -%}
{{ return(adapter.dispatch('validate_fixture_rows', 'dbt')(rows, row_number)) }}
{%- endmacro -%}

{%- macro default__validate_fixture_rows(rows, row_number) -%}
{# This is an abstract method for adapter overrides as needed #}
{%- endmacro -%}

0 comments on commit e578a25

Please sign in to comment.