lance-format / lance-format/lance
[Duckdb] Zero copy Arrow Array/RecordBatch to duckdb Vector/DataChunk conversion
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7.1k
- Forks
- 852
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 272
Description
Problem Statement
#347 converts arrow array / RecordBatch reading from the LanceDataset to duckdb corresponding data structures via heavy data copy.
We need to implement zero-copy data transfer between arrow and duckdb to make the extension production ready.
- Primitive
Arraystoduckdb::Vector -
::arrow::StructArray -
::arrow::ListArray -
::arrow::DictionaryArray
Contributor 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.
Research direction
Start by examining the Arrow Array and RecordBatch conversion introduced in issue #347, then trace how those values become DuckDB Vector and DataChunk objects. The checklist defines the required scope: zero-copy handling for primitive Arrays, StructArray, ListArray, and DictionaryArray; done means each case transfers data without the current heavy copy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- data, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100