ljishen commented on issue #14882:
URL: https://github.com/apache/arrow/issues/14882#issuecomment-1432575091
@westonpace Can we allow the struct type of data to be the target of an
aggregate? In this way, if we want to collect multiple columns in the output,
we don't need to do like
```
lists = tab.group_by("key").aggregate([("value1", "list"), ("value2",
"list")])
```
but maybe
```
lists = tab.group_by("key").aggregate([(["value1", "value2"], "list")])
```
Also, it may reduce the number of times to run the "hash_list" function from
2x to 1x in this case.
--
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]