lokeshj1703 commented on code in PR #13436:
URL: https://github.com/apache/hudi/pull/13436#discussion_r2150529029


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieAppendHandle.java:
##########
@@ -194,8 +210,7 @@ private Option<FileSlice> 
populateWriteStatAndFetchFileSlice(HoodieRecord record
       prevCommit = instantTime;
       if (hoodieTable.getMetaClient().getTableConfig().isCDCEnabled()) {
         // the cdc reader needs the base file metadata to have deterministic 
update sequence.
-        TableFileSystemView.SliceView rtView = hoodieTable.getSliceView();
-        fileSlice = rtView.getLatestFileSlice(partitionPath, fileId);
+        fileSlice = getFileSlice();

Review Comment:
   Discussed offline, we are good here. Not making any changes to the core 
logic for secondary index.



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