vincev opened a new issue, #7299:
URL: https://github.com/apache/arrow-datafusion/issues/7299
### Describe the bug
When we try to unnest an aggregated list array unnest fails with error:
```
ArrowError(ComputeError("concat requires input of at least one array"))
```
### To Reproduce
Unnesting a column aggregated with `array_agg` fails:
```rust
let results = ctx
.table("shapes")
.await?
.aggregate(
vec![col("shape_id")],
vec![array_agg(col("tag_id")).alias("tag_id")],
)?
.unnest_column("tag_id")?
.collect()
.await?;
```
### Expected behavior
Unnesting should revert the `array_agg` aggregation.
### 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]