xicm commented on code in PR #9028:
URL: https://github.com/apache/hudi/pull/9028#discussion_r1237012094
##########
hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/util/HivePartitionUtil.java:
##########
@@ -57,7 +57,7 @@ public static String getPartitionClauseForDrop(String
partition, PartitionValueE
// This is a decode operator for encode in
KeyGenUtils#getRecordPartitionPath
partitionValue =
PartitionPathEncodeUtils.unescapePathName(partitionValue);
}
-
partBuilder.add(config.getSplitStrings(META_SYNC_PARTITION_FIELDS).get(i) + "="
+ partitionValue);
+
partBuilder.add(config.getSplitStrings(META_SYNC_PARTITION_FIELDS).get(i).toLowerCase()
+ "=" + partitionValue);
Review Comment:
Query is ok with lower case or uper case.
This case happens if we drop upper case partition in spark sql.
--
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]