jackwener commented on code in PR #7069:
URL: https://github.com/apache/arrow-datafusion/pull/7069#discussion_r1272424574
##########
datafusion/core/src/physical_planner.rs:
##########
@@ -942,10 +942,9 @@ impl DefaultPhysicalPlanner {
})
.collect::<Vec<_>>();
let projection =
- logical_plan::Projection::try_new_with_schema(
+ Projection::try_new(
final_join_result,
Arc::new(join_plan),
- join_schema.clone(),
Review Comment:
`project_schema` isn't necessary equal `join_schema`.
Sometime, `project_schema` is subset of `join_schema`, so recompute schema
is more right.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]