Array_agg() does not work

I am using

Build
25.2.0-202410241428100111-a963b970
Edition
Community Edition
Build Time
10/24/2024 14:33:07
Change Hash
a963b9700065580085db55774de40257e6ea70cd
Change Time
10/24/2024 14:27:52

When I ran this SQL


with data as (

select 1 as some_col
UNION ALL

select 2
)

select array_agg(some_col) from data

I got this error

IllegalArgumentException: Error: detected inconsistent fixedBlocks in hashtable after unsuccessful batch extention

Mine still works fine (24.3.2 Community Edition + Yarn Engine)

@Ken Mine works too on 26.0.2. Does it always happen? Can you try and upgrade and retry? Can we also get the job profile of the failed job?

This looks like an execution bug rather than a problem with the SQL: the query is tiny, and the error is from hash-table batch extension. The build hash is from October 2024, so first try the same query on the latest 25.2 patch or a newer supported release. If it still fails, attach the job profile and coordinator log around the failure; those should show which operator is throwing the exception.

This looks like an execution bug rather than a problem with the SQL: the query is tiny, and the error is from hash-table batch extension. The build hash is from October 2024, so first try the same query on the latest 25.2 patch or a newer supported release. If it still fails, attach the job profile and coordinator log around the failure; those should show which operator is throwing the exception.