nsivabalan commented on a change in pull request #3475:
URL: https://github.com/apache/hudi/pull/3475#discussion_r734976136



##########
File path: 
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/HoodieTable.java
##########
@@ -671,7 +671,7 @@ public String getBaseFileExtension() {
   }
 
   public boolean requireSortedRecords() {
-    return getBaseFileFormat() == HoodieFileFormat.HFILE;
+    return getBaseFileFormat() == HoodieFileFormat.HFILE || 
config.requiresSorting();

Review comment:
       @satishkotha : may I know why we need this extra condition. base file is 
always going to be HFile for metadata table right? Or do we have plans for any 
other partition where base file will not be Hfile in metadata table? 




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