-
Notifications
You must be signed in to change notification settings - Fork 807
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
Support writing IntervalMonthDayNanoArray
to parquet via Arrow Writer
#5849
Comments
IntervalUnit::MonthDayNano
in FixedLenByteArrayColumnWriterIntervalMonthDayNano
arrays to parquet via Arrow Writer
IntervalMonthDayNano
arrays to parquet via Arrow Writer IntervalMonthDayNanoArray
to parquet via Arrow Writer
i updated the title of this ticket to reflect the end behavior I think it is addressing Specifically, I think the gap identified by @marvinlanhenke above is that trying to write an TO proceed with this ticket the first thing would probably be to make a small test case to verify that |
I don't believe the parquet specification allows for supporting nanosecond intervals - https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#interval I am therefore not sure this ticket is actionable... |
I wonder what should the guidance be for people who have Is it "cast the data to an interval type that is supported ( Another potential option would be "write this type in as a I dug around in arrow and found some suggestions jave doesn't support it either |
Documenting this I think this is the least potentially controversial path forward |
Proposed documentation update: #5875 |
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
While working on the support for converting parquet statistics into ArrayRefs in DataFusion (see apache/datafusion#10453).
I noticed that currently the ColumnWriter does not support writing
IntervalUnit::MonthDayNano
.This might be the location:
arrow-rs/parquet/src/arrow/arrow_writer/mod.rs
Lines 854 to 874 in fa8d350
Describe the solution you'd like
Support for writing
IntervalUnit::MonthDayNano
in the ColumnWriter.Describe alternatives you've considered
Additional context
Related to: #5847
The text was updated successfully, but these errors were encountered: