Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

A few starter generic compute kernels

Open
#254 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

@mobiusklein is already working on this.

Since Feb 8, 2026.

  • #257 by @mobiusklein — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
data

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/arrow-dotnet

All issues in apache/arrow-dotnet

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.