[ 
https://issues.apache.org/jira/browse/DRILL-7098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822938#comment-16822938
 ] 

ASF GitHub Bot commented on DRILL-7098:
---------------------------------------

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

 ##########
 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) {
+          rowCount =  Statistic.NO_COLUMN_STATS;
 
 Review comment:
   ```suggestion
             rowCount = 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:
us...@infra.apache.org


> File Metadata Metastore Plugin
> ------------------------------
>
>                 Key: DRILL-7098
>                 URL: https://issues.apache.org/jira/browse/DRILL-7098
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components:  Server, Metadata
>            Reporter: Vitalii Diravka
>            Assignee: Vitalii Diravka
>            Priority: Major
>              Labels: Metastore
>             Fix For: 2.0.0
>
>
> DRILL-6852 introduces Drill Metastore API. 
> The second step is to create internal Drill Metastore mechanism (and File 
> Metastore Plugin), which will involve Metastore API and can be extended for 
> using by other Storage Plugins.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to