raminqaf commented on PR #30185: URL: https://github.com/apache/flink/pull/30185#issuecomment-7375333680
> Thanks, LGTM once CI on [411804f](https://github.com/apache/flink/commit/411804f952a1e9a21d57ba19431997da5cb2da37) is green. Fine to leave the COALESCE sentence to [FLINK-41789](https://issues.apache.org/jira/browse/FLINK-41789), but nullable operands fail the same way there, since the plan checks `d IS NOT NULL` instead of the sum. Could you correct the ticket? Updated FLINK-41789. With nullable operands, `COALESCE(d + d, -1)` keeps the sum in the plan and returns -1, also on 2.3.0. The spelled-out `CASE WHEN d + d IS NOT NULL THEN d + d ELSE -1 END` is the one where the plan checks `d IS NOT NULL` and the job fails, so the ticket now shows both. Thanks for the review! -- 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]
