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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)