apache / apache/arrow-js

[JS] implement subArray for vectors

Open
#71 0 comments 1 reaction 0 assignees View on GitHub
Type: enhancement
Dominant language
TypeScript
Stars
112
Forks
23
Avg merge
21h 18m
Merged PRs (30d)
8

Description

### Describe the enhancement requested

Similar to apache/arrow#39131. It's a bit confusing that `slice` doesn't make a copy when it does make a copy for typed arrays.

### Component(s)

JavaScript

Contributor guide

Open the contributing guide

Research direction

Compare the requested behavior with apache/arrow#39131 and inspect the JavaScript/TypeScript vector API where slice is defined. Determine the expected copy behavior for a new subArray operation, then add vector test coverage showing how it differs from slice.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.