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.
apacheGH-34610: [Java] Fix valueCount and field name when loading/tra…
…nsferring NullVector (apache#38973) ### Rationale for this change This is a follow up of apache#34611 (thanks @ sunchao) We should set `valueCount` when loading `NullVector`. Unfortunately there's no `nullCount` field. ### What changes are included in this PR? * `valueCount` added to NullVector * `name` added to NullVector's TransferPair ### Are these changes tested? Yes. unit tested. ### Are there any user-facing changes? Yes, a NullVector with a non-null name will maintain the name when transferred via `TransferPair` instead of defaulting to the default name `$data$`. * Closes: apache#34610 Authored-by: Chao Sun <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
- Loading branch information
1 parent
af24465
commit 6350026
Showing
2 changed files
with
31 additions
and
4 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
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