hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5490) SUBSTR(col, 1, 0) returns wrong result in vectorized mode
Date Fri, 11 Oct 2013 13:18:45 GMT

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

Hudson commented on HIVE-5490:
------------------------------

FAILURE: Integrated in Hive-trunk-h0.21 #2392 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2392/])
HIVE-5490 : SUBSTR(col, 1, 0) returns wrong result in vectorized mode (Teddy Choi via Ashutosh
Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1531035)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/StringSubstrColStartLen.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/exec/vector/expressions/TestVectorStringExpressions.java


> 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
>             Fix For: 0.13.0
>
>         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)

Mime
View raw message