Skip to content

[Bug] Array column with delete condition #13360

@cambyzju

Description

@cambyzju

Search before asking

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

Version

latest-master

What's Wrong?

BE crashed

What You Expected?

fix

How to Reproduce?

  1. create table
CREATE TABLE `tbl` (
  `id` int(11) NULL,
  `c_array` array<int(11)> NULL
) ENGINE=OLAP
DUPLICATE KEY(`id`)
COMMENT 'OLAP'
DISTRIBUTED BY HASH(`id`) BUCKETS 1
PROPERTIES (
"replication_allocation" = "tag.location.default: 2",
"in_memory" = "false",
"storage_format" = "V2",
"disable_auto_compaction" = "false"
);
  1. insert data
    insert into tbl values(1, NULL),(2,[12,3]),(3,[]),(4,NULL),(5,NULL);

  2. delete some rows
    delete from tbl where c_array is null;

  3. select all rows, then BE crashed.
    select * from tbl;

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions