jiangxt2 commented on code in PR #12828:
URL: https://github.com/apache/gravitino/pull/12828#discussion_r4047218554
##########
catalogs/catalog-jdbc-doris/src/main/java/org/apache/gravitino/catalog/doris/operation/DorisTableOperations.java:
##########
@@ -1073,7 +1073,7 @@ static String deleteIndexDefinition(
if (deleteIndex.isIfExists()) {
return "";
}
- Preconditions.checkArgument(false, "Index does not exist");
+ throw new IllegalArgumentException("Index does not exist");
Review Comment:
Addressed in commit 316b5cc. The strict missing-index error now includes the
requested index name, and the related unit-test assertions have been updated.
Targeted tests passed.
--
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]