akupchinskiy commented on code in PR #1199:
URL: https://github.com/apache/datafusion-comet/pull/1199#discussion_r1903227347
##########
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:
The spark partition index is erased when a native DF plan is sent for the
execution for some reason :
https://github.com/apache/datafusion-comet/blob/main/native/core/src/execution/jni_api.rs#L496
--
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]