MaxiBoether commented on issue #45277: URL: https://github.com/apache/arrow/issues/45277#issuecomment-2615273144
Hey! I am using it for a research project and will take a deeper look at the C Data Interface after I have finished the paper using this. Taking a very quick look, I am not sure whether this will work in my setup, since I use pybind11. I am forced to pass the table from Python and it comes in as a pybind11 `py::object`. If I can somehow go from that to the C interface, then yes, but I am not sure whether this would solve the underlying issue, as the `py::object` instance of the table will have the same memory layout. It might definitely be a solution, but it was not super clear to me reading the documentation I should not interact between Python/C++ like this. I guess my main suggestion here is to add this layout version check to make the error message clearer, because I kept segfaulting. Showing a version mismatch error might help others who face the same issue, because even if I switched to the C-interface, it might cause trouble for other devs who are like me going for the other route. In any case, thank you so much for your swift reply! I appreciate it and will try to refactor after my paper deadline :) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
