[ 
https://issues.apache.org/jira/browse/HIVE-25736?focusedWorklogId=686846&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-686846
 ]

ASF GitHub Bot logged work on HIVE-25736:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Nov/21 13:26
            Start Date: 26/Nov/21 13:26
    Worklog Time Spent: 10m 
      Work Description: 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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 686846)
    Time Spent: 1h 20m  (was: 1h 10m)

> 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: 1h 20m
>  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)

Reply via email to