Skip to content

Why does executing a sql "desc tableA" in hive command line report a error on a iceberg table with decimal(2,2) field type #11211

Open
@denghaiy

Description

@denghaiy

Apache Iceberg version

1.0.0

Query engine

Spark

Please describe the bug 🐞

We have created a iceberg table named "test.tableA" with a column type decimal(2,2), but it reports a error "org.apache.hadoop.hive.serde2.SerDeException java.lang.IllegalArgumentException " when we executed a sql "desc tableA" in hive command line,could you tell me whether it is a known issue? And then I also tried "show create table test.tableA" in hive command line,the result missed all the columns of the table.
By the way ,our hive version is 3.1.2, our spark version is 3.1.2, and the compatible packages for spark&hive and iceberg are iceberg-spark-runtime-3.2_2.12-1.0.0.jar and iceberg-hive-runtime-1.0.0.jar
hive_sql_error
spark-sql-iceberg

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions