Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
zealchen committed Mar 12, 2024
1 parent 76e6007 commit 6d6d039
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/components/parquet_ext/src/prune/min_max.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,15 @@ fn filter_row_groups_inner(
results
}

fn logical2physical(expr: &Expr, schema: &ArrowSchema, execution_props: &ExecutionProps) -> DataFusionResult<Arc<dyn PhysicalExpr>> {
schema.clone().to_dfschema().and_then(|df_schema| {
create_physical_expr(expr, &df_schema, schema, execution_props)
})
fn logical2physical(
expr: &Expr,
schema: &ArrowSchema,
execution_props: &ExecutionProps,
) -> DataFusionResult<Arc<dyn PhysicalExpr>> {
schema
.clone()
.to_dfschema()
.and_then(|df_schema| create_physical_expr(expr, &df_schema, schema, execution_props))
}

fn build_row_group_predicate(
Expand Down

0 comments on commit 6d6d039

Please sign in to comment.