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

 ##########
 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:
   ah yeah, no need for this and others to be protected, can be changed to 
default package access.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to