Describe the bug
We meet a core dump when running the sql with hash agg. In this sql, the agg key is constant and one of the selected columns has Chinese value in it. After deep in it, we found that there is a buffer overflow problem when calling GetOrInsert.
Exception:
Capacity error: array cannot contain more than 2147483646 bytes, have 2147483708
To Reproduce
The data of chinese_col needs to be all different.
select chinese_col, col2, col3, sum(col4) from table group by 1,2,3,4
Expected behavior
No exception or coredump thrown.
Describe the bug We meet a core dump when running the sql with hash agg. In this sql, the agg key is constant and one of the selected columns has Chinese value in it. After deep in it, we found that there is a buffer overflow problem when calling GetOrInsert. Exception:
To Reproduce The data of chinese_col needs to be all different.
Expected behavior No exception or coredump thrown.