Skip to content

[VL] Orc native scan can't read the table created with Hive #11010

@beliefer

Description

@beliefer

Backend

VL (Velox)

Bug description

We created the table with Hive client.

CREATE TABLE default.test_orc_table_hive_gluten
(
    id int,
    name string
)
PARTITIONED BY (dt string)
STORED AS ORC;

insert into test_orc_table_hive_gluten partition(dt='20240728') values (1, 'a'),(2,'b');

And query this table with Spark SQL.
select * from test_orc_table_hive_gluten where dt = '20240728';
We expected the output should be

1	a	20240728
2	b	20240728

The output show below.

NULL	NULL	20240728
NULL	NULL	20240728

Gluten version

1.3

Spark version

Spark 3.2.2 ~ 3.5.2

Spark configurations

No response

System information

No response

Relevant logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions