aokolnychyi edited a comment on pull request #31083:
URL: https://github.com/apache/spark/pull/31083#issuecomment-758664151


   @cloud-fan, I guess we could make it work if we really want by extending 
`AliasAwareOutputOrdering` to also cover casts like @viirya mentioned and 
adding more rules like `RemoveRedundantSorts` that would operate on physical 
plans.
   
   I am not sure we will gain anything that way but I am open to considering 
that. 


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