yihua commented on code in PR #6650:
URL: https://github.com/apache/hudi/pull/6650#discussion_r973618423
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/keygen/KeyGenUtils.java:
##########
@@ -74,7 +74,7 @@ public static String
getPartitionPathFromGenericRecord(GenericRecord genericReco
public static String[] extractRecordKeys(String recordKey) {
String[] fieldKV = recordKey.split(",");
return Arrays.stream(fieldKV).map(kv -> {
- final String[] kvArray = kv.split(":");
+ final String[] kvArray = kv.split(":", 2);
Review Comment:
Yes, I was referring to the same case and asking for adding a unit test in
the repo. I added a unit for this PR. Will land it once CI passes.
--
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]