samueleresca commented on issue #17857: URL: https://github.com/apache/datafusion/issues/17857#issuecomment-3368519097
Could you please double-check my understanding for the following? Can't be the capacity calcuation replaced with `left.len()` assuming `left.len() and `right.len()` are the same? As the `with_capacity` refers to the length of the views (or strings) not to the length of the bytes? https://github.com/apache/datafusion/blob/182d5dc5e456322664da921f446018a0549e60bc/datafusion/physical-expr/src/expressions/binary/kernels.rs#L136-L146 -- 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]
