tanelk commented on pull request #29871:
URL: https://github.com/apache/spark/pull/29871#issuecomment-699687066


   > If there are multiple candidate plans with same cost, I think `different 
inputs produce different outputs` is reasonable,so only need ensure the same 
behavior in Scala 2.12 and Scala 2.13
   
   With this change optimally ordered input doesn't get reordered into another 
plan with the same cost - this makes `CostBasedJoinReorder` idempotent, that 
can help catch bugs. 
   
   I had a wrong approach to solving this earlier, now it should stable. 


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