-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-2822: [C++] Zero padding bytes in PoolBuffer #2239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
a2f5663
Add buffer zeroing on allocation and fix copy
bd1b3e4
Prefer using AllocateBuffer, zero padding where it's impossible
d2f0db7
Add warning on unfinished buffers and fix some problems
4cea9fc
Don't pass shrink_to_fit
e035716
Move finished state unsetting to UnsafeAppendBitmap
e90248c
More consistency with padding zeroing
d1f0ddb
Consume overflow dicts status
28c64b0
Fix NullBuilder and use it in python to arrow conversion
cf0d381
Prevent a builder unfinished warning
1f30d42
Formatting
45b66d8
Consume status
3c91f51
Decrease log level
d9ded42
Avoid raw data access on unfinished buffer in dictionary
633a022
Add a builder reset method and fix some tests
bed63f7
Remove data() and null_bitmap() methods from builder
bfeaa2c
Fix comment
b8485bc
Revert NullBuilder changes
515d316
Switch nones_ from NullBuilder to BooleanBuilder
1f712e3
Adjust orc adapter to not to use builders internals
8b97572
Add data() and null_bitmap() with deprecation warning
de9fe25
Remove outdated comments
c9e709a
Remove extra semicolon
8c8291d
Consume status in test
cccac05
Add AppendValues method which uses iterators and avoid copies in orc …
42827e8
WIP lazy iterator
6259a9c
Add tests and benchmark to lazy range
8fe8095
Fix lint warnings
227245a
Remove couple of unneeded things
114c0ad
Change the iterator category
c25f134
Fix comment
10ec6d5
Fix compiler warnings
dcd6111
Formatting
7dae17b
Fix comment
e912f9f
Avoid code duplication
6ddf882
Assert lazy iterator is const
f6c66db
Deduce type from 0 argument
25a729c
lol msvc
2906df2
Don't include benchmark_main in the benchmark
f616ac5
msvc complains about unchecked iterators
33b98c8
Whoops, old includes
8b681b0
Second try to make msvc happy about iterators
92d2b14
Suppress msvc compiler warning about narrowing conversion
924467c
Better disable warning
3d3d55e
Maybe like this?
44f02aa
Try function scope suppression
0a2c6cb
Handle custom template cases
ee591f4
Formatting
bca761f
Convert to the correct type
4e829cb
Fix lint warning about nullptr
e200072
More consisten handling of null values
3fd5cbb
Handle nullptr for iterators
27347bc
More precise nullptr use detection
95bae66
Cleanup
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool