You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2016/05/21 20:32:12 UTC

[jira] [Updated] (HIVE-13815) Improve logic to infer false predicates

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

Jesus Camacho Rodriguez updated HIVE-13815:
-------------------------------------------
    Description: 
Follow-up/extension of the work done in HIVE-13068.

Ex.
ql/src/test/results/clientpositive/annotate_stats_filter.q.out
{{predicate: ((year = 2001) and (state = 'OH') and (state = 'FL')) (type: boolean)}} -> {{false}}

ql/src/test/results/clientpositive/cbo_rp_join1.q.out
{{predicate: ((_col0 = _col1) and (_col1 = 40) and (_col0 = 40)) (type: boolean)}} -> {{predicate: ((_col1 = 40) and (_col0 = 40)) (type: boolean)}}

ql/src/test/results/clientpositive/constprog_semijoin.q.out 
{{predicate: (((id = 100) = true) and (id <> 100)) (type: boolean)}} -> {{false}}

  was:
Follow-up/extension of the work done in HIVE-13068.

Ex.
ql/src/test/results/clientpositive/annotate_stats_filter.q.out
{{predicate: ((year = 2001) and (state = 'OH') and (state = 'FL')) (type: boolean)}} -> {{false}}

ql/src/test/results/clientpositive/cbo_rp_join1.q.out
{{predicate: ((_col0 = _col1) and (_col1 = 40) and (_col0 = 40)) (type: boolean)}} -> {{predicate: ((_col1 = 40) and (_col0 = 40)) (type: boolean)}}


> Improve logic to infer false predicates
> ---------------------------------------
>
>                 Key: HIVE-13815
>                 URL: https://issues.apache.org/jira/browse/HIVE-13815
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO
>    Affects Versions: 2.1.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>
> Follow-up/extension of the work done in HIVE-13068.
> Ex.
> ql/src/test/results/clientpositive/annotate_stats_filter.q.out
> {{predicate: ((year = 2001) and (state = 'OH') and (state = 'FL')) (type: boolean)}} -> {{false}}
> ql/src/test/results/clientpositive/cbo_rp_join1.q.out
> {{predicate: ((_col0 = _col1) and (_col1 = 40) and (_col0 = 40)) (type: boolean)}} -> {{predicate: ((_col1 = 40) and (_col0 = 40)) (type: boolean)}}
> ql/src/test/results/clientpositive/constprog_semijoin.q.out 
> {{predicate: (((id = 100) = true) and (id <> 100)) (type: boolean)}} -> {{false}}



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