hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pengcheng Xiong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-12871) rawDataSize is always 0 for some query with concurrency support
Date Thu, 14 Jan 2016 06:48:39 GMT
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)

Mime
View raw message