Skip to content

fix null datatype bug#15

Merged
lizhou1111 merged 1 commit intomainfrom
fix-null-datatype-bug
Jun 27, 2024
Merged

fix null datatype bug#15
lizhou1111 merged 1 commit intomainfrom
fix-null-datatype-bug

Conversation

@lizhou1111
Copy link
Copy Markdown
Contributor

No description provided.

@lizhou1111 lizhou1111 force-pushed the fix-null-datatype-bug branch from 6c453f2 to db1e674 Compare June 15, 2024 08:47
Comment on lines 107 to 113
public void serializeBinary(Object data, BinarySerializer serializer) throws SQLException, IOException {
if (data == null) {
data = nestedDataType.defaultValue();
this.nullMapDataType.serializeBinary(IS_NULL, serializer);
}
this.nestedDataType.serializeBinary(data, serializer);
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It seems inconsistent with the implementation of deserializeBinary

@lizhou1111 lizhou1111 merged commit 54cade0 into main Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants