krishan1390 commented on code in PR #17679:
URL: https://github.com/apache/pinot/pull/17679#discussion_r2796840414


##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java:
##########
@@ -165,7 +165,7 @@ public static void validate(TableConfig tableConfig, Schema 
schema) {
    * TODO: Add more validations for each section (e.g. validate conditions are 
met for aggregateMetrics)
    */
   public static void validate(TableConfig tableConfig, Schema schema, 
@Nullable String typesToSkip) {
-    Preconditions.checkArgument(schema != null, "Schema should not be null");
+    Preconditions.checkArgument(schema != null, "Schema should not be null for 
table: %s", tableConfig.getTableName());

Review Comment:
   Table config won't be null. 



-- 
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]

Reply via email to