wForget commented on code in PR #12087:
URL: https://github.com/apache/gluten/pull/12087#discussion_r3315265975
##########
backends-velox/src/main/scala/org/apache/gluten/extension/AppendBatchResizeForShuffleInputAndOutput.scala:
##########
@@ -22,17 +22,18 @@ import org.apache.gluten.execution.VeloxResizeBatchesExec
import org.apache.spark.sql.catalyst.rules.Rule
import org.apache.spark.sql.execution.{ColumnarShuffleExchangeExec, SparkPlan}
import org.apache.spark.sql.execution.adaptive.{AQEShuffleReadExec,
ShuffleQueryStageExec}
-import org.apache.spark.sql.execution.exchange.ReusedExchangeExec
/**
* Try to append [[VeloxResizeBatchesExec]] for shuffle input and output to
make the batch sizes in
* good shape.
*/
-case class AppendBatchResizeForShuffleInputAndOutput() extends Rule[SparkPlan]
{
+case class AppendBatchResizeForShuffleInputAndOutput(isAdaptiveContext:
Boolean)
Review Comment:
Where is `isAdaptiveContext` used?
--
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]