zbs opened a new issue, #37732:
URL: https://github.com/apache/arrow/issues/37732
### Describe the bug, including details regarding any error messages,
version, and platform.
OS: RHEL 8.3
Language: Python 3.8.15
PyArrow Version: 9.0.0
I have a script that streams data to a file using ` pa.ipc.new_stream(path,
reader.schema)`, and in a separate process, reading from that file using:
```
with pa.ipc.open_stream(path) as reader:
batches = list(reader)
df = pa.Table.from_batches(batches).to_pandas()
```
Inexplicably, in some cases it looks like, in a specific column with a
dictionary encoding, one of the rows has a dictionary index of -241, even
though the dictionary itself consists of a single value. Is this standard file
corruption, a bug, or am I doing something wrong in the process writing/reading
described above?
### Component(s)
Python
--
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]