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

Ambrose-Hive: fix demo table name #94

Merged
merged 1 commit into from
Aug 6, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;