clintropolis opened a new pull request, #18507: URL: https://github.com/apache/druid/pull/18507
### Description Vectorizes the `if` expression in cases where both then and else clause have the same `getOutputType`. This avoids solving a harder problem which is that the non-vectorized conditional expressions allow varying return types between the different result expressions and does not coerce them to a common type. I think we should consider changing this to coerce to the least restrictive type to behave consistently with other functions, but not in this PR. I haven't measured performance of this yet to compare non-vectorized and vectorized performance, but will try to do that soon. -- 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]
