Hisoka-X commented on code in PR #6352:
URL: https://github.com/apache/seatunnel/pull/6352#discussion_r1545899908


##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/table/catalog/CatalogTableUtil.java:
##########
@@ -115,14 +115,14 @@ public static List<CatalogTable> getCatalogTables(
         return optionalCatalog
                 .map(
                         c -> {
-                            long startTime = System.currentTimeMillis();
                             try (Catalog catalog = c) {
+                                long startTime = System.currentTimeMillis();
                                 catalog.open();
                                 List<CatalogTable> catalogTables =
                                         catalog.getTables(readonlyConfig);
                                 log.info(
                                         String.format(
-                                                "Get catalog tables, cost 
time: %d",
+                                                "Get catalog tables, cost 
time: %d/ms",

Review Comment:
   ```suggestion
                                                   "Get catalog tables, cost 
time: %d ms",
   ```



##########
pom.xml:
##########
@@ -21,6 +21,7 @@
         <groupId>org.apache</groupId>
         <artifactId>apache</artifactId>
         <version>31</version>
+        <relativePath />

Review Comment:
   ```suggestion
   ```



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to