-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
fix column selection handling for syncs without cursors #21647
Conversation
Airbyte Code Coverage
|
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.
I'll leave the approval to @pmossman, but the logic in CatalogConverter.java
looks good, now I see where the bug was!
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.
Logic checks out to me, and appreciate the test refactoring!
What
Fix the column selection handling for syncs without cursors.
The way we handle syncs when column selection is enabled assumes that there will be a cursor field present, and all of our test cases supply it.
How
Correctly stop relying on a cursor being configured.
Testing
Added unit test coverage, also deployed to dev-3 and verified that it worked there.