Commit Graph

1 Commits (0f9232dee42cac1e85199dccd598501323320ebb)

Author SHA1 Message Date
Murat Tuncer 0f9232dee4
Add complex distinct count support for repartitioned subqueries
Single table repartition subqueries now support count(distinct column)
and count(distinct (case when ...)) expressions. Repartition query
extracts column used in aggregate expression and adds them to target
list and group by list, master query stays the same (count (distinct ...))
but attribute numbers inside the aggregate expression is modified to
reflect changes in repartition query.
2016-06-17 15:37:28 -06:00