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

Prasanth J updated HIVE-7491:
-----------------------------

    Attachment: HIVE-7491.2.patch

Fixed all test failures. All the failed test have either 1=1 filter or true 
filter which affects the number of rows.

> Stats annotation fails to evaluate constant expressions in filter operator
> --------------------------------------------------------------------------
>
>                 Key: HIVE-7491
>                 URL: https://issues.apache.org/jira/browse/HIVE-7491
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Query Processor, Statistics
>    Affects Versions: 0.14.0
>            Reporter: Prasanth J
>            Assignee: Prasanth J
>             Fix For: 0.13.0
>
>         Attachments: HIVE-7491.1.patch, HIVE-7491.2.patch
>
>
> HIVE-5369 added stats annotation to operator plan. The filter operator 
> evaluates all expression node descriptors and applies rules. It always 
> returns 0 for constant expressions like 'select * from table where true' or 
> 'select * from table where true=true' etc. 



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

Reply via email to