You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/02/02 14:38:52 UTC
[jira] [Commented] (ARROW-381) [C++] Simplify primitive array type
builders to use a default type singleton
[ https://issues.apache.org/jira/browse/ARROW-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849989#comment-15849989 ]
Wes McKinney commented on ARROW-381:
------------------------------------
[~xhochy] I added this to the 0.2 release. This is an overdue API cleanup
> [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.15#6346)