Skip to content

Decode Date32 arrow type in DataFrame #7261

@vthemelis

Description

@vthemelis

Is your feature request related to a problem? Please describe.
At the moment, it looks like it's not possible to read RecordBatches of Date32s:

using Apache.Arrow; using Microsoft.Data.Analysis; var batch = new RecordBatch.Builder() .Append("DateColumn", false, new Date32Array.Builder().AppendRange(Enumerable.Repeat(DateTime.Now, 10)).Build()) .Build(); DataFrame.FromArrowRecordBatch(batch);

gives:

Unhandled exception. System.NotImplementedException: date32 at Microsoft.Data.Analysis.DataFrame.AppendDataFrameColumnFromArrowArray(Field field, IArrowArray arrowArray, DataFrame ret, String fieldNamePrefix) at Microsoft.Data.Analysis.DataFrame.FromArrowRecordBatch(RecordBatch recordBatch) at Program.<Main>$(String[] args) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions