viirya commented on pull request #32586:
URL: https://github.com/apache/spark/pull/32586#issuecomment-856928680


   Yea, seems like. For non parent-child expressions, the order seems not 
related, but just need to make it consistent. Will submit a follow up to fix it.
   
   ```scala
   if (x.semanticEquals(y)) {
     0
   } else if (x.find(_.semanticEquals(y)).isDefined) {
     1
   } else {
     // instead of -1, we need to return a consistent comparison 
   }
   ```


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