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

Review request for hive.


Summary
-------

If all of the distinct params are in group by keys, union column reserved for 
distinct params would not be added, which making problems initializing RS 
operator.

This patch is just a simple bypass adding dummy expression for the union 
column. Someone would know better way to resolve the problem.


This addresses bug HIVE-2332.
    https://issues.apache.org/jira/browse/HIVE-2332


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java dc9ab1b 
  ql/src/test/queries/clientpositive/groupby_distinct_samekey.q PRE-CREATION 
  ql/src/test/results/clientpositive/groupby_distinct_samekey.q.out 
PRE-CREATION 

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


Testing
-------


Thanks,

Navis

Reply via email to