thisisnic commented on issue #40747:
URL: https://github.com/apache/arrow/issues/40747#issuecomment-7171037374
Writing interval types to Parquet is still not implemented on pyarrow 26.0.1:
```python
import io
import pyarrow as pa
import pyarrow.parquet as pq
arr = pa.array([pa.MonthDayNano([1, 2, 3])],
type=pa.month_day_nano_interval())
pq.write_table(pa.table({"x": arr}), io.BytesIO())
# ArrowNotImplementedError: Unhandled type for Arrow to Parquet schema
conversion: month_day_nano_interval
```
There is no case for the interval types in `FieldToNode`
(`cpp/src/parquet/arrow/schema.cc`), so they reach the default branch. I've
relabelled this as an enhancement, as it is a missing feature and not incorrect
behaviour. #36799 tracks the same gap for `month_day_nano_interval`.
--
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]