pvary commented on a change in pull request #2813:
URL: https://github.com/apache/hive/pull/2813#discussion_r758118501
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/OrcFileMergeOperator.java
##########
@@ -154,6 +154,9 @@ private void processKeyValuePairs(Object key, Object value)
// next file in the path
if (!k.getInputPath().equals(prevPath)) {
+ if (reader != null) {
Review comment:
I think the line 111 is for the first time in the loop - we do not have
a previous path/reader at that time
--
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]