brancz commented on issue #9005: URL: https://github.com/apache/arrow-rs/issues/9005#issuecomment-3661725824
If I'm understanding this right, the idea is that this is to rename a field? That seems like an odd use case for casting, wouldn't a better thing be to use the struct-building functionality, like [`named_struct`](https://datafusion.apache.org/user-guide/sql/scalar_functions.html#named-struct) and build it from the "previous" struct? If casting did this, I think it's far too easy to do the wrong thing accidentally. -- 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]
