ankitsultana commented on code in PR #15550:
URL: https://github.com/apache/pinot/pull/15550#discussion_r2045309610


##########
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/TableConfigsRestletResource.java:
##########
@@ -161,6 +162,10 @@ public String getConfig(
     try {
       tableName = DatabaseUtils.translateTableName(tableName, headers);
       Schema schema = _pinotHelixResourceManager.getTableSchema(tableName);
+      if (schema == null) {
+        throw new NotFoundException(
+            String.format("TableConfigs: %s schema does not exist. Use POST to 
create it first.", tableName));

Review Comment:
   The `TableConfigs: ` prefix in the error message is a bit confusing?



-- 
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...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to