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)