alamb opened a new issue, #18413: URL: https://github.com/apache/datafusion/issues/18413
### Is your feature request related to a problem or challenge? While I was working on https://github.com/apache/datafusion/issues/18337 I saw a lot of string copying happening when calculating qualified names and types and fields. For example, in Expr::to_field there are clones all over the place: https://github.com/apache/datafusion/blob/e65dafe7330f0324b28d9037f4e5a73cf12e99ce/datafusion/expr/src/expr_schema.rs#L440 There are also several places where the field names are copied at least twice ### Describe the solution you'd like Stop copying so much ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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]
