deniskuzZ commented on code in PR #4144:
URL: https://github.com/apache/hive/pull/4144#discussion_r1147526711


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java:
##########
@@ -1327,7 +1327,7 @@ public void visit(LeafNode node) throws MetaException {
         return;
       }
 
-      String colTypeStr = partitionKeys.get(partColIndex).getType();
+      String colTypeStr = 
MetaStoreUtils.getBaseNameOfColType(partitionKeys.get(partColIndex).getType());

Review Comment:
   i think you can use `TypeInfoUtils.getTypeInfoFromTypeString(colTypeStr )`



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