alamb opened a new pull request, #20534: URL: https://github.com/apache/datafusion/pull/20534
## Which issue does this PR close? - part of #19795 - follow on to https://github.com/apache/datafusion/pull/20234 ## Rationale for this change While reviewing https://github.com/apache/datafusion/pull/20234 from @AdamGS I wondered why we were creating new `RecordBatch`es to simplify expressions. I looked into it a bit and I think we can avoid a bunch of small allocations / deallocations ## What changes are included in this PR? 1. Create the dummy batch once and reuse it ## Are these changes tested? Yes by CI. I will also run benchmarks on it ## Are there any user-facing changes? No this is entirely internal -- 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]
