You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Teddy Choi (JIRA)" <ji...@apache.org> on 2013/10/09 15:32:43 UTC

[jira] [Commented] (HIVE-5490) SUBSTR(col, 1, 0) returns wrong result in vectorized mode

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

Teddy Choi commented on HIVE-5490:
----------------------------------

Review request on https://reviews.apache.org/r/14558/

> SUBSTR(col, 1, 0) returns wrong result in vectorized mode
> ---------------------------------------------------------
>
>                 Key: HIVE-5490
>                 URL: https://issues.apache.org/jira/browse/HIVE-5490
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.13.0
>            Reporter: Eric Hanson
>            Assignee: Teddy Choi
>         Attachments: HIVE-5490.1.patch.txt
>
>
> The query
>   select substr(cstring1, 1, 0) from alltypesorc;
> returns all empty strings when 
> set hive.vectorized.execution.enabled = false;
> which is the correct result, and returns non-empty strings when
> set hive.vectorized.execution.enabled = true;
> which is not correct.



--
This message was sent by Atlassian JIRA
(v6.1#6144)