/tags/release-0.0.0-rc0/hive/external/ql/src/test/queries/clientpositive/nullgroup4.q
text | 31 lines | 20 code | 11 blank | 0 comment | 0 complexity | 576442fad3580af1b56978234d0bc576 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
- set hive.map.aggr=true;
- set hive.groupby.skewindata=true;
- explain
- select count(1), count(distinct x.value) from src x where x.key = 9999;
- select count(1), count(distinct x.value) from src x where x.key = 9999;
- set hive.map.aggr=true;
- set hive.groupby.skewindata=false;
- explain
- select count(1), count(distinct x.value) from src x where x.key = 9999;
- select count(1), count(distinct x.value) from src x where x.key = 9999;
- set hive.map.aggr=false;
- set hive.groupby.skewindata=true;
- explain
- select count(1), count(distinct x.value) from src x where x.key = 9999;
- select count(1), count(distinct x.value) from src x where x.key = 9999;
- set hive.map.aggr=false;
- set hive.groupby.skewindata=false;
- explain
- select count(1), count(distinct x.value) from src x where x.key = 9999;
- select count(1), count(distinct x.value) from src x where x.key = 9999;