blob: f4023c8e99448c3b5dcdaf9094ae873104116201 [file]
--! qt:dataset:srcpart
set hive.strict.checks.bucketing=false;
set hive.mapred.mode=strict;
select * from srcpart a join
(select b.key, count(1) as count from srcpart b where b.ds = '2008-04-08' and b.hr = '14' group by b.key) subq
where a.ds = '2008-04-08' and a.hr = '11' limit 10;