Skip to content

Cannot write to non-managed Hive table #28424

@shawnweeks

Description

@shawnweeks

Trino is not detecting a table as being hive managed despite the table being created against the default schema at the default location.

Take a look at my example at https://github.com/shawnweeks/open-bigdata-stack

docker compose up -d
# Wait 30-60 seconds for everything to start then start the trino cli
trino:default> create table test_hive_table(id bigint);
CREATE TABLE
trino:default> insert into test_hive_table select 1 as id;
Query 20260223_154212_00004_drhv4 failed: Cannot write to non-managed Hive table

trino:default>

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