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: Refreshes: CDK updates #38067

Draft
wants to merge 1 commit into
base: edgao/bigquery_more_cdk_bump
Choose a base branch
from

Conversation

edgao
Copy link
Contributor

@edgao edgao commented May 8, 2024

closes https://github.com/airbytehq/airbyte-internal-issues/issues/7606

These are the changes that break platform compatibility. We shouldn't release this until platform is ready for it, and we can turn on the supportsRefreshes metadata in destinations.

Copy link

vercel bot commented May 8, 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 23, 2024 8:43pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label May 8, 2024
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch 3 times, most recently from 9f8ae69 to 50c1e4b Compare May 8, 2024 18:40
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 50c1e4b to e857ce6 Compare May 8, 2024 21:13
Copy link
Contributor Author

edgao commented May 8, 2024

DestinationSyncMode.APPEND_DEDUP,
primaryKey,
Optional.of(cursor),
COLUMNS
COLUMNS,
0,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe we should use nonzero generation id, so that tests are slightly more stringent?

DestinationSyncMode.OVERWRITE,
mock(),
mock(),
mock()
mock(),
0,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

for a later stacked PR: I think we need to add generation-related logic into DefaultTyperDeduper? so we'll want more test cases in this class...

@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from e857ce6 to 982948e Compare May 8, 2024 21:21
import java.util.*
import kotlin.collections.LinkedHashMap

data class StreamConfig(
val id: StreamId,
val syncMode: SyncMode,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the source sync mode, which we should never look at. Delete it.

@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch 6 times, most recently from 6839b3f to d361d45 Compare May 8, 2024 22:00
@edgao edgao requested a review from gisripa May 8, 2024 23:00
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch 3 times, most recently from a3bb96c to eca8010 Compare May 10, 2024 17:10
@edgao edgao changed the base branch from master to edgao/catalog_parser_improvements May 10, 2024 17:10
@edgao edgao force-pushed the edgao/catalog_parser_improvements branch from 7aff2a5 to 2047aec Compare May 10, 2024 17:18
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from eca8010 to 7058132 Compare May 10, 2024 17:18
@edgao edgao force-pushed the edgao/catalog_parser_improvements branch from 2047aec to 2f4b6ac Compare May 10, 2024 17:33
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 7058132 to 1306644 Compare May 10, 2024 17:33
@gisripa gisripa mentioned this pull request May 10, 2024
2 tasks
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 29b9eb8 to 50418fc Compare May 20, 2024 16:33
@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from 6f4584b to 9613270 Compare May 20, 2024 18:46
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 50418fc to 96c05b1 Compare May 20, 2024 18:47
@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from 9613270 to a906976 Compare May 20, 2024 20:24
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 96c05b1 to 8660758 Compare May 20, 2024 20:24
@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from a906976 to 02bb59f Compare May 21, 2024 22:02
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 8660758 to 0ba6c7b Compare May 21, 2024 22:02
stream.syncId = 0
// TODO set platform version
throw ConfigErrorException(
"You must upgrade your platform version to use this connector version. Either downgrade your connector or upgrade platform to X.Y.Z"
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: put an actual version?

@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from 02bb59f to 45e05ef Compare May 22, 2024 15:46
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 0ba6c7b to 3b692fc Compare May 22, 2024 15:46
@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from 45e05ef to d8c7059 Compare May 22, 2024 15:54
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 3b692fc to 066e07c Compare May 22, 2024 15:54
@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from d8c7059 to 6a53eca Compare May 22, 2024 16:11
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 066e07c to 79e5222 Compare May 22, 2024 16:11
@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from 6a53eca to 78a6637 Compare May 22, 2024 17:17
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 79e5222 to 8136e82 Compare May 22, 2024 17:17
@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from 78a6637 to 6a9a958 Compare May 22, 2024 17:50
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 8136e82 to 25730e1 Compare May 22, 2024 17:50
@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from 6a9a958 to 6388cd2 Compare May 22, 2024 20:36
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 25730e1 to 1767d43 Compare May 22, 2024 20:37
@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from 6388cd2 to 0da8739 Compare May 23, 2024 14:51
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 1767d43 to 80eff9f Compare May 23, 2024 14:51
@edgao edgao force-pushed the edgao/async_tracking_stream_statuses branch from 0da8739 to e03f5fa Compare May 23, 2024 20:43
@edgao edgao force-pushed the destinations_refreshes_cdk_changes branch from 80eff9f to e2e12d8 Compare May 23, 2024 20:43
@edgao edgao changed the base branch from edgao/async_tracking_stream_statuses to edgao/bigquery_more_cdk_bump May 23, 2024 20:43
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.

None yet

3 participants