Skip to content

Commit

Permalink
Fix #210 - Incorrect variable for calc_batch_size
Browse files Browse the repository at this point in the history
  • Loading branch information
rlshuhart authored Feb 25, 2022
1 parent 3d202ea commit 4542914
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

{% macro sqlserver__load_csv_rows(model, agate_table) %}
{% set max_batch_size = get_batch_size() %}
{% set cols_sql = get_seed_column_quoted_csv(model, agate_table.column_names) %}
{% set cols_sql = agate_table.column_names %}
{% set batch_size = calc_batch_size(cols_sql|length, max_batch_size) %}

{{ return(basic_load_csv_rows(model, batch_size, agate_table) )}}
Expand Down

0 comments on commit 4542914

Please sign in to comment.