pub fn arrow_pk_sort_exprs(
    key_columns: Vec<&str>,
    input_schema: &ArrowSchema,
) -> Vec<PhysicalSortExpr> {
    let mut sort_exprs = vec![];
    for key in key_columns {
        let expr = physical_col(key, input_schema).expect("pk in schema");
        sort_exprs.push(PhysicalSortExpr {
            expr,
            options: SortOptions {
                descending: false,
                nulls_first: false,
            },
        });
    }

    sort_exprs
}
/// Returns the pk in arrow's expression used for data sorting
Returns the pk in arrow's expression used for data sorting
Returns the pk in arrow ' s expression used for data sorting
pub fn arrow_pk_sort_exprs(
    key_columns: Vec<&str>,
    input_schema: &ArrowSchema,
) -> Vec<PhysicalSortExpr> {
    let mut sort_exprs = vec![];
    for key in key_columns {
        let expr = physical_col(key, input_schema).expect("pk in schema");
        sort_exprs.push(PhysicalSortExpr {
            expr,
            options: SortOptions {
                descending: false,
                nulls_first: false,
            },
        });
    }
    sort_exprs
}
pub fn arrow_pk_sort_exprs ( key_columns : Vec < & str > , input_schema : & ArrowSchema , ) -> Vec < PhysicalSortExpr > { let mut sort_exprs = vec ! [ ] ; for key in key_columns { let expr = physical_col ( key , input_schema ) . expect ( " " ) ; sort_exprs . push ( PhysicalSortExpr { expr , options : SortOptions { descending : false , nulls_first : false , } , } ) ; } sort_exprs }
Returns the pk in arrow's expression used for data sorting
Returns the pk in arrow ' s expression used for data sorting
key_columns
Vec<&str>
input_schema
&ArrowSchema
key_columns
Vec<&str>
input_schema
&ArrowSchema