datafusion icon indicating copy to clipboard operation
datafusion copied to clipboard

Support `columns_sorted` in row_filters

Open Ted-Jiang opened this issue 3 years ago • 0 comments

Is your feature request related to a problem or challenge? Please describe what you are trying to do. Now

/// For a given set of `Column`s required for predicate `Expr` determine whether all
/// columns are sorted. Sorted columns may be queried more efficiently in the presence of
/// a PageIndex.
fn columns_sorted(_columns: &[usize], _metadata: &ParquetMetaData) -> Result<bool> {
    // TODO How do we know this?
    Ok(false)
}

I think we can set true with one col with pageIndex set ordered. 🤔

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Ted-Jiang avatar Sep 14 '22 10:09 Ted-Jiang