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

[JS] Table.toArray() allocates a large array.

Open
#48 0 comments 1 reaction 1 assignee View on GitHub

@swallez is already working on this.

Since Sep 27, 2024.

Assessment

This issue has not been assessed yet.

Description

Type: enhancement
Describe the enhancement requested

Table.toArray() allocates an array of the size of the table to store proxies to each of the rows.

This can be large and consume a significant amount of memory. A proxy that wraps the table and acts as an array would avoid this and provide a near zero cost struct array view of the table.

Component(s)

JavaScript

Dominant language
TypeScript
Stars
112
Forks
23
Avg merge
17h 55m
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

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-js

All issues in apache/arrow-js

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.