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] [Resolved] (ARROW-533) [C++] arrow::TimestampArray / TimeArray has a broken constructor
Date Tue, 07 Feb 2017 21:54:41 GMT

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

Mime
View raw message