microbearz commented on code in PR #6516:
URL: https://github.com/apache/hudi/pull/6516#discussion_r963619301


##########
hudi-common/src/main/java/org/apache/hudi/BaseHoodieTableFileIndex.java:
##########
@@ -297,6 +297,16 @@ private void doRefresh() {
                   .orElse(Collections.emptyList())
               )
           );
+    } else if (tableType.equals(HoodieTableType.MERGE_ON_READ) && 
queryType.equals(HoodieTableQueryType.READ_OPTIMIZED)) {

Review Comment:
   "I see what you're saying now: so the problem is in that empty FileSlice, 
isn't it?"
   yes,  in pending compaction, method `getLatestFileSlice` always got the 
empty file slice



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