jorgecarleitao / arrow2

Transmute-free Rust library to work with the Arrow format
Apache License 2.0
1.07k stars 221 forks source link

feat: Add `nested_column_iter_to_arrays` to deserialize inner columns #1583

Closed b41sh closed 8 months ago

b41sh commented 8 months ago

Directly deserializing an internal column of a struct type requires a Vec<InitNested>, otherwise the result will not be read correctly.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (346c866) 83.39% compared to head (79f2303) 83.40%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1583 +/- ## ======================================= Coverage 83.39% 83.40% ======================================= Files 391 391 Lines 42993 43008 +15 ======================================= + Hits 35853 35869 +16 + Misses 7140 7139 -1 ``` | [Files](https://app.codecov.io/gh/jorgecarleitao/arrow2/pull/1583?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jorge+Leitao) | Coverage Δ | | |---|---|---| | [src/io/parquet/read/deserialize/mod.rs](https://app.codecov.io/gh/jorgecarleitao/arrow2/pull/1583?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jorge+Leitao#diff-c3JjL2lvL3BhcnF1ZXQvcmVhZC9kZXNlcmlhbGl6ZS9tb2QucnM=) | `78.14% <100.00%> (+2.41%)` | :arrow_up: | | [src/io/parquet/read/mod.rs](https://app.codecov.io/gh/jorgecarleitao/arrow2/pull/1583?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jorge+Leitao#diff-c3JjL2lvL3BhcnF1ZXQvcmVhZC9tb2QucnM=) | `100.00% <ø> (ø)` | | ... and [4 files with indirect coverage changes](https://app.codecov.io/gh/jorgecarleitao/arrow2/pull/1583/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jorge+Leitao)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.