[ https://issues.apache.org/jira/browse/HIVE-11688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14723807#comment-14723807 ]
Prasanth Jayachandran commented on HIVE-11688: ---------------------------------------------- LGTM, +1. The test failure seems to be unrelated. > 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 > 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)