Skip to content

[C++] Simplify primitive array type builders to use a default type singleton #15970

@asfimport

Description

@asfimport

Currently the builder classes all expect to be passed a shared_ptr<DataType> – for the primitive types (boolean, numbers, strings, etc.) it would be simpler to default to a common value rather than requiring that you obtain an instance yourself from someplace (e.g. arrow::uint8() as in the WIP patch for ARROW-373)

Reporter: Wes McKinney / @wesm
Assignee: Uwe Korn / @xhochy

Related issues:

Note: This issue was originally created as ARROW-381. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions