apache / apache/arrow-nanoarrow

Schema DSL for testing

Open
#566 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
249
Forks
68
Avg merge
2d 16h
Merged PRs (30d)
12

Description

Arrow C++ includes factories for constructing schemas, types, fields, and metadata which allow construction of even deeply nested structures to be expressive:

```c++
schema({
field("some_col", int32(), key_value_metadata({
{"some_key_field", "some_value_field"},
})),
}, key_value_metadata({{"some_key", "some_value"}})),
```

It should be straightforward to write equivalent factories which build a `nanoarrow::UniqueSchema`.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the existing Arrow C++ factories for schemas, types, fields, and metadata, then trace the nanoarrow::UniqueSchema entry points. Done means equivalent factories can express deeply nested schemas and metadata as concisely as the shown example.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.