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

Butao Zhang updated HIVE-27961:
-------------------------------
    Component/s:     (was: Beeline)

> Beeline will print duplicate stats info when hive.tez.exec.print.summary is 
> true
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-27961
>                 URL: https://issues.apache.org/jira/browse/HIVE-27961
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Butao Zhang
>            Assignee: Butao Zhang
>            Priority: Minor
>
> Step to reproduce:
>  * create a hive table
>  
> {code:java}
> create table testdb.testllap(id int);{code}
>  
>  * insert into valuse;
>  
> {code:java}
> //print the detailed summary
> hive.tez.exec.print.summary=true;
> insert into testdb.testllap values(12);
> {code}
>  
>  
> You will find the duplicate stats info at the end of query:
> *INFO  : Table testdb.testllap stats: [numFiles=28, numRows=28, 
> totalSize=112, rawDataSize=84, numFilesErasureCoded=0]*
>  
> {code:java}
> INFO  : Starting task [Stage-0:MOVE] in serial mode
> INFO  : Loading data to table testdb.testllap from 
> hdfs://127.0.0.1:8028/user/hive/warehouse/hiveicetest/testdb.db/testllap/.hive-staging_hive_2023-12-19_20-06-11_985_6269276706280020141-9/-ext-10000
> INFO  : Starting task [Stage-3:STATS] in serial mode
> INFO  : Executing stats task
> INFO  : Table testdb.testllap stats: [numFiles=28, numRows=28, totalSize=112, 
> rawDataSize=84, numFilesErasureCoded=0]
> INFO  : Table testdb.testllap stats: [numFiles=28, numRows=28, totalSize=112, 
> rawDataSize=84, numFilesErasureCoded=0]
> INFO  : Completed executing 
> command(queryId=hive_20231219200611_4ae8a9eb-a1f6-4f85-80eb-d5d4dca91aad); 
> Time taken: 0.993 seconds
> 1 row affected (1.245 seconds) {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to