isidentical opened a new issue, #3647: URL: https://github.com/apache/arrow-datafusion/issues/3647
**Describe the bug** Specialized regexp_replace should early-abort when the the input arrays are empty **To Reproduce** Run a code that uses `DATAFUSION_EXECUTION_COALESCE_BATCHES=false` with a query that uses `regex_replace` (using the specialized version). It currently panics since apparently we construct empty-batches and still try to run them on some tasks (the actual batch works). **Expected behavior** It shouldn't fail but rather early abort when the size of any given arrays is 0 (we assume that all arrays are equally sized, due to how `make_static` works). **Additional context** None -- 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]
