Last active
March 6, 2018 14:28
-
-
Save tlberglund/efc5f4f457e1af6833c358f11c1b4d1e to your computer and use it in GitHub Desktop.
This file contains 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 STREAM twitter_raw | |
(CreatedAt bigint, | |
Id bigint, | |
Text VARCHAR, | |
SOURCE VARCHAR, | |
Truncated VARCHAR, | |
InReplyToStatusId VARCHAR, | |
InReplyToUserId VARCHAR, | |
InReplyToScreenName VARCHAR, | |
GeoLocation VARCHAR, | |
Place VARCHAR, | |
Favorited VARCHAR, | |
Retweeted VARCHAR, | |
FavoriteCount VARCHAR, | |
User VARCHAR, | |
Retweet VARCHAR, | |
Contributors VARCHAR, | |
RetweetCount VARCHAR, | |
RetweetedByMe VARCHAR, | |
CurrentUserRetweetId VARCHAR, | |
PossiblySensitive VARCHAR, | |
Lang VARCHAR, | |
WithheldInCountries VARCHAR, | |
HashtagEntities VARCHAR, | |
UserMentionEntities VARCHAR, | |
MediaEntities VARCHAR, | |
SymbolEntities VARCHAR, | |
URLEntities VARCHAR) | |
WITH (KAFKA_TOPIC='twitter_json_01', | |
VALUE_FORMAT='JSON'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment