You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/10/14 17:08:00 UTC

[jira] [Assigned] (ARROW-6873) [Python] Stale CColumn reference break Cython cimport pyarrow

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

Antoine Pitrou reassigned ARROW-6873:
-------------------------------------

    Assignee: Uwe Korn

> [Python] Stale CColumn reference break Cython cimport pyarrow
> -------------------------------------------------------------
>
>                 Key: ARROW-6873
>                 URL: https://issues.apache.org/jira/browse/ARROW-6873
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.15.0
>            Reporter: Uwe Korn
>            Assignee: Uwe Korn
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Traceback:
> {code}
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
> # under the License.
> from __future__ import absolute_import
> from libcpp.memory cimport shared_ptr
> from pyarrow.includes.libarrow cimport (CArray, CBuffer, CColumn, CDataType,
> ^
> ------------------------------------------------------------
> …/lib/python3.7/site-packages/pyarrow/__init__.pxd:21:0: 'pyarrow/includes/libarrow/CColumn.pxd' not found
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
>     cdef object wrap_tensor(const shared_ptr[CTensor]& sp_tensor)
>     cdef object wrap_sparse_tensor_coo(
>         const shared_ptr[CSparseTensorCOO]& sp_sparse_tensor)
>     cdef object wrap_sparse_tensor_csr(
>         const shared_ptr[CSparseTensorCSR]& sp_sparse_tensor)
>     cdef object wrap_column(const shared_ptr[CColumn]& ccolumn)
>                                                    ^
> ------------------------------------------------------------
> …/lib/python3.7/site-packages/pyarrow/__init__.pxd:39:52: unknown type in template argument
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
> from pyarrow cimport Int64ArrayBuilder
> ^
> ------------------------------------------------------------
> /Users/uwe/.ipython/cython/_cython_magic_3eb31dd63fb578b618cc8e98a60dbdf5.pyx:2:0: 'pyarrow/Int64ArrayBuilder.pxd' not found
> ---------------------------------------------------------------------------
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)