-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
DV2: Only run T+D if we have zero records or the previous sync left behind un-T+D-ed records #33232
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Before Merging a Connector Pull RequestWow! What a great pull request you have here! 🎉 To merge this PR, ensure the following has been done/considered for each connector added or updated:
If the checklist is complete, but the CI check is failing,
|
...dk/core/src/main/java/io/airbyte/cdk/integrations/destination_async/AsyncStreamConsumer.java
Outdated
Show resolved
Hide resolved
3be7146
to
5ef4c56
Compare
...dk/core/src/main/java/io/airbyte/cdk/integrations/destination_async/AsyncStreamConsumer.java
Outdated
Show resolved
Hide resolved
# Conflicts: # airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingDestination.java # airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlOperations.java
can't repro the test failure locally 🤔 so, uh, idk |
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.
lgtm pending logistics
agh I need to publish the cdk here >.> will literally never remember to do this |
... which also means I can't merge this until #33369 is merged 😢 |
#33369 is merged |
# Conflicts: # airbyte-cdk/java/airbyte-cdk/core/src/main/resources/version.properties
/publish-java-cdk
|
…ehind un-T+D-ed records (airbytehq#33232) Co-authored-by: edgao <edgao@users.noreply.github.com>
…ehind un-T+D-ed records (airbytehq#33232) Co-authored-by: edgao <edgao@users.noreply.github.com>
Seeking early review: lmk if this interface makes sense. Bigquery+snowflake both implemented.
Non-draft to trigger CI.
Rough description:
recordCounts
map to the OnCloseFunction interfaces, which tracks how many records were processed during this sync per stream.Executors.newFixedThreadPool(5)
thing is copied from this FlushWorkers constructor, to avoid duplicate constructor coderecordCounts
into the appropriate TyperDeduper methodfailing ci is unrelated, investigation ongoing