-
Notifications
You must be signed in to change notification settings - Fork 415
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
Panic using record_batches_to_json_rows
: PrimitiveArray out of bounds
#1277
Comments
It is unclear where exactly this bug is introduced on writing or reading and if it has already been fixed in later versions of I have attached a DeltaTable that reproduces this error. $ sha256sum < issue-1277.zip
7fa3d9df7367400749b8d694174cadaebf62b1893bc7521c34f1e2f2ed265db2 -
$ tree http_requests
http_requests
├── _delta_log
│ ├── 00000000000000000000.json
│ └── 00000000000000000001.json
├── date=2022-11-01
│ └── part-00000-2f186249-30c2-400d-9212-3a69941eeb3a-c000.snappy.parquet
└── date=2022-11-02
└── part-00000-bcd22ccd-28ce-41ed-9f42-e53d2c14e9fc-c000.snappy.parquet |
Experimenting around some more, this looks to be an "off-by-one" error when going from Parquet to |
just in case this is an arrow / datafusion issue, that may already be fixed. Would it be possible to try again with main, once #1249 is merged? |
Fwiw, I think this is the same problem as in splitgraph/seafowl#349. The underlying issue in |
Yes, we are currently preparing it. Hopefully today :) |
This is resolved now by #1249 |
Environment
Delta-rs version:
0.8.0
Binding:
Environment:
MacOS Ventura 13.3.1
rustc 1.68.2 (9eb3afe9e 2023-03-27)
Bug
What happened: Attempting to serialize
[RecordBatch]
to JSON fails.What you expected to happen:
Result is serialized to JSON without panicking
How to reproduce it:
More details:
Stacktrace
The text was updated successfully, but these errors were encountered: