-
Notifications
You must be signed in to change notification settings - Fork 1
/
user.sql
40 lines (40 loc) · 1.54 KB
/
user.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
CREATE TABLE nifipeople (
loginuuid STRING
, gender STRING
,nametitle STRING
,namefirst STRING
,namelast STRING
,locationstreetnumber INT
,locationstreetname STRING
,locationcity STRING
,locationstate STRING
,locationcountry STRING
,locationpostcode INT
,locationcoordinateslatitude DOUBLE
,locationcoordinateslongitude DOUBLE
,locationtimezoneoffset STRING
,locationtimezonedescription STRING
,email STRING
,loginusername STRING
,loginpassword STRING
,loginsalt STRING
,loginmd5 STRING
,loginsha1 STRING
,loginsha256 STRING
,dobdate STRING
,dobage INT
,registereddate STRING
,registeredage INT
,phone STRING
,cell STRING
,idname STRING
,idvalue STRING
,picturelarge STRING
,picturemedium STRING
,picturethumbnail STRING
,nat STRING
,PRIMARY KEY (loginuuid)
)
PARTITION BY HASH PARTITIONS 4
STORED AS KUDU
TBLPROPERTIES ('kudu.num_tablet_replicas' = '1');