Skip to content

Add support for Apache.Arrow.Types.Decimal128Type #7082

Open
@piyushdubey

Description

@piyushdubey

System Information (please complete the following information):

  • Window 11
  • Microsoft.Data.Analysis v0.21.1
  • .Net Framework 4.7.2

Describe the bug
I am getting the below exception

Unhandled exception. System.NotImplementedException: decimal128
at Microsoft.Data.Analysis.DataFrame.AppendDataFrameColumnFromArrowArray(Field field, IArrowArray arrowArray, DataFrame ret, String fieldNamePrefix)
at Microsoft.Data.Analysis.DataFrame.FromArrowRecordBatch(RecordBatch recordBatch)
at Program.

To Reproduce
Take a .arrow file with one column of type Apache.Arrow.Types.Decimal128Type
var dataframe = DataFrame.FromArrowRecordBatch(recordBatch);
It will throw above exception

Expected behavior
The record batch should transform to DataFrame with appropriate type to handle decimal128

Metadata

Metadata

Assignees

No one assigned

    Labels

    Microsoft.Data.AnalysisAll DataFrame related issues and PRsuntriagedNew issue has not been triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions