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

[jira] [Commented] (HIVE-9743) Incorrect result set for vectorized left outer join

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

Hive QA commented on HIVE-9743:
-------------------------------



{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12701202/HIVE-9743.04.patch

{color:green}SUCCESS:{color} +1 7572 tests passed

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2892/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2892/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2892/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12701202 - PreCommit-HIVE-TRUNK-Build

> Incorrect result set for vectorized left outer join
> ---------------------------------------------------
>
>                 Key: HIVE-9743
>                 URL: https://issues.apache.org/jira/browse/HIVE-9743
>             Project: Hive
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 0.14.0
>            Reporter: N Campbell
>            Assignee: Matt McCline
>         Attachments: HIVE-9743.01.patch, HIVE-9743.02.patch, HIVE-9743.03.patch, HIVE-9743.04.patch
>
>
> This query is supposed to return 3 rows and will when run without Tez but returns 2 rows when run with Tez.
> select tjoin1.rnum, tjoin1.c1, tjoin1.c2, tjoin2.c2 as c2j2 from tjoin1 left outer join tjoin2 on ( tjoin1.c1 = tjoin2.c1 and tjoin1.c2 > 15 )
> tjoin1.rnum	tjoin1.c1	tjoin1.c2	c2j2
> 1	20	25	<null>
> 2	<null>	50	<null>
> instead of
> tjoin1.rnum	tjoin1.c1	tjoin1.c2	c2j2
> 0	10	15	<null>
> 1	20	25	<null>
> 2	<null>	50	<null>
> create table  if not exists TJOIN1 (RNUM int , C1 int, C2 int)
>  STORED AS orc ;
> 0|10|15
> 1|20|25
> 2|\N|50
> create table  if not exists TJOIN2 (RNUM int , C1 int, C2 char(2))
> ROW FORMAT DELIMITED FIELDS TERMINATED BY '|' LINES TERMINATED BY '\n' 
>  STORED AS TEXTFILE ;
> 0|10|BB
> 1|15|DD
> 2|\N|EE
> 3|10|FF



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