Skip to content

Commit

Permalink
Refactor DataNode (#32966)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Sep 23, 2024
1 parent 5542bbf commit 3df72e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private boolean isActualDataNodesIncludedDataSourceInstance(final String actualD
*/
public String format(final DatabaseType databaseType) {
DialectDatabaseMetaData dialectDatabaseMetaData = new DatabaseTypeRegistry(databaseType).getDialectDatabaseMetaData();
return dialectDatabaseMetaData.getDefaultSchema().isPresent() && schemaName != null ? dataSourceName + DELIMITER + schemaName + DELIMITER + tableName : dataSourceName + DELIMITER + tableName;
return dialectDatabaseMetaData.getDefaultSchema().isPresent() && null != schemaName ? dataSourceName + DELIMITER + schemaName + DELIMITER + tableName : dataSourceName + DELIMITER + tableName;
}

@Override
Expand Down

0 comments on commit 3df72e4

Please sign in to comment.