You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ke Jia (JIRA)" <ji...@apache.org> on 2017/07/21 04:39:00 UTC

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

Ke Jia created HIVE-17139:
-----------------------------

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


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
(v6.4.14#64029)