Skip to content
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

ARROW-11542: [Rust] fix validity bitmap buffer length count in json reader #9436

Closed
wants to merge 1 commit into from

Conversation

houqp
Copy link
Member

@houqp houqp commented Feb 7, 2021

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 7, 2021

@codecov-io
Copy link

Codecov Report

Merging #9436 (ddd3f59) into master (a321cde) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9436      +/-   ##
==========================================
+ Coverage   82.14%   82.17%   +0.02%     
==========================================
  Files         232      232              
  Lines       54150    54177      +27     
==========================================
+ Hits        44484    44520      +36     
+ Misses       9666     9657       -9     
Impacted Files Coverage Δ
rust/arrow/src/json/reader.rs 82.82% <100.00%> (+1.02%) ⬆️

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 eb7f053...ddd3f59. Read the comment docs.

Copy link
Contributor

@nevi-me nevi-me left a comment

Choose a reason for hiding this comment

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

Great catch!

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.

Thanks @houqp -- looks good.

For anyone else who is curious, the new test fails like this without the code change:

failures:

---- json::reader::tests::test_json_read_list_of_structs stdout ----
thread 'json::reader::tests::test_json_read_list_of_structs' panicked at 'index out of bounds: the len is 1 but the index is 1', arrow/src/util/bit_util.rs:68:5


failures:
    json::reader::tests::test_json_read_list_of_structs

@alamb alamb closed this in dcc56cc Feb 9, 2021
@houqp houqp deleted the qp_json_read branch February 10, 2021 00:08
nevi-me pushed a commit to nevi-me/arrow that referenced this pull request Feb 13, 2021
…eader

Closes apache#9436 from houqp/qp_json_read

Authored-by: Qingping Hou <[email protected]>
Signed-off-by: Andrew Lamb <[email protected]>
sgnkc pushed a commit to sgnkc/arrow that referenced this pull request Feb 17, 2021
…eader

Closes apache#9436 from houqp/qp_json_read

Authored-by: Qingping Hou <[email protected]>
Signed-off-by: Andrew Lamb <[email protected]>
GeorgeAp pushed a commit to sirensolutions/arrow that referenced this pull request Jun 7, 2021
…eader

Closes apache#9436 from houqp/qp_json_read

Authored-by: Qingping Hou <[email protected]>
Signed-off-by: Andrew Lamb <[email protected]>
michalursa pushed a commit to michalursa/arrow that referenced this pull request Jun 13, 2021
…eader

Closes apache#9436 from houqp/qp_json_read

Authored-by: Qingping Hou <[email protected]>
Signed-off-by: Andrew Lamb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants