Skip to content

[Bug] be crash when reading hive table from different format with same table #55747

@wuwenchi

Description

@wuwenchi

Search before asking

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

Version

master

What's Wrong?

be crash.
core stack:

Image

What You Expected?

be not crash

How to Reproduce?

  1. create a hive table with hive client:
CREATE TABLE cache_bug (
    c_tinyint      TINYINT,
    c_smallint     SMALLINT,
    c_int          INT,
    c_bigint       BIGINT,
    c_boolean      BOOLEAN,
    c_float        FLOAT
)
STORED AS PARQUET; 
INSERT INTO TABLE cache_bug VALUES
(1,    1,   1,        1,   true,   1.5);
  1. read this table with doris.
  2. drop this table and create an same name table with different format:
DROP TABLE cache_bug;
CREATE TABLE cache_bug (
    c_tinyint      TINYINT,
    c_smallint     SMALLINT,
    c_int          INT,
    c_bigint       BIGINT,
    c_boolean      BOOLEAN,
    c_float        FLOAT
)
STORED AS ORC; 

INSERT INTO TABLE cache_bug VALUES
(1,    1,   1,        1,   true,   1.5),
(1,    1,   1,        1,   true,   1.5),
(1,    1,   1,        1,   true,   1.5),
(1,    1,   1,        1,   true,   1.5),
(1,    1,   1,        1,   true,   1.5);
  1. read this table with doris, and be will crash.

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