kasakrisz commented on code in PR #4779:
URL: https://github.com/apache/hive/pull/4779#discussion_r1357115907
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/DDLPlanUtils.java:
##########
@@ -271,9 +273,9 @@ public String getPartitionActualName(Partition pt) {
for (String partCol : partColsDef) {
String[] colValue = partCol.split("=");
if (colTypeMap.get(colValue[0]).equalsIgnoreCase("string")) {
Review Comment:
There are utility methods to do this check/convert. Please use them if
possible.
https://github.com/apache/hive/blob/1843105f27f0b3550f70f71e2bf44830c79a6c69/serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoUtils.java#L1013-L1020
--
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]