hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Teddy Choi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11529) Loop optimization for SIMD in IfExprLong*Long*
Date Thu, 30 Mar 2017 04:54:41 GMT

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

Teddy Choi commented on HIVE-11529:
-----------------------------------

The test failure org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr]
is not reproducible in my laptop. It just succeeds. I'm trying to find out more.

> Loop optimization for SIMD in IfExprLong*Long*
> ----------------------------------------------
>
>                 Key: HIVE-11529
>                 URL: https://issues.apache.org/jira/browse/HIVE-11529
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Vectorization
>            Reporter: Teddy Choi
>            Assignee: Teddy Choi
>            Priority: Minor
>         Attachments: HIVE-11529.2.patch, HIVE-11529.3.patch, HIVE-11529.4.patch, HIVE-11529.5.patch,
HIVE-11529.6.patch, HIVE-11529.patch
>
>
> HIVE-10238 showed that ?: operator can be optimized with bitwise operators when it only
handles LongColumnVectors. There are more similar cases as following.
> IfExprLongColumnLongScalar: {code}outputVector[i] = (vector1[i] == 1 ? vector2[i] : arg3Scalar);{code}
> IfExprLongScalarLongColumn: {code}outputVector[i] = (vector1[i] == 1 ? arg2Scalar : vector3[i]);{code}
> IfExprLongScalarLongScalar: {code}outputVector[i] = (vector1[i] == 1 ? arg2Scalar : arg3Scalar);{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message