jinchengchenghh commented on code in PR #11435:
URL:
https://github.com/apache/incubator-gluten/pull/11435#discussion_r2712071198
##########
gluten-substrait/src/main/scala/org/apache/spark/sql/datasources/v2/ColumnarWriteToDataSourceV2Exec.scala:
##########
@@ -46,7 +46,7 @@ trait WritingColumnarBatchSparkTask[W <:
DataWriter[ColumnarBatch]]
val partId = context.partitionId()
val taskId = context.taskAttemptId()
val attemptId = context.attemptNumber()
- val dataWriter = factory.createWriter().asInstanceOf[W]
+ val dataWriter = factory.createWriter(partId, taskId).asInstanceOf[W]
Review Comment:
https://github.com/apache/incubator-gluten/blob/main/cpp/velox/compute/VeloxRuntime.h#L45C25-L45C38
we can get these two variables in native side by VeloxRuntime
--
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]