-
Notifications
You must be signed in to change notification settings - Fork 45
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
DBZ-7554 AvroConverter fails to parse events #122
Conversation
Welcome as a new contributor to Debezium, @schampilomatis. Reviewers, please add missing author name(s) and alias name(s) to the COPYRIGHT.txt and Aliases.txt respectively. |
Sharing an example schema produced for
We see here that all of value for k, t, i are of type [null, "cell_value"], with "cell_value" being a named schema of "string". By setting the name of the schemas to something unique (column name) we avoid this. This is a partial revert of commit: |
Adjust schema names for cells to be unique. Avro uses these names to identify sub schema declarations and will not redefine a sub schema that was already detected. In this case, if we have cells with multiple types, debezium will fail to serialize the event, since the stored avro schema does not match the cells.
17c12a3
to
b88f5b5
Compare
Hi @schampilomatis, thanks for your contribution. Please prefix the commit message(s) with the DBZ-xxx JIRA issue key. |
Duplicate of #121 |
…columns
Adjust schema names for cells to be unique. Avro uses these names to identify sub schema declarations and will not redefine a sub schema that was already detected. In this case, if we have cells with multiple types, debezium will fail to serialize the event, since the stored avro schema does not match the cells.