Skip to content

Commit

Permalink
test for row values.
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Jul 22, 2024
1 parent e3465c2 commit b2dcdc3
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_row(rows, 0) -%}

{%- 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_row(rows, row_number) -%}
{{ log(rows, info=True) }}
{%- if rows -%}
{%- endif -%}
{%- endmacro -%}

0 comments on commit b2dcdc3

Please sign in to comment.