adriangb commented on issue #18957: URL: https://github.com/apache/datafusion/issues/18957#issuecomment-3584697945
I don't think using `SchemaAdapter` is the right move. Instead I think we need to extract the logic from it into a generalized cast operator that does the right thing and can be used from `PhysicalExprAdapter`. Even outside of this context it would be nice to be able to do `cast(struct_col, struct_type)` in sql, etc. -- 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]
