Files
kiteco-public/airflow/kite_airflow/templates/athena/tables/youtube_queries.tmpl.sql
2021-12-31 23:54:19 -08:00

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/'