hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunther Hagleitner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6562) Protection from exceptions in ORC predicate evaluation
Date Fri, 07 Mar 2014 22:21:42 GMT

    [ https://issues.apache.org/jira/browse/HIVE-6562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13924405#comment-13924405
] 

Gunther Hagleitner commented on HIVE-6562:
------------------------------------------

[~prasanth_j] this sounds like a bad idea, because it has the potential of masking random
errors. Can't you do a check for types (or avoid having types that don't match altogether?)

> Protection from exceptions in ORC predicate evaluation
> ------------------------------------------------------
>
>                 Key: HIVE-6562
>                 URL: https://issues.apache.org/jira/browse/HIVE-6562
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Prasanth J
>            Assignee: Prasanth J
>              Labels: orcfile
>         Attachments: HIVE-6562.1.patch
>
>
> ORC evaluates predicate expressions to select row groups that satisfy predicate condition.
There can be exceptions (mostly ClassCastException) when data types of predicate constant
and min/max values are different. 
> To avoid this patch catches any such exception and provides a default behaviour i.e;
selecting the row group.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message