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/06 21:30:39 UTC
[jira] [Created] (HIVE-12791) Truncated table stats should return 0
as datasize
Pengcheng Xiong created HIVE-12791:
--------------------------------------
Summary: Truncated table stats should return 0 as datasize
Key: HIVE-12791
URL: https://issues.apache.org/jira/browse/HIVE-12791
Project: Hive
Issue Type: Sub-task
Reporter: Pengcheng Xiong
Assignee: Pengcheng Xiong
{code}
create table s as select * from src;
truncate table s;
hive> explain select * from s;
OK
STAGE DEPENDENCIES:
Stage-0 is a root stage
STAGE PLANS:
Stage: Stage-0
Fetch Operator
limit: -1
Processor Tree:
TableScan
alias: s
Statistics: Num rows: 29 Data size: 5812 Basic stats: COMPLETE Column stats: NONE
Select Operator
expressions: key (type: string), value (type: string)
outputColumnNames: _col0, _col1
Statistics: Num rows: 29 Data size: 5812 Basic stats: COMPLETE Column stats: NONE
ListSink
Time taken: 0.048 seconds, Fetched: 17 row(s)
{code}
should be
{code}
Num rows: 1 Data size: 0
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)