walterddr commented on code in PR #8509:
URL: https://github.com/apache/pinot/pull/8509#discussion_r848610947
##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManager.java:
##########
@@ -1385,7 +1385,9 @@ public void addTable(TableConfig tableConfig)
throws IOException {
String tableNameWithType = tableConfig.getTableName();
if (getTableConfig(tableNameWithType) != null) {
- throw new TableAlreadyExistsException("Table " + tableNameWithType + "
already exists");
+ throw new TableAlreadyExistsException("Table config for " +
tableNameWithType
+ + " already exists. If this is unexpected, try deleting the table to
remove all metadata associated"
+ + " with it.");
Review Comment:
qq: if table config already exist. why can't we use the PUT endpoint to
modify the streamConfig so that ingestion error could be fixed?
any reason we had to delete and re-create again? (is it because the table
isn't showing up on UI?)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]