forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove duplicate AppendNull in case of null struct data
bugfix to remove duplicate AppendNull in case of null parent struct data. Change: Added a check for structbuilder.AppendNull() that skips child fields. Reason: StructBuilder.AppendNull() recursively calls appendNull for all subfields; calling AppendNull on child fields was incorrectly adding offsets causing data to be dropped or end up in the wrong rows.
- Loading branch information
1 parent
af89ca4
commit 91bb9e2
Showing
1 changed file
with
48 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters