-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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: start using new S3StreamCopier, and expose the purgeStagingData option #9531
🎉 Destination-snowflake: start using new S3StreamCopier, and expose the purgeStagingData option #9531
Conversation
…ose the purgeStagingData option
…-stream-copier # Conflicts: # airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationTest.java
.../src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyS3Destination.java
Outdated
Show resolved
Hide resolved
.../main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierFactory.java
Outdated
Show resolved
Hide resolved
/test connector=connectors/destination-snowflake
|
...ake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopier.java
Outdated
Show resolved
Hide resolved
.../src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyS3Destination.java
Outdated
Show resolved
Hide resolved
.../src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyS3Destination.java
Outdated
Show resolved
Hide resolved
...src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierTest.java
Outdated
Show resolved
Hide resolved
@@ -22,7 +22,7 @@ | |||
Put the contents of the `Snowflake Integration Test Config` secret on Rippling under the `Engineering` folder into `secrets/config.json` to be able to run integration tests locally. | |||
|
|||
1. Put the contents of the `destination snowflake - insert test creds` LastPass secret into `secrets/insert_config.json`. | |||
1. Put the contents of the `destination snowflake - insert staging test creds` secret into `insert_staging_config.json`. | |||
1. Put the contents of the `destination snowflake - insert staging test creds` secret into `internal_staging_config.json`. |
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.
Should this be secrets/internal_staging_config
?
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.
Have no idea :) I just aligned documentation to what we actually have in codebase and secret manager
/test connector=connectors/destination-snowflake
|
/test connector=connectors/destination-redshift
|
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.
nice!
/test connector=connectors/destination-snowflake
|
/test connector=connectors/destination-redshift
|
/publish connector=connectors/destination-snowflake
|
What
Currently, Snowflake uses Deprecated own s3 writer
How
Updated connector to use central s3 writer in the same way like we already have for Redshift connector
Selected "dev" image with changes to use:
![Selection_399](https://user-images.githubusercontent.com/4688354/150190873-60d70d11-6b4d-4950-a649-eab71d3a3d82.png)
2 streams selected to migrate from test Postgres source to Snoflake:
![Selection_397](https://user-images.githubusercontent.com/4688354/150190469-1549949b-d847-4a38-b168-84efaab71bda.png)
![Selection_396](https://user-images.githubusercontent.com/4688354/150190484-ca9453a4-f8e8-44b1-9563-442841de2001.png)
Tested on UI locally
Result on Snowflake:
![Selection_398](https://user-images.githubusercontent.com/4688354/150190507-9e11675f-f649-49de-85cb-883f5c27a3eb.png)
🚨 User Impact 🚨
PurgeStagingData option is added
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described here