Skip to content

groupArray & aggregate_functions_null_for_empty = DB::Exception #38738

@den-crane

Description

@den-crane
SELECT groupArray(number)
FROM numbers(10)
SETTINGS aggregate_functions_null_for_empty = 1

Query id: ab4c14d4-4d32-4baa-99f5-d2dd91dde25c


0 rows in set. Elapsed: 0.023 sec.

Received exception from server (version 22.7.1):
Code: 43. DB::Exception: Received from localhost:9000. 
DB::Exception: Nested type Array(UInt64) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT)

Metadata

Metadata

Assignees

No one assigned

    Labels

    unexpected behaviourResult is unexpected, but not entirely wrong at the same time.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions