yihua commented on code in PR #13208:
URL: https://github.com/apache/hudi/pull/13208#discussion_r2059337971


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bulk/RowDataKeyGen.java:
##########
@@ -167,7 +167,9 @@ public String getPartitionPath(RowData rowData) {
   }
 
   private static String getRecordKey(Object[] keyValues, String[] keyFields, 
boolean consistentLogicalTimestampEnabled) {
-    return KeyGenerator.constructRecordKey(Arrays.asList(keyFields), 
Arrays.stream(keyValues).map(value -> 
getTimestampValue(consistentLogicalTimestampEnabled, 
value)).collect(Collectors.toList()));
+    AtomicInteger index = new AtomicInteger(0);

Review Comment:
   I see that `RowDataKeyGen.recordKeyProjection` is actually generated from 
`keyFields` and the logic is a bit convoluted in the current shape on master.  
Regardless, the latest changes look good.



-- 
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]

Reply via email to