apache / apache/arrow

[C++] Add row-based utilities for encoding a batch and merging row tables

Open
#31,988 1 comment 0 reactions 0 assignees View on GitHub
Component: C++ Type: task
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

This PR adds a "row table" which is a high level API for a 2D structure that has row-major storage. It adds utilities to encode to & from the existing columnar structure via this high level API. Internally it uses RowTableImpl.

It also adds a merge utility that can merge two row tables together.

**Reporter**: [Weston Pace](https://issues.apache.org/jira/browse/ARROW-16637) / @westonpace
#### PRs and other links:
- [GitHub Pull Request #13220](https://github.com/apache/arrow/pull/13220)

**Note**: *This issue was originally created as [ARROW-16637](https://issues.apache.org/jira/browse/ARROW-16637). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Research direction

Review linked pull request #13220 first, then trace RowTableImpl and the existing columnar structure. Confirm the row-table API covers encoding to and from the columnar structure and merging two row tables, using the PR as the completion reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.