dotnet / dotnet/machinelearning

Add support for Apache.Arrow.Types.Decimal256Type

Open
#7,083 0 comments 0 reactions 0 assignees View on GitHub
area-DataFrame untriaged
Dominant language
C#
Stars
9.4k
Forks
2k
Avg merge
2d 20h
Merged PRs (30d)
11

Description

**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: `decimal256`
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.Decimal256Type`
var dataframe = DataFrame.FromArrowRecordBatch(recordBatch);
It will throw above exception

**Expected behavior**
The record batch should transform to DataFrame with appropriate type to handle `decimal256`

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.