You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/02/07 18:47:59 UTC

[GitHub] justinborromeo commented on a change in pull request #6888: Fix num_rows in sys.segments

justinborromeo commented on a change in pull request #6888: Fix num_rows in sys.segments
URL: https://github.com/apache/incubator-druid/pull/6888#discussion_r254818873
 
 

 ##########
 File path: sql/src/main/java/org/apache/druid/sql/calcite/schema/DruidSchema.java
 ##########
 @@ -351,7 +352,8 @@ public void awaitInitialization() throws InterruptedException
     return builder.build();
   }
 
-  private void addSegment(final DruidServerMetadata server, final DataSegment segment)
+  @VisibleForTesting
+  protected void addSegment(final DruidServerMetadata server, final DataSegment segment)
 
 Review comment:
   Would this be better as package private instead of protected?  Since there's no subclasses in other packages, is there a need to be protected?

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org