paleolimbot commented on issue #14247:
URL: https://github.com/apache/datafusion/issues/14247#issuecomment-2612829804

   Also a note that using a Field would require a serialization/deserialization 
every time the extension type is used (whereas some core "datatype" based on 
the `ExtensionType` is parsed once on the way in and serialized once on the way 
out.
   
   > What should be the behavior of a = b according to DF core's logic?
   
   Even if it doesn't know about extension types, it could always calculate 
equality for dispatch on `extension.name` and equality otherwise based on 
`extension.name` and `extension.metadata` being byte-for-byte equal. (An 
ExtensionType implementation, perhaps registered with the session, could 
provide smarter logic).


-- 
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-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to