You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2021/09/28 10:53:00 UTC
[jira] [Created] (HIVE-25568) Estimate TopNKey operator statistics.
Krisztian Kasa created HIVE-25568:
-------------------------------------
Summary: Estimate TopNKey operator statistics.
Key: HIVE-25568
URL: https://issues.apache.org/jira/browse/HIVE-25568
Project: Hive
Issue Type: Improvement
Reporter: Krisztian Kasa
Currently TopNKey operator has the same statistics as it's parent operator:
{code}
TableScan
alias: src
Statistics: Num rows: 500 Data size: 89000 Basic stats: COMPLETE Column stats: COMPLETE
Top N Key Operator
sort order: +
keys: key (type: string)
null sort order: z
Statistics: Num rows: 500 Data size: 89000 Basic stats: COMPLETE Column stats: COMPLETE
top n: 5
{code}
This operator filters out rows and this should be indicated in statistics.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)