-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Destination Snowflake : fixed duplicate rows on retries #9141
Merged
VitaliiMaltsev
merged 26 commits into
master
from
vmaltsev/8832-destination-snowflake-duplicate-rows
Jan 10, 2022
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
93d53ac
fix for jdk 17
ede8d38
Merge branch 'master' of github.com:airbytehq/airbyte
27be3fe
Merge branch 'master' of github.com:airbytehq/airbyte
ca75033
Merge branch 'master' of github.com:airbytehq/airbyte
72ab46f
Merge branch 'master' of github.com:airbytehq/airbyte
aec3384
Merge branch 'master' of github.com:airbytehq/airbyte
7efd5aa
Merge branch 'master' of github.com:airbytehq/airbyte
6a773f9
Merge branch 'master' of github.com:airbytehq/airbyte
fa18537
Merge branch 'master' of github.com:airbytehq/airbyte
b0ba37b
Merge branch 'master' of github.com:airbytehq/airbyte
fa31a0d
Merge branch 'master' of github.com:airbytehq/airbyte
67e0bd6
Merge branch 'master' of github.com:airbytehq/airbyte
04353b3
Destination Snowflake: duplicate rows on retries
4c8dcef
added changelog
ec0d1bd
Merge branch 'master' of github.com:airbytehq/airbyte
3debdd9
fix checkstyle
23598ec
Merge branch 'master' of github.com:airbytehq/airbyte
382c884
Merge branch 'master' into vmaltsev/8832-destination-snowflake-duplic…
59d63e6
Merge branch 'master' of github.com:airbytehq/airbyte
5203709
replace concat with +
e2cb62c
Merge branch 'master' of github.com:airbytehq/airbyte
b5010a2
Merge branch 'master' into vmaltsev/8832-destination-snowflake-duplic…
632583a
Merge branch 'master' of github.com:airbytehq/airbyte
76b157f
Merge branch 'master' into vmaltsev/8832-destination-snowflake-duplic…
d53981e
replaced static fields and methods with non-static
b5d9c81
bump version
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When there are multiple "flush" on the same stream during the same sync (large streams), are all batches/files written to the same path / same object in the stage area?
the stage is like a folder? or is it like a file? (I guess it acts like a folder where we stage multiple files?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path is like a virtual folder. It is similar to S3:
https://docs.snowflake.com/en/user-guide/data-load-considerations-stage.html
We always use the temp filename as the file under the folder:
https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeStagingSqlOperations.java#L45