Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6873

[Python] Stale CColumn reference break Cython cimport pyarrow

    XMLWordPrintableJSON

Details

    Description

      Traceback:

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

      Attachments

        Issue Links

          Activity

            People

              uwe Uwe Korn
              uwe Uwe Korn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h