lirui-apache commented on issue #10380: [FLINK-14662]Distinguish unknown 
CatalogTableStatistics and zero
URL: https://github.com/apache/flink/pull/10380#issuecomment-562092565
 
 
   A related note is: Hive's `StatsOptimizer` can answer queries like 
`count(*)` by simply returning the stats stored in HMS. And it seems 
`StatsOptimizer` checks `COLUMN_STATS_ACCURATE ` to decide whether the stats 
are reliable. So we probably don't have to treat 0 as UNKNOWN if this flag is 
present.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to