leesf commented on a change in pull request #1237: [HUDI-583] Code Cleanup, 
remove redundant code, and other changes
URL: https://github.com/apache/incubator-hudi/pull/1237#discussion_r373764588
 
 

 ##########
 File path: 
hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/hive/HoodieCombineHiveInputFormat.java
 ##########
 @@ -356,25 +357,21 @@ public int hashCode() {
     HoodieCombineHiveInputFormat.HoodieCombineFileInputFormatShim combine =
         new HoodieCombineHiveInputFormat.HoodieCombineFileInputFormatShim();
 
-    InputSplit[] splits = null;
-    if (combine == null) {
-      splits = super.getSplits(job, numSplits);
-      return splits;
-    }
 
 Review comment:
   good catch, combine == null is always false.

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


With regards,
Apache Git Services

Reply via email to