Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lazily materialize the null buffer builder for all array builders. (#…
…2127) * create null buffer builder Signed-off-by: remzi <13716567376yh@gmail.com> * use null buffer builder in boolean array builder Signed-off-by: remzi <13716567376yh@gmail.com> * add capacity field and update docs Signed-off-by: remzi <13716567376yh@gmail.com> * update fixed size binary builder Signed-off-by: remzi <13716567376yh@gmail.com> * update fixed size list builder Signed-off-by: remzi <13716567376yh@gmail.com> * update binary builder Signed-off-by: remzi <13716567376yh@gmail.com> * update list builder Signed-off-by: remzi <13716567376yh@gmail.com> * update map builder Signed-off-by: remzi <13716567376yh@gmail.com> * update struct builder Signed-off-by: remzi <13716567376yh@gmail.com> * update union builder Signed-off-by: remzi <13716567376yh@gmail.com> * rename Signed-off-by: remzi <13716567376yh@gmail.com> * add tests Signed-off-by: remzi <13716567376yh@gmail.com> * optimize Signed-off-by: remzi <13716567376yh@gmail.com> * expose null buffer builder in builder mod Signed-off-by: remzi <13716567376yh@gmail.com> * add docs Signed-off-by: remzi <13716567376yh@gmail.com> * reduce redundant computation Signed-off-by: remzi <13716567376yh@gmail.com> * inline methods to achieve better performance Signed-off-by: remzi <13716567376yh@gmail.com> * use instead of pub(self) use Signed-off-by: remzi <13716567376yh@gmail.com> * Update arrow/src/array/builder/null_buffer_builder.rs fix spelling mistake Co-authored-by: Jörn Horstmann <git@jhorstmann.net> * reorder Signed-off-by: remzi <13716567376yh@gmail.com> * rename methods and update docs Signed-off-by: remzi <13716567376yh@gmail.com> Co-authored-by: Jörn Horstmann <git@jhorstmann.net>
- Loading branch information
1 parent
19fd885
commit 9c70e4a
Showing
11 changed files
with
284 additions
and
133 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
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
Oops, something went wrong.