prashantwason commented on a change in pull request #1687:
URL: https://github.com/apache/hudi/pull/1687#discussion_r443849600
##########
File path:
hudi-client/src/main/java/org/apache/hudi/table/action/commit/CommitActionExecutor.java
##########
@@ -115,7 +115,11 @@ public CommitActionExecutor(JavaSparkContext jsc,
}
protected HoodieMergeHandle getUpdateHandle(String partitionPath, String
fileId, Iterator<HoodieRecord<T>> recordItr) {
- return new HoodieMergeHandle<>(config, instantTime, (HoodieTable<T>)table,
recordItr, partitionPath, fileId, sparkTaskContextSupplier);
+ if (table.requireSortedRecords()) {
Review comment:
Your understanding it correct.
I will take care of this in a separate PR with HFile implementation.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]