Fix TableNotFound error message in PinotHelixResourceManager.getExistingTableNamesWithType() function.
Fix TableNotFound error message in PinotHelixResourceManager.getExistingTableNamesWithType() function
@@ -2616,7 +2616,7 @@ public class PinotHelixResourceManager {
}
if (tableNamesWithType.isEmpty()) {
- throw new TableNotFoundException(tableNamesWithType + " not found.");
+ throw new TableNotFoundException("Table '" + tableName + (tableType != null ? "_" + tableType.toString() : "") + "' not found.");
}
return tableNamesWithType;
