Skip to content

add arrow::compute operations (sum, arithmetic, filter,sort) - #110

Open
yogendra-17 wants to merge 19 commits into
arxlang:mainfrom
yogendra-17:feat/arrow-compute
Open

add arrow::compute operations (sum, arithmetic, filter,sort)#110
yogendra-17 wants to merge 19 commits into
arxlang:mainfrom
yogendra-17:feat/arrow-compute

Conversation

@yogendra-17

Copy link
Copy Markdown
Contributor

Pull Request description

Implements the compute layer (roadmap step 4): selected arrow::compute operations over RecordBatch columns, wrapping Arrow's kernel registry rather than reimplementing kernels.
Four operation families, added to the existing record-batch native TU and ctypes bridge (same three-surface pattern as the streaming/nested-type work):

  • Aggregation: sum / min / max / mean / count (per column,null-skipping).
  • Element-wise arithmetic: add/subtract/multiply/divide over two columns → new single-column batch.
  • Filter: select rows by a boolean mask column.
  • Sort : sort_indices returning the ascending/descending row permutation.

How to test these changes

Run the full suite for no regressions: python -m pytest -q

Pull Request checklists

This PR is a:

  • bug-fix
  • new feature
  • maintenance

About this PR:

  • it includes tests.
  • the tests are executed on CI.
  • the tests generate log file(s) (path).
  • pre-commit hooks were executed locally.
  • this PR requires a project documentation update.

Author's checklist:

  • I have reviewed the changes and it contains no misspelling.
  • The code is well commented, especially in the parts that contain more
    complexity.
  • New and old tests passed locally.

Additional information

Built on top of feat/arrow-struct-types (base branch),retarget to main once the struct branch lands.

Reviewer's checklist

Copy and paste this template for your review's note:

## Reviewer's Checklist

- [ ] I managed to reproduce the problem locally from the `main` branch
- [ ] I managed to test the new changes locally
- [ ] I confirm that the issues mentioned were fixed/resolved .

@yogendra-17 yogendra-17 changed the title Feat/arrow compute add arrow::compute operations (sum, arithmetic, filter,sort) Aug 18, 2026
@yogendra-17
yogendra-17 marked this pull request as ready for review August 20, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant