kgyrtkirk opened a new pull request, #17378: URL: https://github.com/apache/druid/pull/17378
Recent upgrade of calcite have brought a change which have fixed a minor correctness issue by not allowing the rewrite of `SUM(CASE WHEN COND THEN C ELSE 0 END)` to `SUM(C) FILTER(COND)` This patch restores the old behaviour as the nested `case_searched` the above may retain in the plans could have serious performance impacts. -- 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]
