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 CDK: Extract generation ID from catalog #38127

Merged
merged 2 commits into from
May 13, 2024
Merged

Conversation

edgao
Copy link
Contributor

@edgao edgao commented May 10, 2024

CatalogParser extracts the generation IDs + sync ID from the catalog, and sets them on the StreamConfig

It defaults to generation_id = minimum_generation_id = 0; sync_id = 0 if the catalog has these values set to null.

We'll want to throw an exception later on, since that's our platform compatibility check (#38067). But for now, it's nicer to get some code onto master. 0 is a totally reasonable default, and lets us release the new columns into the wild even without platform support.

Copy link

vercel bot commented May 10, 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 May 13, 2024 4:25pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label May 10, 2024
Copy link
Contributor Author

edgao commented May 10, 2024

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

Join @edgao and the rest of your teammates on Graphite Graphite

@gisripa gisripa force-pushed the cdk_generation_id branch from 0ded7a7 to 23a237f Compare May 13, 2024 15:42
@edgao edgao marked this pull request as ready for review May 13, 2024 16:21
@edgao edgao requested a review from a team as a code owner May 13, 2024 16:21
@edgao edgao requested a review from a team as a code owner May 13, 2024 16:24
@edgao
Copy link
Contributor Author

edgao commented May 13, 2024

/publish-java-cdk

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

@edgao edgao merged commit c03d1d6 into master May 13, 2024
29 checks passed
@edgao edgao deleted the cdk_generation_id branch May 13, 2024 16:59
@edgao edgao mentioned this pull request May 15, 2024
2 tasks
@gisripa gisripa mentioned this pull request May 16, 2024
2 tasks
@edgao edgao mentioned this pull request May 17, 2024
2 tasks
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.

3 participants