arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes McKinney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARROW-381) [C++] Simplify primitive array type builders to use a default type singleton
Date Thu, 02 Feb 2017 14:38:52 GMT

    [ 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)

Mime
View raw message