You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Phase 2: make sort pushdown support exact mode which can support sort elimination when ordering is guaranteed #19329
Is your feature request related to a problem or challenge?
The phase 1 PR for sort pushdown with inexact mode implementation: #19064
This ticket we will implement the phase 2:
//! ## 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
changed the title [-]Phase 2: make sort pushdown support exact mode which can remove sort, also can File reordering based on statistics[/-][+]Phase 2: make sort pushdown support exact mode which can support sort elimination when ordering is guaranteed[/+]on Dec 15, 2025
Activity
[-]Phase 2: make sort pushdown support exact mode which can remove sort, also can File reordering based on statistics[/-][+]Phase 2: make sort pushdown support exact mode which can support sort elimination when ordering is guaranteed[/+]feat: sort file groups by statistics during sort pushdown (Sort pushd…
feat: sort file groups by statistics during sort pushdown (Sort pushd…
feat: sort file groups by statistics during sort pushdown (Sort pushd…
feat: sort file groups by statistics during sort pushdown (Sort pushd…
feat: exact reverse scan for parquet sort pushdown (apache#27079)