Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE EXTERNAL TABLE tweets (
- entities STRUCT<
- urls:ARRAY<STRING>,
- user_mentions:ARRAY<STRING>,
- hashtags:ARRAY<STRUCT<text:STRING,indicies:STRING>>>
- )
- ROW FORMAT SERDE 'com.cloudera.hive.serde.JSONSerDe'
- LOCATION '/path/to/your/twitter-json/';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement