viirya commented on code in PR #178:
URL:
https://github.com/apache/arrow-datafusion-comet/pull/178#discussion_r1527659428
##########
core/src/execution/datafusion/planner.rs:
##########
@@ -1026,6 +1106,16 @@ impl From<ExpressionError> for DataFusionError {
}
}
+/// Returns true if given operator can return input array as output array
without
+/// modification. This is used to determine if we need to copy the input batch
to avoid
+/// data corruption from reusing the input batch.
+fn op_reuse_array(op: &Arc<dyn ExecutionPlan>) -> bool {
Review Comment:
Ok
--
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]