dotnet / dotnet/machinelearning
Add support for Apache.Arrow.Types.Decimal128Type
- 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: `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`
Contributor guide
Assessment
This issue has not been assessed yet.