You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Terry Wang (Jira)" <ji...@apache.org> on 2019/11/27 07:39:00 UTC

[jira] [Created] (FLINK-14965) CatalogTableStatistics UNKNOWN should be consistent with TableStats UNKNOWN

Terry Wang created FLINK-14965:
----------------------------------

             Summary: CatalogTableStatistics UNKNOWN should be consistent with TableStats UNKNOWN
                 Key: FLINK-14965
                 URL: https://issues.apache.org/jira/browse/FLINK-14965
             Project: Flink
          Issue Type: Bug
    Affects Versions: 1.10.0
            Reporter: Terry Wang


UNKNOWN stats in
` org.apache.flink.table.catalog.stats

public class CatalogTableStatistics {
	public static final CatalogTableStatistics UNKNOWN = new CatalogTableStatistics(0, 0, 0, 0);
`
and 
`
org.apache.flink.table.plan.stats
public final class TableStats {
	public static final TableStats UNKNOWN = new TableStats(-1, new HashMap<>());
`
are not consistent which will cause some cbo unexpect behavior





--
This message was sent by Atlassian Jira
(v8.3.4#803005)