Thomas Marshall has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/11073


Change subject: IMPALA-110 (part 3): Add multiple DISTINCT support to query 
generator
......................................................................

IMPALA-110 (part 3): Add multiple DISTINCT support to query generator

Previously, Impala was only able to support DISTINCT in aggregate
functions over a single expr per SELECT list. IMPALA-110 removes this
restriction.

This patch eliminates code in query_generator.py that grouped exprs
for aggregate functions in order to pick a single to make DISTINCT,
and instead simply iterates over all agg functions and makes each one
DISTINCT with a configurable probability.

Testing:
- Ran the query generator overnight with no problems (except the usual
  false positives).

Change-Id: I4a3f14655719ade7b2f6471c561dba4007fd46fa
---
M tests/comparison/query_generator.py
1 file changed, 10 insertions(+), 51 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/73/11073/1
--
To view, visit http://gerrit.cloudera.org:8080/11073
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4a3f14655719ade7b2f6471c561dba4007fd46fa
Gerrit-Change-Number: 11073
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Marshall <thomasmarsh...@cmu.edu>

Reply via email to