Skip to content

Commit

Permalink
#22: Added list of supported table types to table metadata scanning
Browse files Browse the repository at this point in the history
message.
  • Loading branch information
redcatbear committed Jan 31, 2020
1 parent 9297d66 commit af64fd2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public Set<String> getSupportedTableTypes() {

protected void logTablesScan(final String catalogName, final String schemaName) {
LOGGER.fine(() -> {
final StringBuilder builder = new StringBuilder("Scanning \"");
final StringBuilder builder = new StringBuilder("Scanning ");
if (catalogName == null) {
builder.append("any catalog, ");
} else {
Expand All @@ -143,7 +143,8 @@ protected void logTablesScan(final String catalogName, final String schemaName)
builder.append(schemaName);
builder.append("\" ");
}
builder.append("for contained tables.");
builder.append("for contained tables of the following supported types: ");
builder.append(String.join(", ", getSupportedTableTypes()));
return builder.toString();
});
}
Expand Down

0 comments on commit af64fd2

Please sign in to comment.