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-33971: [C++] Fix AdaptiveIntBuilder to always populate data …
…buffer (apache#33994) If the AdaptiveIntBuilder was empty it would yield a null for the values buffer. The byte_size.h utilities were not expecting this which led to the error reported in the issue. Example: ``` >>> pa.array([], type=pa.dictionary(pa.int32(), pa.string())).buffers() [None, None] ``` * Closes: apache#33971 Authored-by: Weston Pace <[email protected]> Signed-off-by: Weston Pace <[email protected]>
- Loading branch information
1 parent
4e89d9a
commit a6ace68
Showing
3 changed files
with
32 additions
and
2 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
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