[jira] [Commented] (HIVE-16977) Vectorization: Vectorize expressions in THEN/ELSE branches of IF/CASE WHEN

2017-07-12 Thread Matt McCline (JIRA)

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

Matt McCline commented on HIVE-16977:
-

Oh good.  Thanks for figuring that out.

> Vectorization: Vectorize expressions in THEN/ELSE branches of IF/CASE WHEN
> --
>
> Key: HIVE-16977
> URL: https://issues.apache.org/jira/browse/HIVE-16977
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: Matt McCline
>Assignee: Teddy Choi
>Priority: Critical
>
> VectorUDFAdaptor(CASE WHEN ((_col2 > 0)) THEN ((UDFToDouble(_col3) / 
> UDFToDouble(_col2)) BETWEEN 0. AND 1.5) ...
> The expression in the THEN is not permitted.   Only columns or constants are 
> vectorized.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HIVE-16977) Vectorization: Vectorize expressions in THEN/ELSE branches of IF/CASE WHEN

2017-07-11 Thread Teddy Choi (JIRA)

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

Teddy Choi commented on HIVE-16977:
---

It looks like HIVE-16731 already solved this issue, too. It allows not only 
null values, but also other expressions.

> Vectorization: Vectorize expressions in THEN/ELSE branches of IF/CASE WHEN
> --
>
> Key: HIVE-16977
> URL: https://issues.apache.org/jira/browse/HIVE-16977
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: Matt McCline
>Assignee: Teddy Choi
>Priority: Critical
>
> VectorUDFAdaptor(CASE WHEN ((_col2 > 0)) THEN ((UDFToDouble(_col3) / 
> UDFToDouble(_col2)) BETWEEN 0. AND 1.5) ...
> The expression in the THEN is not permitted.   Only columns or constants are 
> vectorized.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)