deniskuzZ commented on code in PR #5251:
URL: https://github.com/apache/hive/pull/5251#discussion_r1624760868
##########
ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveRecordReader.java:
##########
@@ -88,14 +90,26 @@ public CombineHiveRecordReader(InputSplit split,
Configuration conf,
}
}
+ FileSplit inputSplit;
// create a split for the given partition
- FileSplit fsplit = new FileSplit(hsplit.getPaths()[partition], hsplit
- .getStartOffsets()[partition], hsplit.getLengths()[partition], hsplit
- .getLocations());
+ if (inputFormat instanceof CombineHiveInputFormat.MergeSplit) {
+ if (mrwork == null) {
+ mrwork = (MapWork) Utilities.getMergeWork(jobConf);
+ if (mrwork == null) {
Review Comment:
can it be null?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]