dongjoon-hyun commented on PR #60760: URL: https://github.com/apache/spark/pull/60760#issuecomment-7073256041
Thank you for the review and the approval, @wangyum. I folded both in: 1. `isBarrier(e)` now holds `!e.deterministic || e.throwable`, and both `isAfterBarrier` and the `AsOfJoin` ON-condition case use it. I named it `isBarrier` rather than `canFail`, since "can fail" in this rule means a conjunct that `ExprUtils.canEvaluateUnconditionally` rejects, such as an ANSI division, which is deterministic and not throwable, while `rand()` cannot fail but is a barrier. 2. `hasBarrier` is renamed to `isAfterBarrier`, matching the `afterBarrier` parameter that its result goes to. -- 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]
