You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Yunhong Zheng (Jira)" <ji...@apache.org> on 2022/08/16 08:43:00 UTC

[jira] [Created] (FLINK-28992) Change Ndv takes the max value instead of sum of all partitions when getting partition table column stats

Yunhong Zheng created FLINK-28992:
-------------------------------------

             Summary: Change Ndv takes the max value instead of sum of all partitions when getting partition table column stats
                 Key: FLINK-28992
                 URL: https://issues.apache.org/jira/browse/FLINK-28992
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
    Affects Versions: 1.16.0
            Reporter: Yunhong Zheng
             Fix For: 1.16.0


Now, when we obtain column statistics Ndv of the partition table, we use the method of taking sum of Ndv of all partitions, which will cause the obtained stats to be far from the real stats. So now we take the max value instead of sum of all partitions.



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