SinghAsDev commented on PR #4692:
URL: https://github.com/apache/iceberg/pull/4692#issuecomment-1132469759

   
   > > However, we want to remove sorts automatically without users having to 
figure out if all files are already sorted or not.
   > 
   > Yeah, I agree but I am afraid Iceberg can't do this on its own as we don't 
know whether there will be a shuffle. We can't remove the local sort if there 
is a subquery that is rewritten as a sort-merge join, can we?
   
   Yea, we can't tell for sure, but wondering if you see value in allowing 
users who know what they are doing to turn this optimization on. We are 
experimenting with this at Pinterest already and see significant improvements.
   
   


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