You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "viirya (via GitHub)" <gi...@apache.org> on 2023/05/05 07:09:31 UTC
[GitHub] [arrow-datafusion] viirya opened a new issue, #6243: Aggregation with group by cannot work for Dictionary array
viirya opened a new issue, #6243:
URL: https://github.com/apache/arrow-datafusion/issues/6243
### Describe the bug
We fixed some Dictionary input issue for aggregate functions like `sum` and `avg` in #6197. But we also found another issue of Dictionary input. Aggregation with group by cannot work for Dictionary array.
### To Reproduce
I've added test cases in `datafusion/core/tests/sqllogictests/test_files/aggregate.slt`.
```
DataFusion error: External error: Arrow error: Invalid argument error: RowConverter column schema mismatch, expected Int64 got Dictionary\(Int64, Int64\)
select sum(x_dict) from value_dict group by x_dict % 2;
```
### Expected behavior
Aggregation with group by should work with Dictionary array.
### 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: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] viirya closed issue #6243: Aggregation with group by cannot work for Dictionary array
Posted by "viirya (via GitHub)" <gi...@apache.org>.
viirya closed issue #6243: Aggregation with group by cannot work for Dictionary array
URL: https://github.com/apache/arrow-datafusion/issues/6243
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org