You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Seonggon Namgung (Jira)" <ji...@apache.org> on 2025/03/04 12:00:01 UTC

[jira] [Created] (HIVE-28800) Improve LongColumnStatsAggregator by preventing overestimation of NDV

Seonggon Namgung created HIVE-28800:
---------------------------------------

             Summary: Improve LongColumnStatsAggregator by preventing 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


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)