turboFei commented on code in PR #6207:
URL: https://github.com/apache/kyuubi/pull/6207#discussion_r1538524913


##########
kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/JdbcColumn.java:
##########
@@ -240,6 +241,8 @@ static String getColumnTypeName(TTypeId type) throws 
SQLException {
         return "struct";
       case NULL_TYPE:
         return "void";
+      case USER_DEFINED_TYPE:
+        return "user_defined";

Review Comment:
   ```
     USER_DEFINED_TYPE("USER_DEFINED",
         java.sql.Types.OTHER,
         TTypeId.USER_DEFINED_TYPE,
         true, false);
   
     private final String name;
     private final TTypeId tType;
     private final int javaSQLType;
     private final boolean isQualified;
     private final boolean isComplex;
     private final boolean isCollection;
   
     Type(String name, int javaSQLType, TTypeId tType, boolean isQualified, 
boolean isComplex,
         boolean isCollection) {
       this.name = name;
       this.javaSQLType = javaSQLType;
       this.tType = tType;
       this.isQualified = isQualified;
       this.isComplex = isComplex;
       this.isCollection = isCollection;
     }
   ```



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to