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 table post39 ( | |
id int, | |
name string, | |
gender string | |
) | |
row format delimited | |
fields terminated by ',' | |
stored as textfile; |
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
1 | tina | F | |
---|---|---|---|
2 | jerry | M | |
3 | tom | M | |
4 | wonder woman | F | |
5 | scoobydoo | M | |
6 | donald duck | M | |
7 | pink panther | F | |
8 | oggy | M | |
9 | shinchan | M |
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 table post38 ( | |
id int, | |
name string, | |
gender string | |
) | |
row format delimited | |
fields terminated by ',' | |
stored as textfile; |
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
2 | jerry | M | |
---|---|---|---|
3 | tom | M | |
4 | wonder woman | F | |
5 | scoobydoo | M | |
6 | donald duck | M | |
7 | pink panther | F | |
8 | oggy | M | |
9 | shinchan | M |
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 external table post37 ( | |
id int, | |
name string, | |
gender string | |
) | |
row format delimited | |
fields terminated by '\t' | |
stored as textfile | |
location '/hdpcd/input/post37/'; |
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
1 | tina | F | |
---|---|---|---|
2 | jerry | M | |
3 | tom | M | |
4 | wonder woman | F | |
5 | scoobydoo | M | |
6 | donald duck | M | |
7 | pink panther | F | |
9 | shinchan | M | |
8 | oggy | M |
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 table post36 ( | |
id int, | |
name string, | |
gender string | |
) | |
row format delimited | |
fields terminated by ',' | |
stored as sequencefile; |
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 table post34 ( | |
id int, | |
name string, | |
gender string | |
) | |
row format delimited | |
fields terminated by ',' | |
stored as orc; |
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
####################################### | |
# TWITTER BOT # | |
####################################### | |
#Twitter App Consumer Key | |
ConsumerKey="YOUR_TWITTER_APP_CONSUMER_KEY" | |
#Twitter App Consumer Secret | |
ConsumerSecret="YOUR_TWITTER_APP_CONSUMER_SECRET" |
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 table post32 ( | |
id int, | |
name string, | |
gender string | |
) | |
clustered by (id) into 4 buckets | |
row format delimited | |
fields terminated by ',' | |
stored as textfile; |