pcjentsch opened a new issue #1335:
URL: https://github.com/apache/arrow-rs/issues/1335


   **Describe the bug**
   Files written with Julia's Arrow.jl IPC format have a footer that causes 
arrow-rs to panic. I think this is a bug on the side of `arrow-rs` because 
`arrow2` can read them.
   
   **To Reproduce**
   Reproduced in [this small 
repository](https://github.com/pcjentsch/testing_ipc_issue). 
   
   ```
   git clone https://github.com/pcjentsch/testing_ipc_issue.git
   cd testing_ipc_issue/test_ipc
   cargo run
   ```
   
   output
   ```
   Ok((Schema { fields: [Field { name: "a", data_type: Int64, is_nullable: 
false, metadata: {} }], metadata: {} }, [Chunk { arrays: [Int64[1, 2, 3]] }]))
   thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', 
/home/workaccount/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-9.0.2/src/ipc/reader.rs:636:44
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   ```
   
   
   **Expected behavior**
   `arrow-rs` should open the file as `arrow2` does.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to