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/23 11:16:11 UTC

[jira] [Commented] (HIVE-9734) Correlating expression cannot contain unqualified column references

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

Hive QA commented on HIVE-9734:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

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

{color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 7559 tests executed
*Failed tests:*
{noformat}
TestSSL - did not produce a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_cbo_subq_in
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_subquery_in_having
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_subquery_notin_having
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_cbo_subq_in
{noformat}

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

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 5 tests failed
{noformat}

This message is automatically generated.

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

> Correlating expression cannot contain unqualified column references
> -------------------------------------------------------------------
>
>                 Key: HIVE-9734
>                 URL: https://issues.apache.org/jira/browse/HIVE-9734
>             Project: Hive
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 0.14.0
>            Reporter: N Campbell
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-9734.1.patch.txt
>
>
> The following valid ISO-SQL constructs will not parse
> Unsupported SubQuery Expression 'c1': Correlating expression cannot contain unqualified column references
> The statement will parse if the predicate is changed to where tjoin1.c1 in ( ....)
> select tjoin1.rnum, tjoin1.c1, tjoin1.c2 from tjoin1 where c1 in ( select c1 from tjoin1) 
> select tjoin1.rnum, tjoin1.c1, tjoin1.c2 from tjoin1 where c1 in ( select tjoin1.c1 from tjoin1) 
> select tjoin1.rnum, tjoin1.c1, tjoin1.c2 from tjoin1 where c1 in ( select x.c1 from tjoin1 x) 



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