Created
December 15, 2016 11:30
-
-
Save myui/5a6741e37d674b3887209ba8c752f98c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table page ( | |
docid int, | |
contents string | |
); | |
INSERT OVERWRITE TABLE page_exploded | |
select | |
d.docid, | |
normalize_unicode(t.word) as word | |
from | |
page d | |
LATERAL VIEW explode(tokenize_ja(contents)) t as word | |
where | |
t.word NOT IN ('stopward1', 'stopward2') | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment