raviston commented on PR #60296: URL: https://github.com/apache/spark/pull/60296#issuecomment-6790148765
FYI, the `DIVIDE_BY_ZERO` during optimization that I reported above also happens on master, without this PR, when the expression is directly in the subquery, e.g. `SELECT k, (SELECT 10 / COALESCE(MAX(v), 0) FROM i WHERE i.k = o.k) FROM o`. I filed it as [SPARK-61444](https://issues.apache.org/jira/browse/SPARK-61444) and opened #60325 for master with the `tryEvalExpr` fallback, so this PR doesn't need to include it. It would also cover item 2 of the review above if changes 2 and 3 are proposed again later. -- 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]
