Skip to content
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-2316 Throw DataException with non-uniform array elements #1851

Merged
merged 1 commit into from Sep 29, 2020

Conversation

Naros
Copy link
Member

@Naros Naros commented Sep 29, 2020

https://issues.redhat.com/browse/DBZ-2316

While the expected behavior of array.encoding=array is that elements have uniform structures, we should not throw a NPE. The proposed change is to instead throw a DataException with an appropriate error message instead.

While using array.encoding=array, array elements that do not have
uniform structures should throw a DataException with a meaningful
message rather than throw a NullPointerException.
@gunnarmorling gunnarmorling merged commit 0040eca into debezium:master Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants