suremarc commented on PR #9813:
URL: 
https://github.com/apache/arrow-datafusion/pull/9813#issuecomment-2052397924

   @alamb While testing out this feature, I've noticed that the sort 
elimination doesn't work when certain projections are involved. E.g.,
   
   ```sql
   EXPLAIN
   SELECT "time" FROM data
   WHERE "ticker" = 'A'
   ORDER BY "time"
   ```
   
   fails to eliminate the sort, but `SELECT *` works. 
   
   It seems like some substantial work has been done for propagating ordering 
through projections (#7363), but I guess it didn't work in this case. Curious 
what your thoughts are here @mustafasrepo 
   
   I still think this PR can be merged as-is, but I will make a follow-up issue 
unless anyone has any objections


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

Reply via email to