Skip to content

cdk-java move the generationId handling to its own class #43329

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

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

stephane-airbyte
Copy link
Contributor

@stephane-airbyte stephane-airbyte commented Aug 6, 2024

This pull request introduces a new interface, JdbcGenerationHandler, to handle the retrieval of the _airbyte_generation_id for any row in a table. The getGenerationIdInTable method has been moved from SqlOperations to this new interface. The necessary changes have been made across various classes to integrate this new interface properly.

Copy link

vercel bot commented Aug 6, 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 7, 2024 9:26pm

Copy link
Contributor Author

stephane-airbyte commented Aug 6, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @stephane-airbyte and the rest of your teammates on Graphite Graphite

@stephane-airbyte stephane-airbyte force-pushed the java-cdk-move-destination-handling branch from 0c66ea3 to f8d50ac Compare August 6, 2024 16:54
@stephane-airbyte stephane-airbyte force-pushed the java-cdk-move-destination-handling branch from f8d50ac to b6a3899 Compare August 6, 2024 17:15
@octavia-squidington-iii octavia-squidington-iii removed the area/connectors Connector related issues label Aug 6, 2024
@stephane-airbyte stephane-airbyte force-pushed the java-cdk-move-destination-handling branch from b6a3899 to 565305b Compare August 6, 2024 20:43
@stephane-airbyte stephane-airbyte marked this pull request as ready for review August 7, 2024 16:52
@stephane-airbyte stephane-airbyte requested review from a team as code owners August 7, 2024 16:52
@stephane-airbyte stephane-airbyte requested review from edgao, gisripa and johnny-schmidt and removed request for a team August 7, 2024 16:52
Copy link
Contributor

@edgao edgao left a comment

Choose a reason for hiding this comment

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

had a comment about structure, otherwise LGTM


import io.airbyte.cdk.db.jdbc.JdbcDatabase

interface JdbcGenerationHandler {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this method should live in DestinationHandler, since we'll need it for all destinations (i.e. not just JDBC)

@stephane-airbyte stephane-airbyte force-pushed the java-cdk-move-destination-handling branch from 565305b to ed95db5 Compare August 7, 2024 18:36
@stephane-airbyte stephane-airbyte force-pushed the java-cdk-move-destination-handling branch from ed95db5 to c3916f1 Compare August 7, 2024 21:26
Copy link
Contributor Author

stephane-airbyte commented Aug 7, 2024

Merge activity

@stephane-airbyte stephane-airbyte merged commit 52130f5 into master Aug 7, 2024
29 checks passed
@stephane-airbyte stephane-airbyte deleted the java-cdk-move-destination-handling branch August 7, 2024 21:50
LouisAuneau pushed a commit to LouisAuneau/airbyte that referenced this pull request Aug 13, 2024
…3329)

This pull request introduces a new interface, `JdbcGenerationHandler`, to handle the retrieval of the `_airbyte_generation_id` for any row in a table. The `getGenerationIdInTable` method has been moved from `SqlOperations` to this new interface. The necessary changes have been made across various classes to integrate this new interface properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants