[ https://issues.apache.org/jira/browse/HIVE-8402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated HIVE-8402: ----------------------------- Attachment: HIVE-8402.patch A patch to change orc to not push sargs into the deltas. And to answer my earlier unknown, this did only happen when a base was also present. When there was no base file the sarg was not being written into the options passed to OrcRawRecordMerge (see OrcInputFormat.getReader, around line 1121). > Orc pushing SARGs into delta files causing ArrayOutOfBoundsExceptions > --------------------------------------------------------------------- > > Key: HIVE-8402 > URL: https://issues.apache.org/jira/browse/HIVE-8402 > Project: Hive > Issue Type: Bug > Components: File Formats, Transactions > Affects Versions: 0.14.0 > Reporter: Alan Gates > Assignee: Alan Gates > Priority: Blocker > Fix For: 0.14.0 > > Attachments: HIVE-8402.patch > > > ORC is in some instances pushing SARGs into delta files. This is wrong > behavior in general as it may result in failing to pull the most recent > version of a row. When the SARG is applied to a row that is deleted it > causes an ArrayOutOfBoundsException because there is no data in the row. -- This message was sent by Atlassian JIRA (v6.3.4#6332)