Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dapollak committed Sep 15, 2024
1 parent 3e0159d commit 76aba47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/commands/dump_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{% endset %}
{% set results = elementary.run_query(query) %}
{% do results.to_csv(output_path.split(".")[:-1] | join(".") ~ "_" ~ item ~ "." ~ output_path.split(".")[-1]) %}
{% if (results | length) < 200000 %}
{% if (results | length) < batch_size %}
{% break %}
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 76aba47

Please sign in to comment.