A few starter generic compute kernels
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
The issue provides no files, tests, or entry points to start from; begin by reviewing the proposed kernels and the generic Large-array visitor in the surrounding Arrow .NET APIs. The first milestone is agreement on the contribution pattern and scope, including whether the visitor is correct and which operations belong upstream.
Written by the indexing model from the issue text.
Description
Describe the enhancement requested
I have been hand-writing a pile of generic kernels for numerical arrays and wanted to know what would be required to contribute them upstream.
So far I have implementations for:
public static Array Filter(Array array, BooleanArray mask)public static BooleanArray Equal<T>(PrimitiveArray<T> lhs, T rhs) where T: struct, INumber<T>public static BooleanArray Equal<T>(PrimitiveArray<T> lhs, PrimitiveArray<T> rhs) where T: struct, INumber<T>public static Array Take(Array array, IList<int> indices)public static Int64Array CastInt64<T>(PrimitiveArray<T> array) where T: struct, INumber<T>public static Int32Array CastInt32<T>(PrimitiveArray<T> array) where T : struct, INumber<T>public static FloatArray CastFloat<T>(PrimitiveArray<T> array) where T : struct, INumber<T>public static DoubleArray CastDouble<T>(PrimitiveArray<T> array) where T : struct, INumber<T>
I also have a generic visitor for converting Large* arrays to their regular counterparts so that they may work with the other machinery in the library. I am less confident that is useful to others, or that it is truly correct.
Is there a particular pattern you would want these to follow or is the notion not suitable for the .NET ecosystem? I am less familiar with .NET as an ecosystem.
Thank you.
- Dominant language
- C#
- Stars
- 41
- Forks
- 31
- Avg merge
- 20h 56m
- Merged PRs (30d)
- 14
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/arrow-dotnet
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
apache/arrow-dotnet#410 · 4 comments ·
Maintainers usually reply within 1 day
-
ArrowArrayConcatenator: null arrays are refused, and dictionary arrays lose their dictionaryPossibly taken @CurtHagenlocher claimed this 12 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 68/100
apache/arrow-dotnet#446 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
apache/arrow-dotnet#409 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/arrow-dotnet#397 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
apache/arrow-dotnet#378 ·
Maintainers usually reply within 1 day
All issues in apache/arrow-dotnet
Similar issues
-
VideoViewer: rotated (portrait phone) videos shown sideways when system decimal separator is a commaOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Volodymyr-Petrunin/Bankomaten#45 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AvaloniaUI/Avalonia#22420 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
dotnet/SqlClient#4823 · 1 comment ·
Maintainers usually reply within 2 days
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day