[
https://issues.apache.org/jira/browse/FLINK-14662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969748#comment-16969748
]
Jingsong Lee commented on FLINK-14662:
--------------------------------------
I think we have already used -1 to UNKNOWN:
{code:java}
public static final TableStats UNKNOWN = new TableStats(-1, new HashMap<>());
{code}
Where do you mean?
> Distinguish unknown table stats and zero
> ----------------------------------------
>
> Key: FLINK-14662
> URL: https://issues.apache.org/jira/browse/FLINK-14662
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / Hive, Table SQL / API
> Reporter: Kurt Young
> Priority: Major
>
> Currently UNKNOWN table stats is represented with zeros, which might confuse
> with KNOWN table stats with exactly 0 row count.
>
> We can use -1 to represent UNKNOWN instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)