Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Commit

Permalink
Merge pull request #94 from lbendig/ambrose-hive
Browse files Browse the repository at this point in the history
Ambrose-Hive: fix demo table name
  • Loading branch information
Bill Graham committed Aug 6, 2013
2 parents a7d895e + 79893d4 commit dfa3966
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hive/src/main/demo/demo.q
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ CREATE EXTERNAL TABLE ambrose_hive_demo (key STRING, value STRING)
LOCATION '/demo/input';

select * from (
select key, value from src
select key, value from ambrose_hive_demo
union all
select key, value from
(
select key, value, count(1) from src group by key, value
select key, value, count(1) from ambrose_hive_demo group by key, value
union all
select key, value, count(1) from src group by key, value
select key, value, count(1) from ambrose_hive_demo group by key, value
) subq
) a;

0 comments on commit dfa3966

Please sign in to comment.