Skip to content

Commit

Permalink
Remove raw_code from all_results column in models (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-rimmer authored Jun 2, 2023
1 parent f0617cf commit 24aa4da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions macros/upload_models.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
{{ adapter.dispatch('parse_json', 'dbt_artifacts')(adapter.dispatch('column_identifier', 'dbt_artifacts')(15)) }}
from values
{% for model in models -%}
{% do model.pop('raw_code', None) %}
(
'{{ invocation_id }}', {# command_invocation_id #}
'{{ model.unique_id }}', {# node_id #}
Expand Down Expand Up @@ -54,6 +55,7 @@
{% if models != [] %}
{% set model_values %}
{% for model in models -%}
{% do model.pop('raw_code', None) %}
(
'{{ invocation_id }}', {# command_invocation_id #}
'{{ model.unique_id }}', {# node_id #}
Expand Down

0 comments on commit 24aa4da

Please sign in to comment.