vvysotskyi commented on a change in pull request #1754: DRILL-7098: File 
Metadata Metastore Plugin
URL: https://github.com/apache/drill/pull/1754#discussion_r277233417
 
 

 ##########
 File path: 
metastore/metastore-api/src/main/java/org/apache/drill/metastore/TableStatisticsKind.java
 ##########
 @@ -37,8 +36,8 @@ public Long mergeStatistics(Collection<? extends 
BaseMetadata> statistics) {
       long rowCount = 0;
       for (BaseMetadata statistic : statistics) {
         Long statRowCount = getValue(statistic);
-        if (statRowCount == null || statRowCount == GroupScan.NO_COLUMN_STATS) 
{
-          rowCount = GroupScan.NO_COLUMN_STATS;
+        if (statRowCount == null || statRowCount ==  
Statistic.NO_COLUMN_STATS) {
 
 Review comment:
   ```suggestion
           if (statRowCount == null || statRowCount == 
Statistic.NO_COLUMN_STATS) {
   ```

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