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)