andygrove commented on code in PR #1100:
URL: https://github.com/apache/datafusion-comet/pull/1100#discussion_r1851019192
##########
spark/src/main/scala/org/apache/comet/CometExecIterator.scala:
##########
@@ -95,7 +95,8 @@ class CometExecIterator(
nativeUtil.getNextBatch(
numOutputCols,
(arrayAddrs, schemaAddrs) => {
- nativeLib.executePlan(plan, arrayAddrs, schemaAddrs)
+ val ctx = TaskContext.get()
+ nativeLib.executePlan(ctx.stageId(), ctx.partitionId(), plan,
arrayAddrs, schemaAddrs)
Review Comment:
Yes, because we create one plan per partition we have a lot of repeated
plans and it is helpful to see the partition number.
--
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]