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

Hari Sankar Sivarama Subramaniyan updated HIVE-6959:
----------------------------------------------------

    Description: HIVE-5771 covers Constant propagation optimizer for Hive. Now 
that HIVE-5771 is committed, we should remove any vectorization related code 
which duplicates this feature. For example, a fn to be cleaned is 
VectorizarionContext::foldConstantsForUnaryExprs(). In addition to this change, 
constant propagation should kick in when vectorization is enabled. i.e. we need 
to lift the HIVE_VECTORIZATION_ENABLED restriction inside 
ConstantPropagate::transform().  (was: HIVE-5771 covers Constant propagation 
optimizer for Hive. We should remove any vectorization related code which 
duplicates this feature once HIVE-5771 is committed.)

> Remove vectorization related constant expression folding code once Constant 
> propagation optimizer for Hive is committed
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-6959
>                 URL: https://issues.apache.org/jira/browse/HIVE-6959
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>
> HIVE-5771 covers Constant propagation optimizer for Hive. Now that HIVE-5771 
> is committed, we should remove any vectorization related code which 
> duplicates this feature. For example, a fn to be cleaned is 
> VectorizarionContext::foldConstantsForUnaryExprs(). In addition to this 
> change, constant propagation should kick in when vectorization is enabled. 
> i.e. we need to lift the HIVE_VECTORIZATION_ENABLED restriction inside 
> ConstantPropagate::transform().



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

Reply via email to