[ https://issues.apache.org/jira/browse/HIVE-25736?focusedWorklogId=687166&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-687166 ]
ASF GitHub Bot logged work on HIVE-25736: ----------------------------------------- Author: ASF GitHub Bot Created on: 29/Nov/21 08:13 Start Date: 29/Nov/21 08:13 Worklog Time Spent: 10m Work Description: 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 687166) Time Spent: 1.5h (was: 1h 20m) > Close ORC readers > ----------------- > > Key: HIVE-25736 > URL: https://issues.apache.org/jira/browse/HIVE-25736 > Project: Hive > Issue Type: Bug > Reporter: Peter Vary > Priority: Major > Labels: pull-request-available > Time Spent: 1.5h > Remaining Estimate: 0h > > After ORC-498 the Orc readers should be closed explicitly. One of the cases > was HIVE-25683, but there are several places where the ORC readers are still > not closed. > We should go through the code and make sure that the readers are closed. -- This message was sent by Atlassian Jira (v8.20.1#820001)