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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The implementation of `pyarrow.schema` doesn't allow objects that are 
`Mapping`s to take advantage of `__arrow_c_schema__` because `Mapping` is 
checked before `__arrow_c_schema__` is checked.
   
   This seems like a bug considering that custom schema objects naturally fit 
into the `Mapping` concept.
   
   Would it make sense to swap the order here and first check for 
`__arrow_c_schema__` and **then** check whether an object is a mapping?
   
   ### 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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to