You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2015/08/07 01:59:04 UTC

[jira] [Updated] (HIVE-11406) Vectorization: StringExpr::compare() == 0 is bad for performance

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

Gopal V updated HIVE-11406:
---------------------------
    Fix Version/s: 2.0.0
                   1.3.0

> Vectorization: StringExpr::compare() == 0 is bad for performance
> ----------------------------------------------------------------
>
>                 Key: HIVE-11406
>                 URL: https://issues.apache.org/jira/browse/HIVE-11406
>             Project: Hive
>          Issue Type: Bug
>          Components: Vectorization
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Gopal V
>            Assignee: Matt McCline
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: HIVE-11406.01.patch
>
>
> {{StringExpr::compare() == 0}} is forced to evaluate the whole memory comparison loop for differing lengths of strings, though there is no possibility they will ever be equal.
> Add a {{StringExpr::equals}} which can be a smaller and tighter loop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)