[ 
https://issues.apache.org/jira/browse/HIVE-28800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941402#comment-17941402
 ] 

Denys Kuzmenko commented on HIVE-28800:
---------------------------------------

Merged to master
Thanks for the fix, [~seonggon]!

> Improve LongColumnStatsAggregator by preventing the overestimation of NDV
> -------------------------------------------------------------------------
>
>                 Key: HIVE-28800
>                 URL: https://issues.apache.org/jira/browse/HIVE-28800
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Seonggon Namgung
>            Assignee: Seonggon Namgung
>            Priority: Minor
>              Labels: pull-request-available
>
> When calculating the aggregated column statistics for a long-type column, the 
> estimated NDV may sometimes exceed the total number of integers within the 
> column’s value range. This estimated value is impossible and could lead to 
> incorrect optimization decisions based on the statistics.



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

Reply via email to