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

Bulk load CDK: Fix longs in additionalProperties #48429

Merged
merged 4 commits into from
Nov 8, 2024
Merged

Conversation

edgao
Copy link
Contributor

@edgao edgao commented Nov 8, 2024

jackson defaults to parsing ints to Int, not Long. And the jvm doesn't know how to cast Int -> Long. This affects both the state message ID thing, and some file record fields.

I ran a basic test locally, and it didn't crash the same way we saw last night after this fix. (plus updated unit tests to detect this bug)

Copy link

vercel bot commented Nov 8, 2024

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Nov 8, 2024 8:31pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Nov 8, 2024
@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues area/documentation Improvements or additions to documentation labels Nov 8, 2024
@edgao edgao marked this pull request as ready for review November 8, 2024 18:05
@edgao edgao requested a review from a team as a code owner November 8, 2024 18:05
Copy link
Contributor

@tryangul tryangul left a comment

Choose a reason for hiding this comment

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

🚢

@edgao edgao requested a review from tryangul November 8, 2024 20:04
@edgao edgao merged commit 57f076f into master Nov 8, 2024
36 checks passed
@edgao edgao deleted the edgao/fix_dev_null branch November 8, 2024 21:02
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/dev-null
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants