apache / apache/arrow-rs

Add native support to write out `UnionArray` in JSON writer

Open
#7,302 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.6k
Forks
1.3k
Avg merge
2d 18h
Merged PRs (30d)
169

Description

arrow-json's writer does not not currently support `UnionArray`.

FWIW adding a native UnionEncoder is likely not overly complicated

_Originally posted by @tustvold in https://github.com/apache/arrow-rs/pull/7015#discussion_r1929566027_

Contributor guide

Open the contributing guide

Research direction

Start by locating arrow-json's JSON writer and the existing encoder entry points, then inspect how a native UnionEncoder would fit there. The issue is done when the writer supports UnionArray output natively and the relevant writer behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-engineering
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.