-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
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.
Great catch!
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.
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
…eader Closes apache#9436 from houqp/qp_json_read Authored-by: Qingping Hou <[email protected]> Signed-off-by: Andrew Lamb <[email protected]>
…eader Closes apache#9436 from houqp/qp_json_read Authored-by: Qingping Hou <[email protected]> Signed-off-by: Andrew Lamb <[email protected]>
…eader Closes apache#9436 from houqp/qp_json_read Authored-by: Qingping Hou <[email protected]> Signed-off-by: Andrew Lamb <[email protected]>
…eader Closes apache#9436 from houqp/qp_json_read Authored-by: Qingping Hou <[email protected]> Signed-off-by: Andrew Lamb <[email protected]>
No description provided.