Krisztian Kasa created HIVE-26967:
-------------------------------------

             Summary: Deadlock when enabling/disabling Materialized view stored 
by Iceberg
                 Key: HIVE-26967
                 URL: https://issues.apache.org/jira/browse/HIVE-26967
             Project: Hive
          Issue Type: Bug
          Components: Iceberg integration
            Reporter: Krisztian Kasa
            Assignee: Krisztian Kasa


{code}
set hive.support.concurrency=true;
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;

create table all100k(
        t int,
        si int,
        i int,
        b bigint,
        f float,
        d double,
        s string,
        dc decimal(38,18),
        bo boolean,
        v string,
        c string,
        ts timestamp,
        dt date)
    partitioned by spec (BUCKET(16, t))
    stored by iceberg
    stored as parquet;

create materialized view mv_rewrite stored by iceberg as select t, si from 
all100k where t>115;

explain select si,t from all100k where t>116 and t<120;

alter materialized view mv_rewrite disable rewrite;
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to