You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Juan Yu (JIRA)" <ji...@apache.org> on 2018/04/05 21:41:00 UTC

[jira] [Created] (IMPALA-6815) inconsistent stats in explain plan

Juan Yu created IMPALA-6815:
-------------------------------

             Summary: inconsistent stats in explain plan
                 Key: IMPALA-6815
                 URL: https://issues.apache.org/jira/browse/IMPALA-6815
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
            Reporter: Juan Yu


Explain plan shows inconsistent stats, see below. Not sure if the stats in HMS is corrupted, or Impala doesn't show the stats correctly.

| 00:SCAN HDFS [tpcds_100000_parquet.store_sales, RANDOM] |
| partitions=1824/1824 files=242616 *size=13.73TB* |               <==== I guess this is calculated from file metadata
| stored statistics: |
| table: rows=287997529286 *size=unavailable* |                    <=== this is from HMS
| partitions: 1824/1824 rows=287997529286 |
| columns: all |
| extrapolated-rows=disabled |
| mem-estimate=1.00MB mem-reservation=0B |
| tuple-ids=0 row-size=8B cardinality=287997529286 |
+--------------------------------------------------------------------------------------+

 

If stats vs stored stats are not the same, better to print a warning reminder use stats could be out-of-date.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)