You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Describe the bug
We fixed some Dictionary input issue for aggregate functions like
sum
andavg
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
.Expected behavior
Aggregation with group by should work with Dictionary array.
Additional context
No response
The text was updated successfully, but these errors were encountered: