hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harish Butani" <rhbut...@gmail.com>
Subject Review Request 18293: HIVE-6393: Support unqualified column references in Joining conditions
Date Wed, 19 Feb 2014 23:24:32 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18293/
-----------------------------------------------------------

Review request for hive.


Repository: hive-git


Description
-------

Support queries of the form:

create table r1(a int);
create table r2(b);
select a, b
from r1 join r2 on a = b

This becomes more useful in old style syntax:

select a, b
from r1, r2
where a = b


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 77388dd 
  ql/src/test/org/apache/hadoop/hive/ql/parse/TestQBJoinTreeApplyPredicate.java 9e77949 
  ql/src/test/queries/clientpositive/join_cond_pushdown_unqual1.q PRE-CREATION 
  ql/src/test/queries/clientpositive/join_cond_pushdown_unqual2.q PRE-CREATION 
  ql/src/test/queries/clientpositive/join_cond_pushdown_unqual3.q PRE-CREATION 
  ql/src/test/queries/clientpositive/join_cond_pushdown_unqual4.q PRE-CREATION 
  ql/src/test/queries/clientpositive/subquery_unqualcolumnrefs.q PRE-CREATION 
  ql/src/test/results/clientpositive/join_cond_pushdown_unqual1.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/join_cond_pushdown_unqual2.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/join_cond_pushdown_unqual3.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/join_cond_pushdown_unqual4.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/subquery_unqualcolumnrefs.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/18293/diff/


Testing
-------

added new tests
ran all existing join tests


Thanks,

Harish Butani


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message