[JS] Implement C Data Interface
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- rust, typescript, wasm
- Domain
- data
Research direction
Start by reviewing the linked arrow-js-ffi implementation and the Arrow JS code, then inspect the small Rust module used to generate FFI memory from an IPC table in tests. The issue needs an agreed scope for read-only C Data Interface support and a confirmed test approach before completion can be judged.
Written by the indexing model from the issue text.
Description
I've recently been working on an implementation of the C Data Interface for Arrow JS, the idea being that Arrow JS can read memory from WebAssembly this way without a copy (blog post, repo). Dominik suggested starting a discussion about potentially adding this into Arrow JS.
My implementation is still WIP but figure it's not too early to start a discussion. A couple notes:
-
I'm focused only on reading FFI memory, so I only have parsing code. I figure writing doesn't really make sense in JS since Wasm can't access arbitrary JS memory
-
In order to generate FFI memory in the tests, I'm using a small Rust module to convert from an IPC table. If we didn't want to add a rust build step in the tests, that module could be published to NPM
Thoughts?
Reporter: Kyle Barron
Note: This issue was originally created as ARROW-17608. Please see the migration documentation for further details.
- Dominant language
- TypeScript
- Stars
- 114
- Forks
- 35
- Avg merge
- 13h 35m
- Merged PRs (30d)
- 5
Getting set up
- Ships a 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-js
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
The IPC reader accepts a column that is shorter than its RecordBatch, and fills the missing rows with nullsPossibly taken @Sealdot claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
The IPC reader ignores Schema.endianness: a big-endian stream reads 1, 2, 3 as 16777216, 33554432, 50331648Possibly taken @aniket-r2Dev2 claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
tableFromIPC loops with no end on a file whose RecordBatch block points at a DictionaryBatchPossibly taken @aniket-r2Dev2 claimed this 4 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
apache/arrow-js#547 · 1 comment ·
Maintainers usually reply within 1 day
-
The stream reader drops a message of an unexpected type but not its body, and parses the body as the next messagesPossibly taken @Umer-Butt07 claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
earendil-works/gondolin#222 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
endora-commerce/endora-commerce#2203 ·
Maintainers usually reply within 1 day
-
enhancement priority:medium ready-for-human
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
wondermoney/wondermoney#1079 ·
Maintainers usually reply within 1 day