rui-mo commented on code in PR #5216:
URL: https://github.com/apache/incubator-gluten/pull/5216#discussion_r1547147292
##########
backends-velox/src/main/scala/org/apache/gluten/execution/HashAggregateExecTransformer.scala:
##########
@@ -146,7 +146,7 @@ abstract class HashAggregateExecTransformer(
val (sparkOrders, sparkTypes) =
aggFunc.aggBufferAttributes.map(attr => (attr.name,
attr.dataType)).unzip
val veloxOrders =
VeloxIntermediateData.veloxIntermediateDataOrder(aggFunc)
- val adjustedOrders = sparkOrders.map(veloxOrders.indexOf(_))
+ val adjustedOrders =
sparkOrders.map(VeloxIntermediateData.getAttrIndex(veloxOrders, _))
Review Comment:
Is this change a bug fix?
--
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]