hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pengcheng xiong" <pxi...@hortonworks.com>
Subject Re: Review Request 28797: Support Union Distinct
Date Sat, 13 Dec 2014 04:55:05 GMT

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

(Updated Dec. 13, 2014, 4:55 a.m.)


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 (updated)
-----

  ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/ASTConverter.java c02a65e

  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 6f44f9c 
  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/explain_logical.q.out 3ec8fd1 
  ql/src/test/results/clientpositive/groupby_sort_1_23.q.out dff5623 
  ql/src/test/results/clientpositive/groupby_sort_skew_1_23.q.out 3c7a3b4 
  ql/src/test/results/clientpositive/input_part7.q.out 13c7857 
  ql/src/test/results/clientpositive/join34.q.out 01b4f66 
  ql/src/test/results/clientpositive/join35.q.out 08a2c8c 
  ql/src/test/results/clientpositive/optimize_nullscan.q.out 02636ba 
  ql/src/test/results/clientpositive/tez/optimize_nullscan.q.out 2d07968 
  ql/src/test/results/clientpositive/union22.q.out 603a791 
  ql/src/test/results/clientpositive/union24.q.out 8cfd298 
  ql/src/test/results/clientpositive/unionDistinct_1.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/unionDistinct_2.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/union_ppr.q.out 992cbea 

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


Testing
-------


Thanks,

pengcheng xiong


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