You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/02/07 21:54:41 UTC

[jira] [Resolved] (ARROW-533) [C++] arrow::TimestampArray / TimeArray has a broken constructor

     [ https://issues.apache.org/jira/browse/ARROW-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney resolved ARROW-533.
--------------------------------
    Resolution: Fixed
      Assignee: Wes McKinney

I verified locally that this code:

{code}
auto arr = std::make_shared<TimestampArray>(n, buffer)
{code}

generates a compiler error now, and for all types without additional metadata. But it works for types like {{DoubleArray}}

> [C++] arrow::TimestampArray / TimeArray has a broken constructor
> ----------------------------------------------------------------
>
>                 Key: ARROW-533
>                 URL: https://issues.apache.org/jira/browse/ARROW-533
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Blocker
>
> Types that inherit from {{arrow::NumericArray<T>}} have a constructor that doesn't permit passing in a type instance containing additional metadata



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)