Skip to content

OmniOperator: Spark ORC Unknown Type Error #57

@XiaoqiMa

Description

@XiaoqiMa

Issue: Orc Type Error
image

ORC: TypeKind::Short -> SmallInt -> Omni:Int

OrcColumnarBatchJniReader.cpp, OrcColumnarBgatchJniReader.java needs support for Short type

  1. create table and insert data
    create table if not exists test_smallint(id smallint);
    insert into test_smallint select 1;
  2. running sql:
    select * from test_smallint;
    image

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