xuefuz commented on issue #10380: [FLINK-14662]Distinguish unknown 
CatalogTableStatistics and zero
URL: https://github.com/apache/flink/pull/10380#issuecomment-561965460
 
 
   @zjuwangg Here is the comment for this meaning of the property:
   
   >  //This string constant will be persisted in metastore to indicate whether 
corresponding
   >  //table or partition's statistics and table or partition's column 
statistics are accurate or not.
    
   This just mean whether the stats are accurate (up to date). It doesn't mean 
wheter the stats exists or not. (If the property is set, it probably means the 
stats exists.)
   
   I agree with @KurtYoung that it's probably more protective to treat 0 as 
unknown for Hive tables. For Flink tables, it's okay to treat -1 as unknown 
only. (Hive doesn't use these tables anyway.)
   
   

----------------------------------------------------------------
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