Skip to content

select array_concat([]) panicked #10200

@jonahgao

Description

@jonahgao

Describe the bug

thread 'main' panicked at datafusion/datafusion/functions-array/src/concat.rs:275:32:
index out of bounds: the len is 0 but the index is 0

To Reproduce

Run any of the following queries in CLI.

DataFusion CLI v37.1.0
> select array_concat([]);
DataFusion CLI v37.1.0
>  select array_concat(make_array());

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions