allisonwang-db opened a new pull request #34987:
URL: https://github.com/apache/spark/pull/34987


   ### What changes were proposed in this pull request?
   This PR allows the LateralJoin node's lateral subquery field to host 
non-deterministic expressions.
   
   ### Why are the changes needed?
   SPARK-37199 changes PlanExpression's `deterministic` field definition: both 
the children and the plan itself have to be deterministic for the plan 
expression to be deterministic. So LateralJoin node needs to be whitelisted in 
the CheckAnalysis in order to host non-deterministic plan expressions in its 
lateral subquery.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   SQL query tests.
   


-- 
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]

Reply via email to