apache / apache/arrow

Parquet export doesn't handle interval types

Open
#40,747 0 comments 1 reaction 0 assignees View on GitHub
Component: Parquet Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

C++ Parquet export doesn't handle ::arrow::month_interval and ::arrow::day_time_interval . Attempting to export interval values return a status of `Unhandled type for Arrow to Parquet schema conversion: month_interval`. The status is generated in https://github.com/apache/arrow/blob/2babda0ba22740c092166b5c5d5d7aa9b4797953/cpp/src/parquet/arrow/schema.cc#L441-L445 , but the comment doesn't call out the interval types.

Ideally, these types get converted to Parquet INTERVAL type: https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#interval .

### Component(s)

Parquet

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.