andygrove commented on code in PR #3289:
URL: https://github.com/apache/datafusion-comet/pull/3289#discussion_r2849979047


##########
native/core/src/execution/jni_api.rs:
##########
@@ -531,6 +530,7 @@ pub unsafe extern "system" fn 
Java_org_apache_comet_Native_executePlan(
                 // so we should always execute partition 0.
                 let stream = root_op.native_plan.execute(0, task_ctx)?;
                 exec_context.stream = Some(stream);
+                exec_context.root_op = Some(root_op);

Review Comment:
   It has been a month since I made this change, so I do not fully remember, 
but maybe just removing an unnecessary clone.



-- 
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]

Reply via email to