-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Reading Parquet file with int96
results in overflow panic
#1359
Comments
I did two more tests by saving the
I got a similar overflow panic error:
The complete error output:
|
I did run some more tests and ultimately I found the issue: two of the rows in the parquet file contains the This is supported by Parquet and Spark. Here is the content of the parquet file:
|
Should I close this ticket since I opened #1360 ticket for a better specificity? |
Closing issue, I created a more specific one here: #1360. |
Describe the bug
Reading Parquet file with
int96
results in panic with the following error:To Reproduce
Steps to reproduce the behavior:
data-dimension-vehicle-20210609T222533Z-4cols-14rows.parquet
file.cargo new read-parquet
, create adata
folder in your project and put the parquet file in thedata
folder inside your project.Cargo.toml
file to contain the following:main.rs
to read the given parquet file:cargo run
.I've tried the following combinations but I got the same error:
CAST
to timestamp -- error 🔴dimension_load_date
-- success 🟢Expected behavior
To be able to read that parquet file. The parquet file can be read with
parquet-tools
CLI and Apache Spark.Additional context
OS:
macOS 12.0.1
(Monterey)Rust:
rustc 1.58.0-nightly (65c55bf93 2021-11-23)
Cargo:
cargo 1.58.0-nightly (e1fb17631 2021-11-22)
I transformed the parquet file into CSV and everything worked as expected.
The text was updated successfully, but these errors were encountered: