[ https://issues.apache.org/jira/browse/HIVE-16977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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.6666666666666666 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)