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

extract-jdbc: add and adopt JdbcSharedState and JdbcStreamState #44455

Conversation

postamar
Copy link
Contributor

@postamar postamar commented Aug 20, 2024

Replaces #44403

This PR contains very little if no functional changes.

This PR introduces a JdbcSharedState Micronaut singleton and its friend JdbcStreamState which eventually will replace StreamReadContext in a downstream PR. The fetchSize and row byte size estimators now depend on this shared state singleton.

This PR also replaces StreamStateJsonValue with an otherwise equivalent DefaultJdbcStreamStateValue class.

Some tests are moved around a bit. Notably, there now exist tests in extract-jdbc.

Informs airbytehq/airbyte-internal-issues#9093

Copy link

vercel bot commented Aug 20, 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 Aug 20, 2024 8:56pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Aug 20, 2024
@postamar postamar marked this pull request as ready for review August 20, 2024 15:36
@postamar postamar requested a review from a team as a August 20, 2024 15:36
@postamar postamar force-pushed the postamar_gt_08-20-bulk-cdk-core-extract_replace_airbytestreamdecorator_with_airbytestreamfactory branch from a9194ab to c393d61 Compare August 20, 2024 15:44
@postamar postamar force-pushed the postamar_gt_08-20-extract-jdbc_add_and_adopt_jdbcsharedstate_and_jdbcstreamstate branch from 67b6878 to 5e5abaf Compare August 20, 2024 15:44
@postamar postamar force-pushed the postamar_gt_08-20-bulk-cdk-core-extract_replace_airbytestreamdecorator_with_airbytestreamfactory branch from c393d61 to 2d31ee8 Compare August 20, 2024 18:47
@postamar postamar force-pushed the postamar_gt_08-20-extract-jdbc_add_and_adopt_jdbcsharedstate_and_jdbcstreamstate branch from 5e5abaf to 0c9eaec Compare August 20, 2024 18:47
@postamar postamar force-pushed the postamar_gt_08-20-bulk-cdk-core-extract_replace_airbytestreamdecorator_with_airbytestreamfactory branch from 2d31ee8 to 371f7fa Compare August 20, 2024 20:56
@postamar postamar force-pushed the postamar_gt_08-20-extract-jdbc_add_and_adopt_jdbcsharedstate_and_jdbcstreamstate branch from 0c9eaec to 596a7b5 Compare August 20, 2024 20:56
@postamar
Copy link
Contributor Author

Closing because I'm merging the top of the stack #44482 into master using slash-approve-and-merge.

@postamar postamar closed this Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants