yuqi1129 commented on code in PR #9118:
URL: https://github.com/apache/gravitino/pull/9118#discussion_r2527241690
##########
common/src/main/java/org/apache/gravitino/dto/requests/TableCreateRequest.java:
##########
@@ -160,6 +160,8 @@ public void validate() throws IllegalArgumentException {
.forEach(
index -> {
Preconditions.checkArgument(index.type() != null, "Index type
cannot be null");
+ Preconditions.checkArgument(
Review Comment:
Please change the message in L166 accordingly; it should be `The length of
fieldNames should be greater than 0` or something similar.
--
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]