Skip to content

Conversation

@jhorstmann
Copy link
Contributor

Which issue does this PR close?

Closes #417.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

No

@codecov-commenter
Copy link

Codecov Report

Merging #418 (5bc8198) into master (ddc8a36) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #418   +/-   ##
=======================================
  Coverage   82.62%   82.62%           
=======================================
  Files         162      162           
  Lines       44479    44487    +8     
=======================================
+ Hits        36750    36759    +9     
+ Misses       7729     7728    -1     
Impacted Files Coverage Δ
arrow/src/compute/kernels/boolean.rs 96.76% <100.00%> (+0.04%) ⬆️
parquet/src/encodings/encoding.rs 95.04% <0.00%> (+0.19%) ⬆️

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 ddc8a36...5bc8198. Read the comment docs.

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good to me -- thank you @jhorstmann 👍

}

#[test]
fn test_bool_array_not_sliced() {
Copy link
Contributor

Choose a reason for hiding this comment

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

For anyone interested, without the code change this test fails in the following way:


---- compute::kernels::boolean::tests::test_bool_array_not_sliced stdout ----
thread 'compute::kernels::boolean::tests::test_bool_array_not_sliced' panicked at 'assertion failed: ceil(offset + len, 8) <= buffer.len() * 8', arrow/src/util/bit_chunk_iterator.rs:33:9


failures:
    compute::kernels::boolean::tests::test_bool_array_not_sliced

@alamb alamb added arrow Changes to the arrow crate bug labels Jun 7, 2021
@alamb
Copy link
Contributor

alamb commented Jun 8, 2021

FYI @jorgecarleitao

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

Labels

arrow Changes to the arrow crate bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Boolean not kernel does not take offset of null buffer into account

3 participants