-
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
🐛 Snowflake Destination: use better file size with S3 staging files #9920
Conversation
…6517-snowflake � Conflicts: � airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopier.java
/test connector=connectors/destination-snowflake
|
/test connector=connectors/destination-snowflake
|
...ava/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumer.java
Outdated
Show resolved
Hide resolved
...ava/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumer.java
Outdated
Show resolved
Hide resolved
...ava/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumer.java
Outdated
Show resolved
Hide resolved
/test connector=connectors/destination-snowflake
|
/test connector=connectors/destination-snowflake
|
/test connector=connectors/destination-snowflake
|
fyi a lot of connectors (including destination-snowflake) can't publish because we have broken tests right now. Working on a fix, will comment here when it's done |
ok, destination-snowflake should |
…6517-snowflake � Conflicts: � airbyte-config/init/src/main/resources/config/STANDARD_DESTINATION_DEFINITION/424892c4-daac-4491-b35d-c6688ba547ba.json � airbyte-config/init/src/main/resources/config/STANDARD_DESTINATION_DEFINITION/f7a7d195-377f-cf5b-70a5-be6b819019dc.json � airbyte-config/init/src/main/resources/seed/destination_definitions.yaml � airbyte-config/init/src/main/resources/seed/destination_specs.yaml � airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumer.java � airbyte-integrations/connectors/destination-snowflake/Dockerfile � docs/integrations/destinations/redshift.md � docs/integrations/destinations/snowflake.md
/test connector=connectors/destination-snowflake
|
/test connector=connectors/destination-redshift
|
/test connector=connectors/destination-redshift
|
/test connector=connectors/destination-snowflake
|
/publish connector=connectors/destination-redshift
|
/publish connector=connectors/destination-snowflake
|
What
Snowflake Destination: use better file size with S3 staging files
How
Decreased the file size for snowflake S3 staging. Also added methods for closing already completed staging writers to the BufferedStreamConsumer. This will allow you not to keep unnecessary connections with staging open and save memory. The sizes of files that will be created on staging are from 120 to 140 MB - it depends on the weight of the records.
Recommended reading order
x.java
🚨 User Impact 🚨
No impact
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 hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changes