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

Prasanth J commented on HIVE-6562:
----------------------------------

[~hagleitn] i agree that it will mask other errors too.. adding checks for 
valid types is also error prone..
instead of checking for different valid types for comparison.. how about just 
looking for ClassCastException and just ignore it i.e, select that particular 
row group..?

> 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)

Reply via email to