[ 
https://issues.apache.org/jira/browse/HIVE-11688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Shelukhin updated HIVE-11688:
------------------------------------

Should this issue be backported to branch-1? It looks like a bug.

> OrcRawRecordMerger does not close primary reader if not fully consumed
> ----------------------------------------------------------------------
>
>                 Key: HIVE-11688
>                 URL: https://issues.apache.org/jira/browse/HIVE-11688
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>            Reporter: Sudheesh Katkam
>            Assignee: Sudheesh Katkam
>              Labels: orc
>             Fix For: 2.0.0
>
>         Attachments: HIVE-11688.patch
>
>
> If {{OrcRawRecordMerger#close}} is called before fully reading an orc file, 
> the {{primary}} reader is not closed. 
> The {{primary}} reader is assigned using {{readers.pollFirstEntry()}} which 
> deletes the reader from {{readers}}, and currently the 
> {{OrcRawRecordMerger#close}} method only closes readers in the map.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to