This is an automated email from the ASF dual-hosted git repository.

agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new bb99d2a97d Avoid extra clone in datafusion-proto::physical_plan (#8650)
bb99d2a97d is described below

commit bb99d2a97df3c654ee8c1d5520ffd15ef5612193
Author: Chih Wang <[email protected]>
AuthorDate: Wed Dec 27 22:56:14 2023 +0800

    Avoid extra clone in datafusion-proto::physical_plan (#8650)
---
 datafusion/proto/src/physical_plan/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datafusion/proto/src/physical_plan/mod.rs 
b/datafusion/proto/src/physical_plan/mod.rs
index df01097cfa..24ede3fcaf 100644
--- a/datafusion/proto/src/physical_plan/mod.rs
+++ b/datafusion/proto/src/physical_plan/mod.rs
@@ -486,7 +486,7 @@ impl AsExecutionPlan for PhysicalPlanNode {
                     physical_aggr_expr,
                     physical_filter_expr,
                     input,
-                    Arc::new(input_schema.try_into()?),
+                    physical_schema,
                 )?))
             }
             PhysicalPlanType::HashJoin(hashjoin) => {

Reply via email to