hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-14310) ORC schema evolution should not completely disable PPD
Date Thu, 28 Jul 2016 19:04:20 GMT

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

Prasanth Jayachandran updated HIVE-14310:
-----------------------------------------
    Target Version/s: 2.1.0, 2.2.0  (was: 2.2.0)

> ORC schema evolution should not completely disable PPD
> ------------------------------------------------------
>
>                 Key: HIVE-14310
>                 URL: https://issues.apache.org/jira/browse/HIVE-14310
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Critical
>         Attachments: HIVE-14310.1.patch, HIVE-14310.2.patch, HIVE-14310.4.patch, HIVE-14310.WIP.patch
>
>
> Follow up for HIVE-14214 which completely shuts off PPD when there is any schema evolution.
Some evolutions are safer for PPD like
> byte -> short -> int -> long
> -float -> double- (This is unsafe, see comments in SchemaEvolution.java in the patch)
> varchar <-> string (string to char, varchar to char and vice versa is also unsafe
conversion as Orc stores internal index with padded spaces for char)
> For all other conversions we can disable PPD for that specific column that has evolved
by returning TruthValue.YES_NO



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

Mime
View raw message