hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <>
Subject [jira] [Commented] (HIVE-11031) ORC concatenation of old files can fail while merging column statistics
Date Fri, 26 Jun 2015 19:10:05 GMT


Prasanth Jayachandran commented on HIVE-11031:

It could be because of this or HIVE-10685. Can you try with branch-1.2 and see if it works
for your query? Alternatively you can provide me a small repro. I can verify and confirm.

> ORC concatenation of old files can fail while merging column statistics
> -----------------------------------------------------------------------
>                 Key: HIVE-11031
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0, 0.14.0, 1.0.0, 1.2.0, 1.1.0, 2.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Critical
>             Fix For: 1.2.1
>         Attachments: HIVE-11031-branch-1.0.patch, HIVE-11031.2.patch, HIVE-11031.3.patch,
HIVE-11031.4.patch, HIVE-11031.patch
> Column statistics in ORC are optional protobuf fields. Old ORC files might not have statistics
for newly added types like decimal, date, timestamp etc. But column statistics merging assumes
column statistics exists for these types and invokes merge. For example, merging of TimestampColumnStatistics
directly casts the received ColumnStatistics object without doing instanceof check. If the
ORC file contains time stamp column statistics then this will work else it will throw ClassCastException.
> Also, the file merge operator swallows the exception.

This message was sent by Atlassian JIRA

View raw message