Skip to content

bug: cast nested type cause panic #17620

@b41sh

Description

@b41sh

Search before asking

  • I had searched in the issues and found no similar issues.

Version

main

What's Wrong?

panicked at src/common/column/src/bitmap/bitmap_ops.rs:119:5:
assertion `left == right` failed
  left: 5
 right: 11

How to Reproduce?

root@0.0.0.0:48000/default> create table tt5(a int, b array(int));
root@0.0.0.0:48000/default> insert into tt5 values(1, [1,2,3,4]),(2, null),(3, [5]),(4, [6,7]),(5, null),(6,[]),(7,[8,9,10]),(8,[11]);
root@0.0.0.0:48000/default> select cast(b, array(string)) from tt5 limit 3;
error: APIError: QueryFailed: [1104]assertion `left == right` failed
  left: 5
 right: 11

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

Labels

C-bugCategory: something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions