Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Compressed IPC Crash in certain cases #1591

Open
Cambyst opened this issue Nov 10, 2023 · 1 comment
Open

Compressed IPC Crash in certain cases #1591

Cambyst opened this issue Nov 10, 2023 · 1 comment

Comments

@Cambyst
Copy link

Cambyst commented Nov 10, 2023

Hi guys,

It seems the IPC decompression crashes with the particular attached example (it works fine if uncompressed). I have tried many variant but just cannot get my head around why it would fail (it loads fine in PyArrow). Many thanks in advance!

bigfile_3.dmp

use arrow2::io::ipc::read::{FileReader, read_file_metadata};
use std::fs::File;
let mut file = File::open("bigfile_3.arrow").expect("file not found");
let metadata = read_file_metadata(&mut file).unwrap();
let mut read = FileReader::new(file, metadata, None, None);
let mut parsed_df = read.next().unwrap().unwrap();

thread 'tokio-runtime-worker' panicked at 'range start index 8 out of range for slice of length 0', /arrow2-0.18.0/src/io/ipc/read/read_basic.rs:124:42

@Cambyst
Copy link
Author

Cambyst commented Nov 14, 2023

Updated initial question to use Arrow2 only

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant