marton-bod commented on a change in pull request #2813:
URL: https://github.com/apache/hive/pull/2813#discussion_r757496016



##########
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:
       do we need to do this on line 111 as well? or at that point it's 
guaranteed to be the first reader instantiation?




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

Reply via email to