You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/06/22 18:43:23 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #600: Allow User Defined Aggregates to return multiple values / structs

alamb commented on issue #600:
URL: https://github.com/apache/arrow-datafusion/issues/600#issuecomment-866240917


   > Would supporting structs for ScalarValues solve this nicely?
   
   I think so @jorgecarleitao  - what is also needed is some way in SQL to refer to the structs
   
   So like if the UDA could return a struct with fields `min` and `max` I would want to be able to do something like
   
   ```sql
   select t.min, t.max from (select my_udagg(col1, col2) from my_table) as t
   ```
   
   or something


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org