andygrove opened a new issue, #11484: URL: https://github.com/apache/datafusion/issues/11484
### Is your feature request related to a problem or challenge? Given the expression `CASE WHEN predicate THEN expr ELSE null END` (as seen in some TPC-DS queries) we could do better than using our generic `CaseExpr`. In this specific case we can evaluate `expr` and create a new array using the existing data buffer but just replace the null mask with the results of evaluating the `predicate`. ### Describe the solution you'd like _No response_ ### 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]
