This is an automated email from the ASF dual-hosted git repository.

mchades pushed a commit to branch codex/strict-function-data-type-input
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to 
refs/heads/codex/strict-function-data-type-input by this push:
     new 5ae9087a49 [#12927] fix(function): Clarify blank type validation 
message
5ae9087a49 is described below

commit 5ae9087a496d556fc16a5fe031e88f8283fbf8b0
Author: mchades <[email protected]>
AuthorDate: Fri Sep 4 22:15:54 2026 +0800

    [#12927] fix(function): Clarify blank type validation message
---
 .../org/apache/gravitino/dto/requests/FunctionDataTypeValidator.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/common/src/main/java/org/apache/gravitino/dto/requests/FunctionDataTypeValidator.java
 
b/common/src/main/java/org/apache/gravitino/dto/requests/FunctionDataTypeValidator.java
index bef5a6fcf9..23fd3aad6b 100644
--- 
a/common/src/main/java/org/apache/gravitino/dto/requests/FunctionDataTypeValidator.java
+++ 
b/common/src/main/java/org/apache/gravitino/dto/requests/FunctionDataTypeValidator.java
@@ -74,7 +74,7 @@ final class FunctionDataTypeValidator {
       Types.ExternalType externalType = (Types.ExternalType) dataType;
       Preconditions.checkArgument(
           StringUtils.isNotBlank(externalType.catalogString()),
-          "\"%s.catalogString\" field is required and cannot be empty",
+          "\"%s.catalogString\" field is required and cannot be blank",
           fieldPath);
       return;
     }

Reply via email to