paleolimbot commented on PR #1299:
URL: 
https://github.com/apache/datafusion-python/pull/1299#issuecomment-3482496877

   > What do you think?
   
   Definitely! Passing the argument fields/return fields should do it. Using 
`__arrow_c_schema__` might be more flexible than `isinstance(x, pa.Field)` 
(arro3, nanoarrow, and polars types would work too).
   
   We have a slightly different signature model in SedonaDB ("type matchers") 
because the existing signature matching doesn't consider metadata, but at the 
Arrow/FFI level we're doing approximately the same thing: 
https://github.com/apache/sedona-db/pull/228 . We do use the concept of 
`SedonaType` for arguments and return type (but these are serializable 
to/deserializable from fields).


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to