Skip to content

ARROW-3133: [C++] Remove allocation from Binary Boolean Kernels. - #3731

Closed
emkornfield wants to merge 2 commits into
apache:masterfrom
emkornfield:bin_kern2
Closed

emkornfield wants to merge 2 commits into
apache:masterfrom
emkornfield:bin_kern2

Conversation

@emkornfield

Copy link
Copy Markdown
Contributor

Also:

  • ARROW-3135: add a helper for validity bitmap propagation
  • ARROW-4572: remove memory zeroing in Allocator kernel
  • Fix regression in InvertKernel where nulls were not being handled (add a unit test to cover this case)
  • Add some unit tests for util-internal.h
  • lift out_type to OpKernel

Also:
- ARROW-3135: add a helper for validity bitmap propagation
- ARROW-4572: remove memory zeroing in Allocator kernel
- Cleanup style of Datum constructors (per style guide single arguments should be explicit)
- Fix regression in InvertKernel where nulls were not being handled
- Add some unit tests for util-internal
@codecov-io

codecov-io commented Feb 23, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #3731 into master will increase coverage by 0.87%.
The diff coverage is 98.69%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3731      +/-   ##
==========================================
+ Coverage   87.66%   88.53%   +0.87%     
==========================================
  Files         701      570     -131     
  Lines       85749    76557    -9192     
  Branches     1200        0    -1200     
==========================================
- Hits        75169    67779    -7390     
+ Misses      10461     8778    -1683     
+ Partials      119        0     -119
Impacted Files Coverage Δ
cpp/src/arrow/compute/kernel.h 88.46% <ø> (ø) ⬆️
cpp/src/arrow/compute/kernels/cast.cc 91.77% <100%> (+0.01%) ⬆️
cpp/src/arrow/compute/test-util.h 100% <100%> (+10%) ⬆️
cpp/src/arrow/compute/kernels/boolean.cc 100% <100%> (+6.06%) ⬆️
cpp/src/arrow/compute/kernels/boolean-test.cc 100% <100%> (ø) ⬆️
cpp/src/arrow/compute/kernels/util-internal.h 100% <100%> (ø) ⬆️
cpp/src/arrow/compute/kernels/util-internal.cc 95.67% <98.18%> (+0.09%) ⬆️
...pp/src/arrow/compute/kernels/util-internal-test.cc 98.44% <98.44%> (ø)
cpp/src/arrow/util/bpacking.h 99.84% <0%> (-0.01%) ⬇️
... and 134 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1f49604...68af8ab. Read the comment docs.

@emkornfield emkornfield changed the title ARROW-3133: [WIP][C++]Remove allocation from Binary Boolean Kernels. ARROW-3133: [C++]Remove allocation from Binary Boolean Kernels. Feb 23, 2019
@emkornfield emkornfield changed the title ARROW-3133: [C++]Remove allocation from Binary Boolean Kernels. ARROW-3133: [C++] Remove allocation from Binary Boolean Kernels. Feb 25, 2019

@wesm wesm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. Thanks for slogging through this one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants