hawk9821 commented on code in PR #8869: URL: https://github.com/apache/seatunnel/pull/8869#discussion_r1977690620
########## seatunnel-api/src/main/java/org/apache/seatunnel/api/table/catalog/Catalog.java: ########## @@ -58,6 +61,10 @@ default Optional<Factory> getFactory() { */ void open() throws CatalogException; + default Logger getLogger() { + return null; + } Review Comment: print logs matched tables ``` default List<CatalogTable> getTables(ReadonlyConfig config) throws CatalogException { ... if (getLogger() != null) { if (tablePaths.isEmpty()) { getLogger().info("No table matched the pattern: {}", tablePatternStr); } else { getLogger() .info( "{} tables matched the pattern: {}", tablePaths.size(), tablePatternStr); } } return buildCatalogTablesWithErrorCheck(tablePaths.iterator()); } ``` -- 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: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org