[
https://issues.apache.org/jira/browse/HIVE-5756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13841996#comment-13841996
]
Jitendra Nath Pandey commented on HIVE-5756:
--------------------------------------------
In IfExprStringColumnStringColumn.java :
{code}
outputColVector.setVal(i, arg2ColVector.vector[i], arg2ColVector.start[i],
arg2ColVector.length[i]);
{code}
This could run into trouble if the source byte array is null.
Similar problem exists in other string templates.
> Implement vectorization support for IF conditional expression for long,
> double, timestamp, boolean and string inputs
> --------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-5756
> URL: https://issues.apache.org/jira/browse/HIVE-5756
> Project: Hive
> Issue Type: Sub-task
> Reporter: Eric Hanson
> Assignee: Eric Hanson
> Attachments: HIVE-5756.1.patch, HIVE-5756.2.patch, HIVE-5756.3.patch,
> HIVE-5756.4.patch, HIVE-5756.5.patch, HIVE-5756.6.patch.txt, HIVE-5756.7.patch
>
>
> Implement full, end-to-end support for IF in vectorized mode, including new
> VectorExpression class(es), VectorizationContext translation to a
> VectorExpression, and unit tests for these, as well as end-to-end ad hoc
> testing. An end-to-end .q test is recommended but optional.
> This is high priority because IF is the most popular conditional expression.
--
This message was sent by Atlassian JIRA
(v6.1#6144)