-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single option not working properly with Snowflake #436
Comments
I could not reproduce using this config: source: local
target: snowflake
defaults:
mode: full-refresh
single: true
streams:
file://sling/tests/files/test1*.csv:
object: public.test111 Looking at your log, the issue is the duplicate PUT call:
The first PUT call deletes the local temp file right away, so the second call errors. I wonder if it has to do with the fact that you're adding new columns... |
Yes the adding of new columns is the problem here. Log Output OK
Log Output NOK
Updating sling to Log Output v1.3.1
|
Issue Description
Description of the issue:
Loading multiple CSVs (Local to Snowflake) from a directory using
single: true
always produces an error because it tries to upload the same temporary file multiple times, while also deleting it.Sling version (
sling --version
): 1.2.20Operating System (
linux
,mac
,windows
): linuxReplication Configuration:
-d
):The text was updated successfully, but these errors were encountered: