comphead commented on code in PR #1199:
URL: https://github.com/apache/datafusion-comet/pull/1199#discussion_r1901255361
##########
native/core/src/execution/jni_api.rs:
##########
@@ -317,7 +317,7 @@ pub unsafe extern "system" fn
Java_org_apache_comet_Native_executePlan(
// query plan, we need to defer stream initialization to first time
execution.
if exec_context.root_op.is_none() {
let start = Instant::now();
- let planner =
PhysicalPlanner::new(Arc::clone(&exec_context.session_ctx))
+ let planner =
PhysicalPlanner::new(Arc::clone(&exec_context.session_ctx), partition)
Review Comment:
here is interesting. Is there any reason the partition is not used in Comet
native physical planner? this is def used in DF physical plan during plan node
execution
https://github.com/apache/datafusion/blob/main/datafusion/physical-plan/src/execution_plan.rs#L371
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]