viirya commented on code in PR #213:
URL:
https://github.com/apache/arrow-datafusion-comet/pull/213#discussion_r1553721641
##########
spark/src/main/scala/org/apache/spark/sql/comet/CometBroadcastExchangeExec.scala:
##########
@@ -191,7 +193,7 @@ case class CometBroadcastExchangeExec(originalPlan:
SparkPlan, child: SparkPlan)
override protected def doExecuteColumnar(): RDD[ColumnarBatch] = {
val broadcasted = executeBroadcast[Array[ChunkedByteBuffer]]()
- new CometBatchRDD(sparkContext, broadcasted.value.length, broadcasted)
+ new CometBatchRDD(sparkContext, childRDD.getNumPartitions, broadcasted)
Review Comment:
Update. Child RDD partition number may also not be same as the zipping side.
We need to get the number of partition of zipping side when triggering this
execution method.
--
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]