Skip to content
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

Destinations: handle collisions between destination states #36768

Merged
merged 7 commits into from
Apr 8, 2024

Conversation

edgao
Copy link
Contributor

@edgao edgao commented Apr 2, 2024

@gisripa this should solve the dest-postgres dup state key thing, though... probably not worth merging until after the cdk stabilizes

also wraps destination-state-related code in try-catch, since we treat state as a best-effort thing.

@edgao edgao requested a review from a team as a code owner April 2, 2024 21:34
Copy link

vercel bot commented Apr 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Apr 8, 2024 5:34pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Apr 2, 2024
@gisripa
Copy link
Contributor

gisripa commented Apr 2, 2024

Sweet. I'll put it in the queue after this #36620

@edgao
Copy link
Contributor Author

edgao commented Apr 3, 2024

lmk if you want me to wrap all the state stuff in try-catch return emptyMap(), I didn't add that to this pr but it's probably an easy change

} else {
OffsetDateTime.MIN
}
}.associate {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat!

@edgao edgao force-pushed the edgao/destination_state_collision_handling branch from 479720c to 6e15a4e Compare April 5, 2024 20:50
@edgao edgao requested a review from a team as a code owner April 8, 2024 17:02
@edgao
Copy link
Contributor Author

edgao commented Apr 8, 2024

/publish-java-cdk

🕑 https://github.com/airbytehq/airbyte/actions/runs/8603939953
✅ Successfully published Java CDK version=0.29.7!

@edgao edgao enabled auto-merge (squash) April 8, 2024 17:32
@edgao edgao merged commit a9238d9 into master Apr 8, 2024
29 checks passed
@edgao edgao deleted the edgao/destination_state_collision_handling branch April 8, 2024 17:57
markcusack pushed a commit to markcusack/airbyte that referenced this pull request Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation CDK Connector Development Kit connectors/destination/postgres connectors/destination/postgres-strict-encrypt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants