You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2016/01/14 07:48:39 UTC
[jira] [Created] (HIVE-12871) rawDataSize is always 0 for some
query with concurrency support
Pengcheng Xiong created HIVE-12871:
--------------------------------------
Summary: rawDataSize is always 0 for some query with concurrency support
Key: HIVE-12871
URL: https://issues.apache.org/jira/browse/HIVE-12871
Project: Hive
Issue Type: Sub-task
Reporter: Pengcheng Xiong
{code}
set hive.stats.fetch.column.stats=true;
set hive.stats.fetch.partition.stats=true;
set hive.compute.query.using.stats=true;
set hive.mapred.mode=nonstrict;
set hive.exec.dynamic.partition.mode=nonstrict;
set hive.support.concurrency=true;
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
drop table calendar;
CREATE TABLE calendar (year int, month int) clustered by (month) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true');
insert into calendar values (2010, 10), (2011, 11), (2012, 12);
desc formatted calendar;
{code}
desc will return
{code}
rawDataSize 0
totalSize 1242
{code}
If I commented out
{code}
set hive.support.concurrency=true;
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
{code}
It will return
{code}
rawDataSize 24
totalSize 547
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)