-
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
allow nullable columns to be used as cursor #17131
Conversation
NOTE
|
/test connector=connectors/source-postgres
Build FailedTest summary info:
|
NOTE
|
NOTE
|
/test connector=connectors/source-postgres
Build PassedTest summary info:
|
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.
, maybe useful followup: should we throw an error if we detect a null in the cursor column?
NOTE
|
This reverts commit a3cf9af.
NOTE
|
/publish connector=connectors/source-postgres
if you have connectors that successfully published but failed definition generation, follow step 4 here |
NOTE
|
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.
Should there also be the removal of NOT NULL
in the setup for tests like in PostgresJdbcSourceAcceptanceTest as well as PostgresSourceTest based on the files changed in the #14356?
@ryankfu I think its fine. There is a dedicated test to make sure that nullable columns are allowed as cursor |
I don't see a test that verifies the behavior, which caused the OC issue: user has a view on top of a table where the cursor field is non-nullable in the source table. |
publishing strict-encrypt in #17147 |
* allow nullable columns to be used as cursor * add test * fix test * bump version * Revert "bump version" This reverts commit a3cf9af. * bump version * auto-bump connector version [ci skip] Co-authored-by: Octavia Squidington III <[email protected]>
* allow nullable columns to be used as cursor * add test * fix test * bump version * Revert "bump version" This reverts commit a3cf9af. * bump version * auto-bump connector version [ci skip] Co-authored-by: Octavia Squidington III <[email protected]>
Issue : https://github.com/airbytehq/oncall/issues/641