pratyakshsharma commented on a change in pull request #1433:
URL: https://github.com/apache/incubator-hudi/pull/1433#discussion_r426189694
##########
File path:
hudi-spark/src/main/java/org/apache/hudi/keygen/SimpleKeyGenerator.java
##########
@@ -66,6 +68,14 @@ public HoodieKey getKey(GenericRecord record) {
partitionPath = partitionPathField + "=" + partitionPath;
}
- return new HoodieKey(recordKey, partitionPath);
+ return partitionPath;
+ }
+
+ public String getRecordKey(GenericRecord record) {
Review comment:
Yeah this has been discussed already. Please refer to this -
https://github.com/apache/incubator-hudi/pull/1433#discussion_r411496396
----------------------------------------------------------------
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]