danny0405 commented on code in PR #13679:
URL: https://github.com/apache/hudi/pull/13679#discussion_r2255797050


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/FileGroupReaderBasedMergeHandle.java:
##########
@@ -163,6 +237,41 @@ private void init(CompactionOperation operation, String 
partitionPath) {
     }
   }
 
+  @Override
+  protected void populateIncomingRecordsMap(Iterator<HoodieRecord<T>> 
newRecordsItr) {
+    // no op.
+  }
+
+  /**
+   * For COW merge path, lets map the incoming records to another iterator 
which can be routed to {@link 
org.apache.hudi.common.table.read.buffer.StreamingFileGroupRecordBufferLoader}.
+   * @param newRecordsItr
+   */
+  private void populateIncomingRecordsMapIterator(Iterator<HoodieRecord<T>> 
newRecordsItr) {
+    String[] orderingFields = readerContext.getMergeMode() == 
RecordMergeMode.COMMIT_TIME_ORDERING

Review Comment:
   use `HoodieRecordUtils.getOrderingFieldNames` instead.



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