diqiu50 commented on code in PR #10781:
URL: https://github.com/apache/gravitino/pull/10781#discussion_r3128286838


##########
catalogs/catalog-glue/src/main/java/org/apache/gravitino/catalog/glue/GlueTypeConverter.java:
##########
@@ -53,7 +53,10 @@ public class GlueTypeConverter implements 
DataTypeConverter<String, String> {
 
   @Override
   public Type toGravitino(String glueType) {
-    if (glueType == null || glueType.isEmpty()) {
+    if (glueType == null) {
+      throw new IllegalArgumentException("Glue column type must not be null");
+    }
+    if (glueType.isEmpty()) {
       return Types.ExternalType.of("");
     }

Review Comment:
   fixed



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

Reply via email to