Skip to content

Commit

Permalink
Update macros/upload_results.sql
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Rimmer <100997264+jared-rimmer@users.noreply.github.com>
  • Loading branch information
samw430 and jared-rimmer authored May 31, 2023
1 parent 988b776 commit 0ea6b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/upload_results.sql
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
{% do log("Uploading sources", true) %}
{% set sources = dbt_artifacts.get_relation('sources') %}
{% set sources_set = [] %}
{% for node in graph.nodes.values() | selectattr("resource_type", "equalto", "source") %}
{% for node in graph.sources.values() %}
{% do sources_set.append(node) %}
{% endfor %}
{# upload sources in chunks of 5000 sources (300 for BigQuery), or less #}
Expand Down

0 comments on commit 0ea6b37

Please sign in to comment.