AnhTtis commented on PR #58377: URL: https://github.com/apache/spark/pull/58377#issuecomment-5460841777
Hi @cloud-fan, Could you please take a look at this PR when you have time? This PR adds test coverage and documentation for SPARK-58902 regarding the inlining behavior of `RewriteWithExpression` inside conditional branches (`CASE WHEN`, `If`, `Coalesce`). It covers the current plan comparison and documents the issue where inlining multi-referenced nondeterministic expressions (such as `randstr`, `rand()`, `uuid()`) can lead to multiple independent evaluations per row. Looking forward to your thoughts and guidance on the lazy per-row memoization design for these expressions. Thanks! -- 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]
