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

Gunther Hagleitner commented on HIVE-7491:
------------------------------------------

Looks good. +1 assuming tests pass.

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