apache / apache/arrow-swift

Improve IPCTests

Open
#96 17 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
32
Forks
18
Avg merge
19h 14m
Merged PRs (30d)
2

Description

### Describe the enhancement requested

In #95 a fix for the `Block` metadata length was added, however this is difficult to test because there is no API to access `Block`s in the footer.

A temporary fix might be to just read the footer in IPC tests and ensure that record batches can be accessed with the block metadata. Alternatively, perhaps a random access API could be added to `ArrowReader`?

There is also no test to ensure other implementations can read the files created with ArrowWriter. @kou mentioned Archery should be used for this.

Contributor guide

Open the contributing guide

Research direction

Start with the IPC tests and the ArrowReader/ArrowWriter entry points mentioned in the issue. Check how the footer and Block metadata are currently accessed, then use Archery to verify that files written by ArrowWriter can be read by other implementations. Done means Block metadata length and record-batch access are covered, with cross-implementation compatibility tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.