Skip to content

Unable to create table with name > 128 on Hive Thrift metastore #23075

Closed as not planned
@jinyangli34

Description

@jinyangli34

Recently hit a problem when using table with name length > 128. Failed to create table due to HMS SERDES.NAME column restriction:

Caused by: io.trino.hive.thrift.metastore.MetaException: Attempt to store value "jl_name_129_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" in column "`NAME`" that has maximum length of 128. Please correct your data!

Any reason we need to set tableName as serdeName?

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