count distinct and segmentation
Posted: Sat Aug 03, 2013 6:10 am
If a query has a count (distinct col), does the initiator node have to pull in all rows for the column group for which we are doing a count distinct into a single node and then do the count ? (I am assuming this is how it would do it)..
If so...is creating a partition with a segmentation based on the column grouping the only way to effectively distribute the query processing ?
If so...is creating a partition with a segmentation based on the column grouping the only way to effectively distribute the query processing ?