Hive建分区表语句
** 用户属性表(日) ************************************************************ CREATE TABLE ZB_DWD.DWD_D_PRD_AL_USER_ATTR_PROV (MONTH_ID STRING, PROV_ID STRING, USER_ID STRING, ATTRIBUTE_TYPE STRING, ATTRIBUTE_VALUE STRING, ATTR_EFFECT_TIME STRING, ATTR_EXPIRE_TIME STRING, IS_VALID STRING) PARTITIONED BY(PART_ID STRING,DAY_ID STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE; ******************************************************************************** ** 用户属性表(日) ************************************************************ CREATE TABLE ZB_DWD.DWD_D_PRD_AL_USER_ATTR_PROV (MONTH_ID STRING, PROV_ID STRING, USER_ID STRING, ATTRIBUTE_TYPE STRING, ATTRIBUTE_VALUE STRING, ATTR_EFFECT_TIME STRING, ATTR_EXPIRE_TIME STRING, IS_VALID STRING) PARTITIONED BY(DAY_ID STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE; ********************************************************************************
相关推荐
zlsdmx 2020-07-05
tugangkai 2020-07-04
Lzs 2020-10-23
聚合室 2020-11-16
零 2020-09-18
Justhavefun 2020-10-22
jacktangj 2020-10-14
ChaITSimpleLove 2020-10-06
Andrea0 2020-09-18
周游列国之仕子 2020-09-15
afanti 2020-09-16
88234852 2020-09-15
YClimb 2020-09-15
风雨断肠人 2020-09-04
卖口粥湛蓝的天空 2020-09-15
stulen 2020-09-15