hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pengcheng xiong" <pxi...@hortonworks.com>
Subject Review Request 28797: Support Union Distinct
Date Mon, 08 Dec 2014 06:44:23 GMT

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

Review request for hive and John Pullokkaran.


Repository: hive-git


Description
-------

Current version (Hive 0.14) does not support union (or union distinct). It only supports union
all. In this patch, we try to add this new feature by rewriting union distinct to union all
followed by group by.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/optimizer/optiq/translator/ASTConverter.java a217d70

  ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g 4e98e9b 
  ql/src/java/org/apache/hadoop/hive/ql/parse/QBExpr.java e923bca 
  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 1b60cbb 
  ql/src/test/queries/clientpositive/unionDistinct_1.q PRE-CREATION 
  ql/src/test/queries/clientpositive/unionDistinct_2.q PRE-CREATION 
  ql/src/test/results/clientpositive/unionDistinct_1.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/unionDistinct_2.q.out PRE-CREATION 

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


Testing
-------


Thanks,

pengcheng xiong


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