prashantwason commented on code in PR #8758:
URL: https://github.com/apache/hudi/pull/8758#discussion_r1229085826


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/index/RunIndexActionExecutor.java:
##########
@@ -374,11 +371,15 @@ public void run() {
               case HoodieTimeline.COMMIT_ACTION:
               case HoodieTimeline.DELTA_COMMIT_ACTION:
               case HoodieTimeline.REPLACE_COMMIT_ACTION:
-                HoodieCommitMetadata commitMetadata = 
HoodieCommitMetadata.fromBytes(
-                    
table.getActiveTimeline().getInstantDetails(instant).get(), 
HoodieCommitMetadata.class);
+                // Indexes may require WriteStatus which cannot be read from 
the HoodieCommitMetadata. So if the original commit has not

Review Comment:
   Yes, only for RI we need Writestatus information which is not available 
here. I have reverted this and added a check for record index only.



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