Krisztian Kasa created HIVE-25654: ------------------------------------- Summary: Stats of transactional table updated when transaction is rolled back Key: HIVE-25654 URL: https://issues.apache.org/jira/browse/HIVE-25654 Project: Hive Issue Type: Bug Components: Statistics Reporter: Krisztian Kasa
{code:java} set hive.support.concurrency=true; set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; create table t1(a int) stored as orc TBLPROPERTIES ('transactional'='true'); describe formatted t1; -- simulate rollback set hive.test.rollbacktxn=true; insert into t1(a) values (1),(2),(3); describe formatted t1; select count(1) from t1; {code} {code} POSTHOOK: query: describe formatted t1 ... numFiles 1 numRows 3 rawDataSize 0 totalSize 632 transactional true ... POSTHOOK: query: select count(1) from t1 POSTHOOK: type: QUERY POSTHOOK: Input: default@t1 0 {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)