apache / apache/arrow

[C++] Make it easier to create vectors of move-only data types for tests

Open
#27,829 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

We take advantage of aggregate initialization in our tests in a number of places.

Also for consideration: https://stackoverflow.com/questions/8468774/can-i-list-initialize-a-vector-of-move-only-type

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

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

Contributor guide

Open the contributing guide

Research direction

The issue points to aggregate initialization in tests and links Apache Arrow pull request #9734. Start by reviewing that pull request and the related test usage; done means tests can create vectors containing move-only data types more easily.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.