viirya opened a new issue, #156:
URL: https://github.com/apache/arrow-datafusion-comet/issues/156

   ### Describe the bug
   
   We now bind aggregate expressions to the input of partial aggregate for 
`HashAggregate` no matter what the mode is.  However, the output of partial 
aggregate is not same as its input. This incorrect binding will cause unmatched 
column index. Currently it doesn't expose issues because we don't check the 
index of bound reference in native side, and the bound columns in aggregate 
expressions are not used.
   
   However, this is a potential bug and causes some issues when starting to 
check the index of bound reference. For example, when I work on SortMergeJoin, 
the operator needs the check to make sure join keys are bound to correct schema.
   
   
   ### Steps to reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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]

Reply via email to