adriangb commented on issue #22079:
URL: https://github.com/apache/datafusion/issues/22079#issuecomment-4427439414

   I think part of the problem is that metadata can serve many purposes. 
Extension types are just one of them. In the context of types I agree this 
interaction with casting is buggy. But I don’t think it would be correct either 
for `select col::text` to strip arbitrary metadata that might not have anything 
to do with the type.
   
   Would a good compromise be that arrow extension type metadata specifically 
is wiped and comes only from the target field but other arbitrary metadata is 
preserved?


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