kylebarron opened a new issue, #40648:
URL: https://github.com/apache/arrow/issues/40648

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   👋 I've been excited about the PyCapsule interface, and have been 
implementing it in my [geoarrow-rust 
project](https://github.com/geoarrow/geoarrow-rs). Every function call accepts 
any Arrow PyCapsule interface object, no matter its producer. It's really 
amazing!
   
   Fundamentally, my question is whether the existence of methods on an object 
should allow for an inference of its storage type. That is, should it be 
possible to observe whether a producer object is chunked or not based on 
whether it exports `__arrow_c_array__` or `__arrow_c_stream__`? I had been 
expecting yes, but this question came up 
[here](https://github.com/shapely/shapely/pull/1953#discussion_r1529247534), 
where nanoarrow implements _both_ `__arrow_c_array__` and `__arrow_c_stream__` 
   
   
   I'd argue that it's simpler to only define a single type of export method on 
a class and allow the consumer to convert to a different representation if they 
need. 
   
   ### Component(s)
   
   Python


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

Reply via email to