hkad98 commented on issue #36589:
URL: https://github.com/apache/arrow/issues/36589#issuecomment-1629064587
IMHO, int8 should not be the issue. If I use the int8 type, it is stored and
loaded properly.
```python
import pyarrow as pa
import pyarrow.parquet as pq
table = pa.Table.from_arrays([[0,1,2,3]],
schema=pa.schema([pa.field("example", pa.int8())]))
"""
pyarrow.Table
example: int8
----
example: [[0,1,2,3]]
"""
pq.write_table(table, "example.parquet")
table_cpy = pq.read_table("example.parquet")
"""
pyarrow.Table
example: int8
----
example: [[0,1,2,3]]
"""
```
--
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]