You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Matt McCline (JIRA)" <ji...@apache.org> on 2018/03/03 11:54:00 UTC

[jira] [Resolved] (HIVE-17139) Conditional expressions optimization: skip the expression evaluation if the condition is not satisfied for vectorization engine.

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

Matt McCline resolved HIVE-17139.
---------------------------------
    Resolution: Duplicate

HIVE-18819

> Conditional expressions optimization: skip the expression evaluation if the condition is not satisfied for vectorization engine.
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-17139
>                 URL: https://issues.apache.org/jira/browse/HIVE-17139
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ke Jia
>            Assignee: Ke Jia
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17139.1.patch, HIVE-17139.10.patch, HIVE-17139.11.patch, HIVE-17139.12.patch, HIVE-17139.13.patch, HIVE-17139.13.patch, HIVE-17139.14.patch, HIVE-17139.15.patch, HIVE-17139.16.patch, HIVE-17139.17.patch, HIVE-17139.18.patch, HIVE-17139.18.patch, HIVE-17139.19.patch, HIVE-17139.2.patch, HIVE-17139.20.patch, HIVE-17139.3.patch, HIVE-17139.4.patch, HIVE-17139.5.patch, HIVE-17139.6.patch, HIVE-17139.7.patch, HIVE-17139.8.patch, HIVE-17139.9.patch
>
>
> The case when and if statement execution for Hive vectorization is not optimal, which all the conditional and else expressions are evaluated for current implementation. The optimized approach is to update the selected array of batch parameter after the conditional expression is executed. Then the else expression will only do the selected rows instead of all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)