wutiangan commented on a change in pull request #3587:
URL: https://github.com/apache/incubator-doris/pull/3587#discussion_r425210765



##########
File path: fe/src/main/java/org/apache/doris/catalog/Catalog.java
##########
@@ -4514,7 +4514,7 @@ public long getNextId() {
                     for (Partition partition : olapTable.getAllPartitions()) {
                         long partitionId = partition.getId();
                         DataProperty dataProperty = 
partitionInfo.getDataProperty(partition.getId());
-                        Preconditions.checkNotNull(dataProperty);
+                        Preconditions.checkNotNull(dataProperty, 
partition.getName() + ", pId:" + partitionId + ", db: " + dbId + ", tbl: " + 
tableId);

Review comment:
       The second parameter is better to be a complete sentence.




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

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



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

Reply via email to