Permalink
Browse files

Soft tabs for Hive.

  • Loading branch information...
1 parent b2ee60a commit 0469a007811adaeb38f01fcd39f02296c5d35708 @echen committed Apr 7, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 word-count/word-count.hql
@@ -5,9 +5,9 @@ LOAD DATA LOCAL INPATH 'tweets.tsv' OVERWRITE INTO TABLE tweets;
SELECT word, COUNT(*) AS count
FROM (
- SELECT TRANSFORM(text)
- USING 'python tokenizer.py'
- AS word
- FROM tweets
+ SELECT TRANSFORM(text)
+ USING 'python tokenizer.py'
+ AS word
+ FROM tweets
) t
GROUP BY word;

0 comments on commit 0469a00

Please sign in to comment.