bgjackma commented on issue #5647:
URL: https://github.com/apache/datafusion/issues/5647#issuecomment-2357314078

   I don't think this works as a aggregate function in the physical plan. It 
depends on the grouping rather than the data, so the current abstraction 
doesn't have access to the necessary information.
   
   I think this case (along with GROUPING_ID, any others?) will need special 
handling in 
[`GroupHashedAggregateStream`](https://github.com/apache/datafusion/blob/aeca7ea99940401573eb14601c74316279bbdae5/datafusion/physical-plan/src/aggregates/row_hash.rs#L336).


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

Reply via email to