-
Notifications
You must be signed in to change notification settings - Fork 20
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
Update nullable columns to NULL is not reported correctly #14
Comments
Can you provide a PR with a reproducable failing unit test?
As a starting point you can have a look at the existing unit tests.
Oli180369 <[email protected]> schrieb am Do., 4. März 2021, 09:02:
… If a nullable column is updated with NULL the new value is not reported as
NULL, much more the old value is reported as the new value.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#14>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC7XPEKHXDOVKNTPVFOS4ATTB45A7ANCNFSM4YSX47QQ>
.
|
Seems that we have an issue with the logminer itself |
We checked the tables on which the logminer-kafka-connect component is working. These tables were filled correctly. There has to be an issue with the component. We try to improve the test |
It seems that we have a problem within the ConnectSchemaFactrory at line 99 where the after struct is enriched by before values for absent keys. At this point the component can not distinguish an absence from an NULL-Update because the Hashmap will return NULL in both cases. So the after struct is always enriched by the before struct for columns which are updated to NULL. |
@Oli180369 Thanks for this patch! A tricky bug.. ;) I'll prepare a new release just now. |
If a nullable column is updated with NULL the new value is not reported as NULL, much more the old value is reported as the new value.
The text was updated successfully, but these errors were encountered: