sajjad-moradi commented on a change in pull request #6331:
URL: https://github.com/apache/incubator-pinot/pull/6331#discussion_r540421954



##########
File path: 
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManager.java
##########
@@ -2573,6 +2577,13 @@ private void waitForSegmentsBecomeOnline(String 
tableNameWithType, Set<String> s
     return onlineSegments;
   }
 
+  public TableStats getTableStats(String tableNameWithType) {
+    String zkPath = 
ZKMetadataProvider.constructPropertyStorePathForResourceConfig(tableNameWithType);
+    ZNRecord znRecord = ZKMetadataProvider.getZnRecord(_propertyStore, zkPath);
+    String creationTime = 
SIMPLE_DATE_FORMAT.format(znRecord.getCreationTime());

Review comment:
       Sure. Seconds are added now.




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



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

Reply via email to