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

Prasanth Jayachandran commented on HIVE-10286:
----------------------------------------------

I will go over the test cases again to make sure the changes are correct.

> SARGs: Type Safety via PredicateLeaf.type
> -----------------------------------------
>
>                 Key: HIVE-10286
>                 URL: https://issues.apache.org/jira/browse/HIVE-10286
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats, Serializers/Deserializers
>            Reporter: Gopal V
>            Assignee: Prasanth Jayachandran
>         Attachments: HIVE-10286.1.patch, HIVE-10286.2.patch
>
>
> The Sargs impl today converts the statsObj to the type of the predicate 
> object before doing any comparisons.
> To satisfy the PPD requirements, the conversion has to be coerced to the type 
> specified in PredicateLeaf.type.
> The type conversions in Hive are standard and have a fixed promotion order.
> Therefore the PredicateLeaf has to do type changes which match the exact 
> order of type coercions offered by the FilterOperator.



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

Reply via email to