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

Harish Butani commented on HIVE-6393:
-------------------------------------

Yes, there should be documentation for this. Here is a shot at it, please 
revise/edit:
{noformat}
Unqualified column references are now supported in join conditions. We attempt 
to resolve these against the inputs to a Join.
If an unqualified column reference resolves to more than 1 table we will flag 
this as an ambiguous reference.
{noformat}

> Support unqualified column references in Joining conditions
> -----------------------------------------------------------
>
>                 Key: HIVE-6393
>                 URL: https://issues.apache.org/jira/browse/HIVE-6393
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Harish Butani
>            Assignee: Harish Butani
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6393.1.patch, HIVE-6393.2.patch, HIVE-6393.3.patch
>
>
> Support queries of the form:
> {noformat}
> create table r1(a int);
> create table r2(b);
> select a, b
> from r1 join r2 on a = b
> {noformat}
> This becomes more useful in old style syntax:
> {noformat}
> select a, b
> from r1, r2
> where a = b
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to