jayzhan211 commented on issue #8708:
URL: 
https://github.com/apache/arrow-datafusion/issues/8708#issuecomment-2021709223

   Can we introduce `state_fields` and `fields` for `AggregateUDFImpl`.  We can 
see that types in `AggregateUDFImpl` are for  building fields, why not just 
return fields directly, we can not only define the types but also the `field 
name` and `is_nullalbe`.
   
   
https://github.com/apache/arrow-datafusion/blob/e337832946fc69f6ceccd14b96a071cc2cd4693d/datafusion/physical-plan/src/udaf.rs#L86-L106
   
   


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