Skip to content

concat_ws() fails with Utf8View, LargeUtf8 separators #20360

@neilconway

Description

@neilconway

Describe the bug

> create table t1 (sep text, v1 text, v2 text) as values (',', 'foo', 'bar');
0 row(s) fetched.
Elapsed 0.012 seconds.

> select concat_ws(arrow_cast(sep, 'Utf8View'), v1, v2) from t1;
Internal error: could not cast array of type Utf8View to arrow_array::array::byte_array::GenericByteArray<arrow_array::types::GenericStringType<i32>>.

To Reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions