You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2023/01/20 08:09:00 UTC

[jira] [Resolved] (HIVE-26967) Deadlock when enabling/disabling Materialized view stored by Iceberg

     [ https://issues.apache.org/jira/browse/HIVE-26967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krisztian Kasa resolved HIVE-26967.
-----------------------------------
    Resolution: Fixed

Merged to master. Thanks [~zabetak] for the review.

> 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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> {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)