Created
June 16, 2018 07:15
-
-
Save sameei/cb5efc7a916b1add687441312eddd82d 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
SELECT from_json(string_field, ' | |
id long, | |
text string, | |
truncated boolean, | |
source string, | |
created_at string, | |
user struct< | |
id: long, | |
name: string, | |
description: string, | |
screen_name: string, | |
location: string, | |
url: string, | |
protected: boolean, | |
verified: boolean, | |
followers_count: integer, | |
friends_count: integer, | |
listed_count: integer, | |
favourites_count: integer, | |
statuses_count: integer, | |
created_at: string, | |
utc_offset: integer, | |
time_zone: string, | |
geo_enabled: boolean, | |
lang: string, | |
contributors_enabled: boolean, | |
is_translator: boolean | |
>, | |
is_quote_status boolean, | |
retweet_count integer, | |
favorite_count integer, | |
lang string, | |
timestamp_ms string, | |
filter_level string | |
') FROM tweets |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment