zhuqi-lucas opened a new issue, #19329:
URL: https://github.com/apache/datafusion/issues/19329

   ### Is your feature request related to a problem or challenge?
   
   The phase 1 PR for sort pushdown with inexact mode implementation:
   https://github.com/apache/datafusion/pull/19064
   
   
   This ticket we will implement the phase 2:
   
   ```rust
   //! ## Current capabilities (Phase 1)
   //!
   //! - Reverse scan optimization: when required sort is the reverse of the 
data source's
   //!   natural ordering, enable reverse scanning (reading row groups in 
reverse order)
   //! - Supports prefix matching: if data has ordering [A DESC, B ASC] and 
query needs
   //!   [A ASC], reversing gives [A ASC, B DESC] which satisfies the 
requirement
   //!
   //! ## Future enhancements (Phase 2)
   //!
   //! - File reordering based on statistics
   //! - Return `Exact` when files are known to be perfectly sorted
   //! - Complete Sort elimination when ordering is guaranteed
   ```
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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