apache / apache/arrow

[C++] Implement REE support in ArrayFromJSONString

Open
#37,338 5 comments 0 reactions 0 assignees View on GitHub
Component: C++ good-second-issue Status: needs champion Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the enhancement requested

Currently, `ArrayFromJSONString` doesn't support emitting run-end-encoded data.

Like dictionary-encoded data, this could be implemented in two ways:
1. Implement implicit run-end encoding in `ArrayFromJSONString` when a REE type is given
2. Expose a separate function to explicitly pass the run ends and values, for example `REEArrayFromJSONString(const std::shared_ptr&, std::string_view run_ends_json, std::string_view values_json)`

### Component(s)

C++

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.