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-284 Fix NPE when inserting a NULL in a POINT column #249

Merged
merged 1 commit into from Jun 13, 2017

Conversation

omarsmak
Copy link
Contributor

A fix for DBZ-284 when inserting a NULL value in a column with POINT datatype.

Copy link
Member

@gunnarmorling gunnarmorling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, @omarsmak. I'll fix that one whitespace glitch and merge. Thanks a lot!

@@ -508,8 +508,13 @@ protected Object convertPoint(Column column, Field fieldDefn, Object data){
if (data == null) {
data = fieldDefn.schema().defaultValue();
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you configure your IDE so it removes any trailing whitespace? E.g. there's a "Save action" for that in Eclipse, I'd expect similar options to exist in other IDEs. Avoiding this kind of noise makes it easier for all of us to work with the code, review changes etc. Thanks!

No need to change this very one, though. I'll take care of it prior to merging.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am actually wondering about my configuration for my IDE, I am using Intellij IDEA. I will try to to take care of these trailing whitespace in my next PR :)

@gunnarmorling gunnarmorling merged commit 107a3a8 into debezium:master Jun 13, 2017
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