Wes McKinney created ARROW-381: ---------------------------------- Summary: [C++] Simplify primitive array type builders to use a default type singleton Key: ARROW-381 URL: https://issues.apache.org/jira/browse/ARROW-381 Project: Apache Arrow Issue Type: New Feature Components: C++ Reporter: Wes McKinney
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) -- This message was sent by Atlassian JIRA (v6.3.4#6332)