Created
June 21, 2017 21:22
-
-
Save milindjagre/89868690e71e0b81577b54f74cbfc34b to your computer and use it in GitHub Desktop.
this SQL file is used for creating the Hive Partitioned table post31
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 post31 ( | |
id int, | |
name string, | |
gender string | |
) | |
partitioned by (year int, month int) | |
row format delimited | |
fields terminated by ',' | |
stored as textfile; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment