apache / apache/arrow

[C++] Expose Arrow's *FromJson, Assertion and Random generator helper functions

Open
#33,538 15 comments 0 reactions 1 assignee Claimed by @amoeba View on GitHub
Component: C++ Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

Helper functions would be useful when testing in projects that use Arrow. BatchesWithSchema, MakeBasicBatches, Finishes and ResultWith could be considered as well.

- FromJSON helpers (from `arrow/testing/gtest_util.h`)
- Assertion helpers (from `arrow/testing/gtest_util.h`), both macros (e.g., `ASSERT_OK_AND_ASSIGN`) and functions (e.g., `AssertArraysEqual`)
- Random generators (from `arrow/testing/random.h`)

**Reporter**: [Rok Mihevc](https://issues.apache.org/jira/browse/ARROW-18371) / @rok
**Assignee**: [Bryce Mecum](https://issues.apache.org/jira/browse/ARROW-18371) / @amoeba
**Watchers**: [Rok Mihevc](https://issues.apache.org/jira/browse/ARROW-18371) / @rok

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

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.