vrtrepp commented on a change in pull request #862:
URL: https://github.com/apache/hudi/pull/862#discussion_r479327469
##########
File path:
hudi-utilities/src/main/java/org/apache/hudi/utilities/keygen/TimestampBasedKeyGenerator.java
##########
@@ -102,7 +109,12 @@ public HoodieKey getKey(GenericRecord record) {
"Unexpected type for partition field: " +
partitionVal.getClass().getName());
}
- return new HoodieKey(DataSourceUtils.getNestedFieldValAsString(record,
recordKeyField),
+ return new HoodieKey(
+ fields.stream()
+ .map(
+ recordKeyField ->
+ DataSourceUtils.getNestedFieldValAsString(record,
recordKeyField))
+ .collect(Collectors.joining(".")),
Review comment:
this link is not available.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]