You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/15 16:10:09 UTC

[GitHub] [arrow] rdbisme commented on issue #14421: How to expose missing C++ API to Cython?

rdbisme commented on issue #14421:
URL: https://github.com/apache/arrow/issues/14421#issuecomment-1279774800

   Hi @drin, thanks a lot for your help. 
   
   > while I'm simmering on this code, I think one of your imports is malformed, specifically:
   > 
   > ```python
   > from pyarrow.lib cimport CTable, pyarrow_unwrap_table # I don't think you want to pass `sa_table` here?
   > ```
   
   Yep, copy / pasting to remove unrelated stuff I left a wrong import (fixed in this post).
   
   
   
   > also you maybe want to try importing `CChunkedArray`?
   > 
   > I don't really see any problems otherwise though. Maybe you can try moving the python code to a `.pyx` file and see if that helps with compilation somehow? Doesn't seem like it would help, but nothing comes to mind. I'll try playing around with it later.
   
   I tried also with a `shared_ptr[CChunkedArray]` return value, but still I get the same error. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org