WordCount的各种写法
2018-01-03 本文已影响13人
武小寺
MapReduce写法(Python)
streaming
Yarn
Hive
select word, count(*)
from (
select
explode (split (sentence, ' '))
as word
from article
) t
group by word
select word, count(*)
from (
select
explode (split (sentence, ' '))
as word
from article
) t
group by word