-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[source-chargebee] Replace IncrementalSingleSliceCursor with semi-incremental DatetimeBasedCursor #53220
base: master
Are you sure you want to change the base?
[source-chargebee] Replace IncrementalSingleSliceCursor with semi-incremental DatetimeBasedCursor #53220
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
/format-fix
|
@brianjlai @natikgadzhi @DanyloGL Please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes overall look good, but see my comment about using the latest version of the CDK.
Once @topefolorunso makes the change to use the latest source-declarative-manifest
version, @DanyloGL please review this and run regression tests on @topefolorunso 's PR?
f we get a passing regression test and passing CI checks then we are all set to merge this in.
…ttps://github.com/airbytehq/airbyte into tope/chargebee/migrate-custom-component-to-manifest
…pe/chargebee/migrate-custom-component-to-manifest
@DanyloGL All good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is green and with @brianjlai's comments I am happy with this.
@DanyloGL grab this for a regression test and ship this if things are clean!
@natikgadzhi regressions shows that target version retrieves less data. |
@DanyloGL thanks for kicking of the regression test run. This is certainly interesting, but also potentially unrelated. Looking at the 3 streams affected
@DanyloGL let's see if you find a more targeted run, but if we see minimal or no mismatches on |
@brianjlai there are only few cloud connections that use needed streams:
Also created connection on cloud with dev version using our sandbox:
|
@brianjlai I'm running regression without read command with state. Let's see results and decide if we can merge these changes |
@DanyloGL thanks for the very detailed testing. love that you tried replicating this for the questionable feel free to just start the progressive rollout. I think this is ready to go |
What
Replace custom
IncrementalSingleSliceCursor
component with low-code semi-incrementalDatetimeBasedCursor
closes https://github.com/airbytehq/airbyte-internal-issues/issues/11512How
The feature specifically to replace is to use the is_client_side_incremental option which enables semi-incremental syncing and replaces the need for a custom component.
Review guide
manifest.yaml
components.py
test_components.py
User Impact
Can this PR be safely reverted and rolled back?
Acceptance Criteria
source-chargebee
is running on the latest version of CDK v6 (>=6.33.0
)gift_stream
stream does not use theIncrementalSingleSliceCursor
unbilled_charge_stream
stream does not use theIncrementalSingleSliceCursor
site_migration_detail_stream
stream do not use theIncrementalSingleSliceCursor
gift_stream
,unbilled_charge_stream
,site_migration_detail_stream
supports syncing incrementally when given a state messageIncrementalSingleSliceCursor
is deleted fromcomponents.py
/unit_tests
pass.