peter-toth commented on PR #41677: URL: https://github.com/apache/spark/pull/41677#issuecomment-1601377122
> Removing the "branch groups" definitely simplifies things though if we're just willing to make those be conditional uses instead No, I mean although I removed `branchGroups` (and `alwaysEvaluatedInputs`) from `ConditionalExpression`, this PR maintains the count of sure evaluations correctly in `ExpressionStats.evalCount` as before. See `If(_, c, c)` => `c ->(1 + 0.0)` example in the description. And actually it is better than before in case of `CaseWhen`... -- 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]
