Skip to content

Missing SerDeStorageSchemaReader class when creating tables with avro_schema_url #783

Description

@Jimvin

When creating a Hive external table with the Avro schema URL defined the result is a table that cannot be queried or droped:

 create table hive.test.avro_test (
    LOAD_DATE varchar,
    ID varchar,
    EMAIL varchar,
    NAME varchar
)
with (
    format = 'AVRO',
    external_location = 'hdfs://hdfs/test/table1',
    avro_schema_url = 'hdfs://hdfs/schema/table1.avsc'
);

All operations on the table produce the following error:

SQL Error [16777216]: Query failed (#20250804_105604_00015_upgzh): org.apache.hadoop.hive.metastore.SerDeStorageSchemaReader class not found
 
Once the table is created it can no longer be managed from Trino.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions