jinchengchenghh commented on code in PR #9269:
URL: https://github.com/apache/incubator-gluten/pull/9269#discussion_r2034932280
##########
backends-velox/src/main/scala/org/apache/gluten/execution/ColumnarPartialProjectExec.scala:
##########
@@ -100,28 +100,24 @@ case class ColumnarPartialProjectExec(original:
ProjectExec, child: SparkPlan)(
}
private def getProjectIndexInChildOutput(exprs: Seq[Expression]): Unit = {
- exprs.forall {
+ exprs.foreach {
Review Comment:
forall can exit the condition early when not matched
--
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]