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

Ferdinand Xu commented on HIVE-11504:
-------------------------------------

Thanks for your review [~owen.omalley] and your clarification [~spena]. 
Parquet uses the Hive search argument to construct its predication and it 
treats float/double and int/long as different types. So we have to pass in with 
its original types. You can find detailed information in HIVE-8122. I think 
this patch should have no impact since it's converted to double type finally in 
the method RecordReaderImpl#getBaseObjectForComparison. Feel free to let me 
what's your thoughts.

> Predicate pushing down doesn't work for float type for Parquet
> --------------------------------------------------------------
>
>                 Key: HIVE-11504
>                 URL: https://issues.apache.org/jira/browse/HIVE-11504
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Ferdinand Xu
>            Assignee: Ferdinand Xu
>         Attachments: HIVE-11504.1.patch, HIVE-11504.2.patch, 
> HIVE-11504.2.patch, HIVE-11504.3.patch, HIVE-11504.patch
>
>
> Predicate builder should use PrimitiveTypeName type in parquet side to 
> construct predicate leaf instead of the type provided by PredicateLeaf.



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

Reply via email to