You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeding of big seed-files fail in dbt 0.21.0-rc1 on Snowflake.
Steps To Reproduce
Running dbt seed -s s_seedfile --full-refresh --no-version-check with dbt 0.21.0-rc1 on top of Snowflake using a s_seedfile larger than 16384 rows.
Expected behavior
The command results in an error. The database error message says that the maximum number of expressions in a list is exceeded. The seed command on this file also takes ~2x the time compared to dbt 0.20.1.
Screenshots and log output
Database Error in seed s_seedfile (data/xx/s_seedfile.csv)
001795 (42601): SQL compilation error: error line 1 at position 98
maximum number of expressions in a list exceeded, expected at most 16,384, got 74,646
System information
Which database are you using dbt with?
postgres
redshift
bigquery
snowflake
other (specify: ____________)
The output of dbt --version:
installed version: 0.21.0-rc1
latest version: 0.20.2
Your version of dbt is ahead of the latest release!
Plugins:
- postgres: 0.21.0rc1
- redshift: 0.21.0rc1
- bigquery: 0.21.0rc1
- snowflake: 0.21.0rc1
The operating system you're using:
Debian GNU/Linux 10 (buster) on Windows 10 x86_64 The output of python --version:
Python 3.8.2
Additional context
Double checked running same command on same file same setup with dbt 0.20.1 without issue.
The text was updated successfully, but these errors were encountered:
We got our wires crossed between #3510 and #3623. The former reimplemented load_csv_rows on Snowflake, to wrap the insert DML in include explicit begin + commit statements. The latter subtly reworked the way that batch_size is defined, from being hard-coded in the macro to an independently called + dispatched macro.
Describe the bug
Seeding of big seed-files fail in dbt 0.21.0-rc1 on Snowflake.
Steps To Reproduce
dbt seed -s s_seedfile --full-refresh --no-version-check
with dbt 0.21.0-rc1 on top of Snowflake using a s_seedfile larger than 16384 rows.Expected behavior
The command results in an error. The database error message says that the maximum number of expressions in a list is exceeded. The seed command on this file also takes ~2x the time compared to dbt 0.20.1.
Screenshots and log output
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
Debian GNU/Linux 10 (buster) on Windows 10 x86_64
The output of
python --version
:Additional context
Double checked running same command on same file same setup with dbt 0.20.1 without issue.
The text was updated successfully, but these errors were encountered: