cloud-fan commented on pull request #30555:
URL: https://github.com/apache/spark/pull/30555#issuecomment-765111978


   I can't refer to code in our private repo, but the problem is after 
`PullupCorrelatedPredicates`, the correlated scalar subquery has more output 
columns (because the outer references are pulled up), then we can't use the 
DELETE/UPDATE/MERGE conditions to build Dataset, as Analyzer requires that 
scalar subquery can only have one output column.
   
   We've reverted this commit internally and are unblocked, but I'm not sure if 
there are others implementing DELETE/UPDATE/MERGE like us and get broken. If no 
other complaints I'm OK to not revert it.
   
   I agree with the plan rewriting approach, and I'm looking forward to your 
design doc!


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

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