mirror of
https://github.com/kiteco/kiteco-public.git
synced 2022-11-21 08:18:27 +03:00
16 lines
387 B
SQL
16 lines
387 B
SQL
CREATE EXTERNAL TABLE `youtube_queries`(
|
|
tagname string,
|
|
count bigint,
|
|
query string,
|
|
seed boolean,
|
|
generation int
|
|
)
|
|
ROW FORMAT SERDE
|
|
'org.openx.data.jsonserde.JsonSerDe'
|
|
STORED AS INPUTFORMAT
|
|
'org.apache.hadoop.mapred.TextInputFormat'
|
|
OUTPUTFORMAT
|
|
'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
|
|
LOCATION
|
|
's3://kite-youtube-data/search_queries/'
|