tables.sql 113 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199
  1. CREATE TABLE `shanglifeecif.age_sex_distribution`(
  2. `id` string DEFAULT NULL,
  3. `labelname` string DEFAULT NULL COMMENT '阶段名称',
  4. `gender` string DEFAULT NULL COMMENT '性别',
  5. `cusnum` string DEFAULT NULL COMMENT '客户数量'
  6. )
  7. COMMENT '年龄段性别分布'
  8. ROW FORMAT SERDE
  9. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  10. STORED BY
  11. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  12. WITH SERDEPROPERTIES (
  13. 'elasticsearch.columns.mapping'='_id,labelname,gender,cusnum',
  14. 'elasticsearch.columns.type'='string,string,string,string',
  15. 'serialization.format'='1')
  16. LOCATION
  17. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.age_sex_distribution@esdrive.stargate'
  18. TBLPROPERTIES (
  19. 'es.table.enable.all'='false',
  20. 'elasticsearch.tablename'='shanglifeecif.age_sex_distribution',
  21. 'transient_lastDdlTime'='1651209060',
  22. 'elasticsearch.indextype'='default_type_',
  23. 'es.table.shards'='10')
  24. ;
  25. CREATE TABLE `shanglifeecif.bdnum_distribution`(
  26. `id` string DEFAULT NULL,
  27. `labelname` string DEFAULT NULL COMMENT '保单件数名称',
  28. `bdnum` string DEFAULT NULL COMMENT '保单件数'
  29. )
  30. COMMENT '保单件数分布'
  31. ROW FORMAT SERDE
  32. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  33. STORED BY
  34. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  35. WITH SERDEPROPERTIES (
  36. 'elasticsearch.columns.mapping'='_id,labelname,bdnum',
  37. 'elasticsearch.columns.type'='string,string,string',
  38. 'serialization.format'='1')
  39. LOCATION
  40. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.bdnum_distribution@esdrive.stargate'
  41. TBLPROPERTIES (
  42. 'es.table.enable.all'='false',
  43. 'elasticsearch.tablename'='shanglifeecif.bdnum_distribution',
  44. 'transient_lastDdlTime'='1651208972',
  45. 'elasticsearch.indextype'='default_type_',
  46. 'es.table.shards'='10');
  47. CREATE TABLE `shanglifeecif.bdnum_distribution_channel`(
  48. `id` string DEFAULT NULL,
  49. `labelname` string DEFAULT NULL COMMENT '保单件数名称',
  50. `bdnum` string DEFAULT NULL COMMENT '保单件数',
  51. `salecom` string DEFAULT NULL COMMENT '渠道码',
  52. `salecomname` string DEFAULT NULL COMMENT '渠道名字'
  53. )
  54. COMMENT '保单件数渠道分布'
  55. ROW FORMAT SERDE
  56. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  57. STORED BY
  58. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  59. WITH SERDEPROPERTIES (
  60. 'elasticsearch.columns.mapping'='_id,labelname,bdnum,salecom,salecomname',
  61. 'serialization.format'='1')
  62. LOCATION
  63. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.bdnum_distribution_channel@esdrive.stargate'
  64. TBLPROPERTIES (
  65. 'es.table.enable.all'='false',
  66. 'elasticsearch.tablename'='shanglifeecif.bdnum_distribution_channel',
  67. 'transient_lastDdlTime'='1651208974',
  68. 'elasticsearch.indextype'='default_type_',
  69. 'es.table.shards'='10');
  70. CREATE TABLE `shanglifeecif.customer_risk_temp`(
  71. `id` string DEFAULT NULL COMMENT '',
  72. `scustid` string DEFAULT NULL COMMENT '',
  73. `name` string DEFAULT NULL COMMENT '',
  74. `gender` string DEFAULT NULL COMMENT '',
  75. `idcard` string DEFAULT NULL COMMENT '',
  76. `birthday` string DEFAULT NULL COMMENT '',
  77. `policyno` string DEFAULT NULL COMMENT '',
  78. `productname` string DEFAULT NULL COMMENT '',
  79. `riskcategoriesname` string DEFAULT NULL COMMENT '',
  80. `risk` string DEFAULT NULL COMMENT '',
  81. `salecom` string DEFAULT NULL,
  82. `salecomname` string DEFAULT NULL
  83. )
  84. COMMENT '客户信息险种临时表'
  85. ROW FORMAT SERDE
  86. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  87. STORED BY
  88. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  89. WITH SERDEPROPERTIES (
  90. 'elasticsearch.columns.mapping'='_id,scustid,name,gender,idcard,birthday,policyno,productname,riskcategoriesname,risk,salecom,salecomname',
  91. 'elasticsearch.columns.type'='string,string,string,string,string,string,string,string,string,string',
  92. 'serialization.format'='1')
  93. LOCATION
  94. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.customer_risk_temp@esdrive.stargate'
  95. TBLPROPERTIES (
  96. 'es.table.enable.all'='false',
  97. 'last_modified_time'='1647913750',
  98. 'elasticsearch.tablename'='shanglifeecif.customer_risk_temp',
  99. 'COLUMN_STATS_ACCURATE'='false',
  100. 'transient_lastDdlTime'='1651208975',
  101. 'last_modified_by'='hive',
  102. 'elasticsearch.indextype'='default_type_',
  103. 'es.table.shards'='10');
  104. CREATE TABLE `shanglifeecif.customerno_salecom_relation`(
  105. `csrid` string DEFAULT NULL COMMENT 'ID',
  106. `indid` string DEFAULT NULL COMMENT '个体ID individual.indid',
  107. `custid` string DEFAULT NULL COMMENT '客户号 本系统统一生成的全司范围的唯一标识',
  108. `scustid` string DEFAULT NULL COMMENT '上游客户号 上游系统的客户ID',
  109. `name` string DEFAULT NULL COMMENT '名称 T_CUSTOMER_CLASS.CUSTOMER_NAME',
  110. `birthday` string DEFAULT NULL COMMENT '出生日期 T_CUSTOMER_CLASS.BIRTHDATE',
  111. `nobirth` string DEFAULT NULL COMMENT '出生国家',
  112. `sobirth` string DEFAULT NULL COMMENT '出生省份',
  113. `cobirth` string DEFAULT NULL COMMENT '出生城市',
  114. `dday` string DEFAULT NULL COMMENT '死亡日期',
  115. `gender` string DEFAULT NULL COMMENT '性别',
  116. `ethnic` string DEFAULT NULL COMMENT '民族',
  117. `nation` string DEFAULT NULL COMMENT '国籍',
  118. `homeadress` string DEFAULT NULL COMMENT '籍贯 UNDERWRITE_REPORT_LIST.POLICY_HOLDER_ADDRESS',
  119. `regresidence` string DEFAULT NULL COMMENT '户口所在地',
  120. `maritalstat` string DEFAULT NULL COMMENT '婚姻状况 一对多',
  121. `maritalstatdate` string DEFAULT NULL COMMENT '婚姻状况日期 一对多',
  122. `offspring` string DEFAULT NULL COMMENT '生育状况',
  123. `support` string DEFAULT NULL COMMENT '赡养状况',
  124. `empstat` string DEFAULT NULL COMMENT '就业状况 一对多',
  125. `empstatdate` string DEFAULT NULL COMMENT '就业状况日期 一对多',
  126. `raid` string DEFAULT NULL COMMENT '联系地址',
  127. `ral` string DEFAULT NULL COMMENT '联系地址不分段',
  128. `al` string DEFAULT NULL COMMENT '曾用地址不分段',
  129. `coadress` int DEFAULT NULL COMMENT '地址登录数量',
  130. `pmphone` string DEFAULT NULL COMMENT '常用手机 正在使用的手机',
  131. `mhone1` string DEFAULT NULL COMMENT '曾用手机1',
  132. `mhone2` string DEFAULT NULL COMMENT '曾用手机2',
  133. `sophone` int DEFAULT NULL COMMENT '手机登录数量',
  134. `height` double DEFAULT NULL COMMENT '身高',
  135. `weight` double DEFAULT NULL COMMENT '体重',
  136. `cillness` string DEFAULT NULL COMMENT '当前疾病',
  137. `pillness` string DEFAULT NULL COMMENT '曾患疾病',
  138. `cdiseases` string DEFAULT NULL COMMENT '先天性疾病',
  139. `bmi` double DEFAULT NULL COMMENT 'BMI体制指数',
  140. `fmhistory` string DEFAULT NULL COMMENT '家族病史',
  141. `evadate` string DEFAULT NULL COMMENT '健康评估日期',
  142. `cohevaluation` int DEFAULT NULL COMMENT '健康评估登录数量',
  143. `hphone` string DEFAULT NULL COMMENT '家庭电话',
  144. `occupationid` string DEFAULT NULL COMMENT '职业代码 UNDERWRITE_REPORT_LIST.POLICY_HOLDER_CODE',
  145. `occupation` string DEFAULT NULL COMMENT '职业名称 UNDERWRITE_REPORT_LIST.POLICY_HOLDER_NAME',
  146. `odate` string DEFAULT NULL COMMENT '职业时间 一对多',
  147. `employer` string DEFAULT NULL COMMENT '工作单位',
  148. `wphone` string DEFAULT NULL COMMENT '工作电话',
  149. `empdate` string DEFAULT NULL COMMENT '工作单位时间',
  150. `lemployer` string DEFAULT NULL COMMENT '曾经工作单位',
  151. `idcard` string DEFAULT NULL COMMENT '身份证 T_CUSTOMER_CLASS.ID_NO',
  152. `passport` string DEFAULT NULL COMMENT '护照',
  153. `dlicense` string DEFAULT NULL COMMENT '驾驶证',
  154. `education` string DEFAULT NULL COMMENT '最高学历',
  155. `university` string DEFAULT NULL COMMENT '毕业学校',
  156. `edate` string DEFAULT NULL COMMENT '学历时间',
  157. `wechat` string DEFAULT NULL COMMENT '微信',
  158. `weibo` string DEFAULT NULL COMMENT '微博',
  159. `email` string DEFAULT NULL COMMENT '邮箱',
  160. `qq` string DEFAULT NULL COMMENT 'QQ',
  161. `tiktok` string DEFAULT NULL COMMENT '抖音',
  162. `saccount1` string DEFAULT NULL COMMENT '社交账号1',
  163. `sa1cat` string DEFAULT NULL COMMENT '社交账号1类别',
  164. `saccount2` string DEFAULT NULL COMMENT '社交账号2',
  165. `sa2cat` string DEFAULT NULL COMMENT '社交账号2类别',
  166. `ctype` string DEFAULT NULL COMMENT '首选联系方式 手机,微信,微博,邮箱,QQ,抖音,其他',
  167. `father` string DEFAULT NULL COMMENT '父亲 HEALTH_INSURANCE_LISTING.INSUREDNAME HEALTH_INSURANCE_LISTING.RELATION:投保人与被保人关系',
  168. `mother` string DEFAULT NULL COMMENT '母亲',
  169. `mate` string DEFAULT NULL COMMENT '配偶',
  170. `child1` string DEFAULT NULL COMMENT '子女1',
  171. `child2` string DEFAULT NULL COMMENT '子女2',
  172. `cochild` int DEFAULT NULL COMMENT '子女登录数量',
  173. `rpid` string DEFAULT NULL COMMENT '房产',
  174. `rpdescribe` string DEFAULT NULL COMMENT '房产描述',
  175. `corp` int DEFAULT NULL COMMENT '房产登录数量',
  176. `vid` string DEFAULT NULL COMMENT '车辆',
  177. `vdescribe` string DEFAULT NULL COMMENT '车辆描述',
  178. `covehicle` int DEFAULT NULL COMMENT '车辆登录数量',
  179. `anniversary1` string DEFAULT NULL COMMENT '纪念日1',
  180. `a1describe` string DEFAULT NULL COMMENT '纪念日1类型',
  181. `anniversary2` string DEFAULT NULL COMMENT '纪念日2',
  182. `a2describe` string DEFAULT NULL COMMENT '纪念日2类型',
  183. `soanniversary` int DEFAULT NULL COMMENT '纪念日登录数量',
  184. `custtype` string DEFAULT NULL COMMENT '客户类型',
  185. `bankname` string DEFAULT NULL COMMENT '开户银行',
  186. `tobankcard` string DEFAULT NULL COMMENT '银行卡类型 如:master、visa、银联等。',
  187. `accname` string DEFAULT NULL COMMENT '账户名',
  188. `bankaccno` string DEFAULT NULL COMMENT '银行帐号',
  189. `cobaccount` int DEFAULT NULL COMMENT '账户登录数量',
  190. `sotlirisk` double DEFAULT NULL COMMENT '传统寿险种保额合计',
  191. `soairisk` double DEFAULT NULL COMMENT '意外类险种保额合计',
  192. `sosiirisk` double DEFAULT NULL COMMENT '重疾类险种保额合计',
  193. `somcirisk` double DEFAULT NULL COMMENT '医疗费用类险种保额合计',
  194. `someirisk` double DEFAULT NULL COMMENT '医疗补贴类险种保额合计',
  195. `soefirisk` double DEFAULT NULL COMMENT '教育金类险种保额合计',
  196. `sopirisk` double DEFAULT NULL COMMENT '养老金类险种保额合计',
  197. `sowmirisk` double DEFAULT NULL COMMENT '财富管理险种保额合计',
  198. `custclass` int DEFAULT NULL COMMENT '客户等级',
  199. `convalue` int DEFAULT NULL COMMENT '贡献度分',
  200. `awarded3` int DEFAULT NULL COMMENT '家庭加分',
  201. `awarded2` int DEFAULT NULL COMMENT '续期加分',
  202. `awarded1` int DEFAULT NULL COMMENT '保单加分',
  203. `sovalue` int DEFAULT NULL COMMENT '总分值',
  204. `enddate` string DEFAULT NULL COMMENT '客户等级失效日期',
  205. `systemtag1` string DEFAULT NULL COMMENT '系统标签域1',
  206. `systemtag2` string DEFAULT NULL COMMENT '系统标签域2',
  207. `systemtag3` string DEFAULT NULL COMMENT '系统标签域3',
  208. `systemtag4` string DEFAULT NULL COMMENT '系统标签域4',
  209. `systemtag5` string DEFAULT NULL COMMENT '系统标签域5',
  210. `cocommunication` int DEFAULT NULL COMMENT '接触次数',
  211. `lcdate` string DEFAULT NULL COMMENT '最近接触时间',
  212. `lctype` string DEFAULT NULL COMMENT '最近接触类型 投诉、问询、营销',
  213. `lcmethod` string DEFAULT NULL COMMENT '最近接触方式 外呼、呼入',
  214. `cocomplaint` int DEFAULT NULL COMMENT '投诉次数 当前客户投保保单相关投诉,包括非本人投诉',
  215. `lcptdate` string DEFAULT NULL COMMENT '最近投诉时间 当前客户投保保单相关投诉,包括非本人投诉',
  216. `lcptreason` string DEFAULT NULL COMMENT '最近投诉原因 当前客户投保保单相关投诉,包括非本人投诉',
  217. `lcptlink` string DEFAULT NULL COMMENT '最近投诉环节 当前客户投保保单相关投诉,包括非本人投诉',
  218. `lcptresult` string DEFAULT NULL COMMENT '最近投诉处理结果 当前客户投保保单相关投诉,包括非本人投诉',
  219. `lcptduration` double DEFAULT NULL COMMENT '最近投诉处理时长 当前客户投保保单相关投诉,包括非本人投诉',
  220. `lcptperson` string DEFAULT NULL COMMENT '最近投诉人',
  221. `soppremium` double DEFAULT NULL COMMENT '累计已缴保费',
  222. `lappdate` string DEFAULT NULL COMMENT '最近投保日期',
  223. `cndate` string DEFAULT NULL COMMENT '最近报案日期',
  224. `cnstatus` string DEFAULT NULL COMMENT '最近报案状态',
  225. `coclaim` int DEFAULT NULL COMMENT '赔付次数',
  226. `soclaim` double DEFAULT NULL COMMENT '赔付总额',
  227. `cocnotification` int DEFAULT NULL COMMENT '报案登录数量',
  228. `fadate` string DEFAULT NULL COMMENT '首次投保日期 当前客户为投保人时',
  229. `fachannel` string DEFAULT NULL COMMENT '首张保单所属渠道 InsuranceArrangement.AgentChannel',
  230. `faorg` string DEFAULT NULL COMMENT '首张保单所属机构 InsuranceArrangement.AgentOrg',
  231. `lpno` string DEFAULT NULL COMMENT '最近保险单号 当前客户为投保人时',
  232. `lpstate` string DEFAULT NULL COMMENT '最近保单状态 当前客户为投保人时',
  233. `lpname` string DEFAULT NULL COMMENT '最近投保险种名称 当前客户为投保人时',
  234. `lpchannel` string DEFAULT NULL COMMENT '最近保单所属渠道 InsuranceArrangement.AgentChannel',
  235. `lporg` string DEFAULT NULL COMMENT '最近保单所属机构 InsuranceArrangement.AgentOrg',
  236. `copolicy` int DEFAULT NULL COMMENT '保单登录数量',
  237. `lpostype` string DEFAULT NULL COMMENT '最近保全类型 AUDIT_EDORLIST.EDORNAME',
  238. `iaccno1` string DEFAULT NULL COMMENT '保险账户1',
  239. `iaccname1` string DEFAULT NULL COMMENT '保险账户1名称',
  240. `iaccno2` string DEFAULT NULL COMMENT '保险账户2',
  241. `iaccname2` string DEFAULT NULL COMMENT '保险账户2名称',
  242. `iaccno3` string DEFAULT NULL COMMENT '保险账户3',
  243. `iaccname3` string DEFAULT NULL COMMENT '保险账户3名称',
  244. `soiaccount1` double DEFAULT NULL COMMENT '保险账户1余额',
  245. `soiaccount2` double DEFAULT NULL COMMENT '保险账户2余额',
  246. `soiaccount3` double DEFAULT NULL COMMENT '保险账户3余额',
  247. `coiaccount` int DEFAULT NULL COMMENT '保险账户登录数量',
  248. `homeid` string DEFAULT NULL COMMENT '家庭号 大数据平台HOME_NETWORK',
  249. `branchcode` string DEFAULT NULL COMMENT '机构代码 数据归属机构,用于权限控制',
  250. `custstate` string DEFAULT NULL COMMENT '客户状态 party可能会合并导致当前记录不再可用',
  251. `datasource` string DEFAULT NULL COMMENT '数据来源',
  252. `smoking` string DEFAULT NULL COMMENT '吸烟情况 从不、戒烟、吸烟',
  253. `drinking` string DEFAULT NULL COMMENT '饮酒情况 从不、戒酒、饮酒',
  254. `pregnancy` string DEFAULT NULL COMMENT '怀孕情况',
  255. `hobby1` string DEFAULT NULL COMMENT '兴趣爱好1',
  256. `hobby2` string DEFAULT NULL COMMENT '兴趣爱好2',
  257. `hobby3` string DEFAULT NULL COMMENT '兴趣爱好3',
  258. `pincome` double DEFAULT NULL COMMENT '个人年收入',
  259. `fincome` double DEFAULT NULL COMMENT '家庭年收入',
  260. `regtype` string DEFAULT NULL COMMENT '户籍类型',
  261. `incomesource` string DEFAULT NULL COMMENT '收入来源',
  262. `sistatus` string DEFAULT NULL COMMENT '社保情况',
  263. `novpolicy` int DEFAULT NULL COMMENT '有效保单件数',
  264. `noivpolicy` int DEFAULT NULL COMMENT '失效保单件数',
  265. `nostinsurance` string DEFAULT NULL COMMENT '短意险保单持有情况 仅持有短意险保单,持有短意险保单,无短意险保单',
  266. `nospinsurance` string DEFAULT NULL COMMENT '趸交保单持有情况 仅持有趸交保单,持有趸交保单,无趸交保单',
  267. `iself` string DEFAULT NULL COMMENT '本人投保情况 仅本人投保,本人已投保,本人未投保',
  268. `iparent` string DEFAULT NULL COMMENT '父母投保情况 仅父母投保,父母已投保,父母未投保',
  269. `ichildren` string DEFAULT NULL COMMENT '子女投保情况 仅子女投保,子女已投保,子女未·投保',
  270. `imate` string DEFAULT NULL COMMENT '配偶投保情况 仅配偶投保,配偶已投保,配偶未投保',
  271. `policybelong` string DEFAULT NULL COMMENT '业绩归属',
  272. `zipcode` string DEFAULT NULL,
  273. `othernumber` string DEFAULT NULL,
  274. `otheridnumber` string DEFAULT NULL,
  275. `officialcalculus` string DEFAULT NULL,
  276. `created_by` string DEFAULT NULL COMMENT '创建人',
  277. `created_time` date DEFAULT NULL COMMENT '创建时间',
  278. `updated_by` string DEFAULT NULL COMMENT '更新人',
  279. `updated_time` date DEFAULT NULL COMMENT '更新时间',
  280. `label1` string DEFAULT NULL COMMENT 'Label1',
  281. `label2` string DEFAULT NULL COMMENT 'Label2',
  282. `label3` string DEFAULT NULL COMMENT 'Label3',
  283. `label4` string DEFAULT NULL COMMENT 'Label4',
  284. `label5` string DEFAULT NULL COMMENT 'Label5',
  285. `label6` string DEFAULT NULL COMMENT 'Label6',
  286. `label7` string DEFAULT NULL COMMENT 'Label7',
  287. `label8` string DEFAULT NULL COMMENT 'Label8',
  288. `label9` string DEFAULT NULL COMMENT 'Label9',
  289. `label10` string DEFAULT NULL COMMENT 'Label10',
  290. `label11` string DEFAULT NULL COMMENT 'Label11',
  291. `label12` string DEFAULT NULL COMMENT 'Label12',
  292. `label13` string DEFAULT NULL COMMENT 'Label13',
  293. `label14` string DEFAULT NULL COMMENT 'Label14',
  294. `label15` string DEFAULT NULL COMMENT 'Label15',
  295. `label16` string DEFAULT NULL COMMENT 'Label16',
  296. `label17` string DEFAULT NULL COMMENT 'Label17',
  297. `label18` string DEFAULT NULL COMMENT 'Label18',
  298. `label19` string DEFAULT NULL COMMENT 'Label19',
  299. `label20` string DEFAULT NULL COMMENT 'Label20',
  300. `label21` string DEFAULT NULL COMMENT 'Label21',
  301. `label22` string DEFAULT NULL COMMENT 'Label22',
  302. `label23` string DEFAULT NULL COMMENT 'Label23',
  303. `label24` string DEFAULT NULL COMMENT 'Label24',
  304. `label25` string DEFAULT NULL COMMENT 'Label25',
  305. `label26` string DEFAULT NULL COMMENT 'Label26',
  306. `label27` string DEFAULT NULL COMMENT 'Label27',
  307. `label28` string DEFAULT NULL COMMENT 'Label28',
  308. `label29` string DEFAULT NULL COMMENT 'Label29',
  309. `label30` string DEFAULT NULL COMMENT 'Label30',
  310. `label31` string DEFAULT NULL COMMENT 'Label31',
  311. `label32` string DEFAULT NULL COMMENT 'Label32',
  312. `label33` string DEFAULT NULL COMMENT 'Label33',
  313. `label34` string DEFAULT NULL COMMENT 'Label34',
  314. `label35` string DEFAULT NULL COMMENT 'Label35',
  315. `label36` string DEFAULT NULL COMMENT 'Label36',
  316. `label37` string DEFAULT NULL COMMENT 'Label37',
  317. `label38` string DEFAULT NULL COMMENT 'Label38',
  318. `label39` string DEFAULT NULL COMMENT 'Label39',
  319. `label40` string DEFAULT NULL COMMENT 'Label40',
  320. `label41` string DEFAULT NULL COMMENT 'Label41',
  321. `label42` string DEFAULT NULL COMMENT 'Label42',
  322. `label43` string DEFAULT NULL COMMENT 'Label43',
  323. `label44` string DEFAULT NULL COMMENT 'Label44',
  324. `label45` string DEFAULT NULL COMMENT 'Label45',
  325. `label46` string DEFAULT NULL COMMENT 'Label46',
  326. `label47` string DEFAULT NULL COMMENT 'Label47',
  327. `label48` string DEFAULT NULL COMMENT 'Label48',
  328. `label49` string DEFAULT NULL COMMENT 'Label49',
  329. `label50` string DEFAULT NULL COMMENT 'Label50',
  330. `label51` string DEFAULT NULL COMMENT 'Label51',
  331. `label52` string DEFAULT NULL COMMENT 'Label52',
  332. `label53` string DEFAULT NULL COMMENT 'Label53',
  333. `label54` string DEFAULT NULL COMMENT 'Label54',
  334. `label55` string DEFAULT NULL COMMENT 'Label55',
  335. `label56` string DEFAULT NULL COMMENT 'Label56',
  336. `label57` string DEFAULT NULL COMMENT 'Label57',
  337. `label58` string DEFAULT NULL COMMENT 'Label58',
  338. `label59` string DEFAULT NULL COMMENT 'Label59',
  339. `label60` string DEFAULT NULL COMMENT 'Label60',
  340. `label61` string DEFAULT NULL COMMENT 'Label61',
  341. `label62` string DEFAULT NULL COMMENT 'Label62',
  342. `label63` string DEFAULT NULL COMMENT 'Label63',
  343. `label64` string DEFAULT NULL COMMENT 'Label64',
  344. `label65` string DEFAULT NULL COMMENT 'Label65',
  345. `label66` string DEFAULT NULL COMMENT 'Label66',
  346. `label67` string DEFAULT NULL COMMENT 'Label67',
  347. `label68` string DEFAULT NULL COMMENT 'Label68',
  348. `label69` string DEFAULT NULL COMMENT 'Label69',
  349. `label70` string DEFAULT NULL COMMENT 'Label70',
  350. `label71` string DEFAULT NULL COMMENT 'Label71',
  351. `label72` string DEFAULT NULL COMMENT 'Label72',
  352. `label73` string DEFAULT NULL COMMENT 'Label73',
  353. `label74` string DEFAULT NULL COMMENT 'Label74',
  354. `label75` string DEFAULT NULL COMMENT 'Label75',
  355. `label76` string DEFAULT NULL COMMENT 'Label76',
  356. `label77` string DEFAULT NULL COMMENT 'Label77',
  357. `label78` string DEFAULT NULL COMMENT 'Label78',
  358. `label79` string DEFAULT NULL COMMENT 'Label79',
  359. `label80` string DEFAULT NULL COMMENT 'Label80',
  360. `label81` string DEFAULT NULL COMMENT 'Label81',
  361. `label82` string DEFAULT NULL COMMENT 'Label82',
  362. `label83` string DEFAULT NULL COMMENT 'Label83',
  363. `label84` string DEFAULT NULL COMMENT 'Label84',
  364. `label85` string DEFAULT NULL COMMENT 'Label85',
  365. `label86` string DEFAULT NULL COMMENT 'Label86',
  366. `label87` string DEFAULT NULL COMMENT 'Label87',
  367. `label88` string DEFAULT NULL COMMENT 'Label88',
  368. `label89` string DEFAULT NULL COMMENT 'Label89',
  369. `label90` string DEFAULT NULL COMMENT 'Label90',
  370. `label91` string DEFAULT NULL COMMENT 'Label91',
  371. `label92` string DEFAULT NULL COMMENT 'Label92',
  372. `label93` string DEFAULT NULL COMMENT 'Label93',
  373. `label94` string DEFAULT NULL COMMENT 'Label94',
  374. `label95` string DEFAULT NULL COMMENT 'Label95',
  375. `label96` string DEFAULT NULL COMMENT 'Label96',
  376. `label97` string DEFAULT NULL COMMENT 'Label97',
  377. `label98` string DEFAULT NULL COMMENT 'Label98',
  378. `label99` string DEFAULT NULL COMMENT 'Label99',
  379. `label100` string DEFAULT NULL COMMENT 'Label100',
  380. `label101` string DEFAULT NULL COMMENT 'Label101',
  381. `label102` string DEFAULT NULL COMMENT 'Label102',
  382. `label103` string DEFAULT NULL COMMENT 'Label103',
  383. `label104` string DEFAULT NULL COMMENT 'Label104',
  384. `label105` string DEFAULT NULL COMMENT 'Label105',
  385. `label106` string DEFAULT NULL COMMENT 'Label106',
  386. `label107` string DEFAULT NULL COMMENT 'Label107',
  387. `label108` string DEFAULT NULL COMMENT 'Label108',
  388. `label109` string DEFAULT NULL COMMENT 'Label109',
  389. `label110` string DEFAULT NULL COMMENT 'Label110',
  390. `label111` string DEFAULT NULL COMMENT 'Label111',
  391. `label112` string DEFAULT NULL COMMENT 'Label112',
  392. `label113` string DEFAULT NULL COMMENT 'Label113',
  393. `label114` string DEFAULT NULL COMMENT 'Label114',
  394. `label115` string DEFAULT NULL COMMENT 'Label115',
  395. `label116` string DEFAULT NULL COMMENT 'Label116',
  396. `label117` string DEFAULT NULL COMMENT 'Label117',
  397. `label118` string DEFAULT NULL COMMENT 'Label118',
  398. `label119` string DEFAULT NULL COMMENT 'Label119',
  399. `label120` string DEFAULT NULL COMMENT 'Label120',
  400. `salecom` string DEFAULT NULL
  401. )
  402. COMMENT '客户渠道标签表'
  403. ROW FORMAT SERDE
  404. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  405. STORED BY
  406. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  407. WITH SERDEPROPERTIES (
  408. 'elasticsearch.columns.mapping'='_id,indid,custid,scustid,name,birthday,nobirth,sobirth,cobirth,dday,gender,ethnic,nation,homeadress,regresidence,maritalstat,maritalstatdate,offspring,support,empstat,empstatdate,raid,ral,al,coadress,pmphone,mhone1,mhone2,sophone,height,weight,cillness,pillness,cdiseases,bmi,fmhistory,evadate,cohevaluation,hphone,occupationid,occupation,odate,employer,wphone,empdate,lemployer,idcard,passport,dlicense,education,university,edate,wechat,weibo,email,qq,tiktok,saccount1,sa1cat,saccount2,sa2cat,ctype,father,mother,mate,child1,child2,cochild,rpid,rpdescribe,corp,vid,vdescribe,covehicle,anniversary1,a1describe,anniversary2,a2describe,soanniversary,custtype,bankname,tobankcard,accname,bankaccno,cobaccount,sotlirisk,soairisk,sosiirisk,somcirisk,someirisk,soefirisk,sopirisk,sowmirisk,custclass,convalue,awarded3,awarded2,awarded1,sovalue,enddate,systemtag1,systemtag2,systemtag3,systemtag4,systemtag5,cocommunication,lcdate,lctype,lcmethod,cocomplaint,lcptdate,lcptreason,lcptlink,lcptresult,lcptduration,lcptperson,soppremium,lappdate,cndate,cnstatus,coclaim,soclaim,cocnotification,fadate,fachannel,faorg,lpno,lpstate,lpname,lpchannel,lporg,copolicy,lpostype,iaccno1,iaccname1,iaccno2,iaccname2,iaccno3,iaccname3,soiaccount1,soiaccount2,soiaccount3,coiaccount,homeid,branchcode,custstate,datasource,smoking,drinking,pregnancy,hobby1,hobby2,hobby3,pincome,fincome,regtype,incomesource,sistatus,novpolicy,noivpolicy,nostinsurance,nospinsurance,iself,iparent,ichildren,imate,policybelong,zipcode,othernumber,otheridnumber,officialcalculus,created_by,created_time,updated_by,updated_time,label1,label2,label3,label4,label5,label6,label7,label8,label9,label10,label11,label12,label13,label14,label15,label16,label17,label18,label19,label20,label21,label22,label23,label24,label25,label26,label27,label28,label29,label30,label31,label32,label33,label34,label35,label36,label37,label38,label39,label40,label41,label42,label43,label44,label45,label46,label47,label48,label49,label50,label51,label52,label53,label54,label55,label56,label57,label58,label59,label60,label61,label62,label63,label64,label65,label66,label67,label68,label69,label70,label71,label72,label73,label74,label75,label76,label77,label78,label79,label80,label81,label82,label83,label84,label85,label86,label87,label88,label89,label90,label91,label92,label93,label94,label95,label96,label97,label98,label99,label100,label101,label102,label103,label104,label105,label106,label107,label108,label109,label110,label111,label112,label113,label114,label115,label116,label117,label118,label119,label120,salecom',
  409. 'serialization.format'='1')
  410. LOCATION
  411. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.customerno_salecom_relation@esdrive.stargate'
  412. TBLPROPERTIES (
  413. 'transient_lastDdlTime'='1652860597',
  414. 'elasticsearch.tablename'='shanglifeecif.customerno_salecom_relation',
  415. 'elasticsearch.indextype'='default_type_');
  416. CREATE TABLE `shanglifeecif.customertotaltemp`(
  417. `scustid` string DEFAULT NULL COMMENT '',
  418. `name` string DEFAULT NULL COMMENT '',
  419. `gender` string DEFAULT NULL COMMENT '',
  420. `birthday` string DEFAULT NULL COMMENT '',
  421. `idcard` string DEFAULT NULL COMMENT '证件号码',
  422. `idtype` string DEFAULT NULL COMMENT '证件类型',
  423. `mobile` string DEFAULT NULL
  424. )
  425. COMMENT '客户信息临时总表'
  426. ROW FORMAT SERDE
  427. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  428. STORED BY
  429. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  430. WITH SERDEPROPERTIES (
  431. 'elasticsearch.columns.mapping'='_id,name,gender,birthday,idcard,idtype,mobile',
  432. 'elasticsearch.columns.type'='string,string,string,string,string,string,string',
  433. 'serialization.format'='1')
  434. LOCATION
  435. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.customertotaltemp@esdrive.stargate'
  436. TBLPROPERTIES (
  437. 'es.table.enable.all'='false',
  438. 'elasticsearch.tablename'='shanglifeecif.customertotaltemp',
  439. 'transient_lastDdlTime'='1651208978',
  440. 'elasticsearch.indextype'='default_type_',
  441. 'es.table.shards'='10')
  442. ;
  443. CREATE TABLE `shanglifeecif.effectivecustomer`(
  444. `esid` string DEFAULT NULL COMMENT '唯一标识',
  445. `fadatey` string DEFAULT NULL COMMENT '投保年份',
  446. `custclass` string DEFAULT NULL COMMENT '客户等级',
  447. `cnum` string DEFAULT NULL COMMENT '客户数量'
  448. )
  449. COMMENT '有效客户数'
  450. ROW FORMAT SERDE
  451. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  452. STORED BY
  453. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  454. WITH SERDEPROPERTIES (
  455. 'elasticsearch.columns.mapping'='_id,fadatey,custclass,cnum',
  456. 'elasticsearch.columns.type'='string,string,string,string',
  457. 'serialization.format'='1')
  458. LOCATION
  459. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.effectivecustomer@esdrive.stargate'
  460. TBLPROPERTIES (
  461. 'es.table.enable.all'='false',
  462. 'elasticsearch.tablename'='shanglifeecif.effectivecustomer',
  463. 'transient_lastDdlTime'='1651208980',
  464. 'elasticsearch.indextype'='default_type_',
  465. 'es.table.shards'='10')
  466. ;
  467. CREATE TABLE `shanglifeecif.exception_log`(
  468. `log_id` string DEFAULT NULL COMMENT '唯一标识',
  469. `log_code` string DEFAULT NULL COMMENT '错误代码',
  470. `log_msg` string DEFAULT NULL COMMENT '错误信息',
  471. `log_time` timestamp NOT NULL COMMENT '操作时间'
  472. )
  473. COMMENT '错误日志'
  474. ROW FORMAT SERDE
  475. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  476. STORED BY
  477. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  478. WITH SERDEPROPERTIES (
  479. 'elasticsearch.columns.mapping'='_id,log_code,log_msg,log_time',
  480. 'elasticsearch.columns.type'='string,string,string,timestamp',
  481. 'serialization.format'='1')
  482. LOCATION
  483. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.exception_log@esdrive.stargate'
  484. TBLPROPERTIES (
  485. 'es.table.enable.all'='false',
  486. 'elasticsearch.tablename'='shanglifeecif.exception_log',
  487. 'transient_lastDdlTime'='1651208981',
  488. 'elasticsearch.indextype'='default_type_',
  489. 'es.table.shards'='10')
  490. ;
  491. CREATE TABLE `shanglifeecif.individual`(
  492. `indid` string DEFAULT NULL COMMENT '个体ID',
  493. `custid` string DEFAULT NULL COMMENT '客户号 本系统统一生成的全司范围的唯一标识',
  494. `scustid` string DEFAULT NULL COMMENT '上游客户号 上游系统的客户ID',
  495. `name` string DEFAULT NULL COMMENT '名称 T_CUSTOMER_CLASS.CUSTOMER_NAME',
  496. `birthday` string DEFAULT NULL COMMENT '出生日期 T_CUSTOMER_CLASS.BIRTHDATE',
  497. `nobirth` string DEFAULT NULL COMMENT '出生国家',
  498. `sobirth` string DEFAULT NULL COMMENT '出生省份',
  499. `cobirth` string DEFAULT NULL COMMENT '出生城市',
  500. `dday` string DEFAULT NULL COMMENT '死亡日期',
  501. `gender` string DEFAULT NULL COMMENT '性别',
  502. `ethnic` string DEFAULT NULL COMMENT '民族',
  503. `nation` string DEFAULT NULL COMMENT '国籍',
  504. `homeadress` string DEFAULT NULL COMMENT '籍贯 UNDERWRITE_REPORT_LIST.POLICY_HOLDER_ADDRESS',
  505. `regresidence` string DEFAULT NULL COMMENT '户口所在地',
  506. `maritalstat` string DEFAULT NULL COMMENT '婚姻状况 一对多',
  507. `maritalstatdate` string DEFAULT NULL COMMENT '婚姻状况日期 一对多',
  508. `offspring` string DEFAULT NULL COMMENT '生育状况',
  509. `support` string DEFAULT NULL COMMENT '赡养状况',
  510. `empstat` string DEFAULT NULL COMMENT '就业状况 一对多',
  511. `empstatdate` string DEFAULT NULL COMMENT '就业状况日期 一对多',
  512. `raid` string DEFAULT NULL COMMENT '联系地址',
  513. `ral` string DEFAULT NULL COMMENT '联系地址不分段',
  514. `al` string DEFAULT NULL COMMENT '曾用地址不分段',
  515. `coadress` int DEFAULT NULL COMMENT '地址登录数量',
  516. `pmphone` string DEFAULT NULL COMMENT '常用手机 正在使用的手机',
  517. `mhone1` string DEFAULT NULL COMMENT '曾用手机1',
  518. `mhone2` string DEFAULT NULL COMMENT '曾用手机2',
  519. `sophone` int DEFAULT NULL COMMENT '手机登录数量',
  520. `height` double DEFAULT NULL COMMENT '身高',
  521. `weight` double DEFAULT NULL COMMENT '体重',
  522. `cillness` string DEFAULT NULL COMMENT '当前疾病',
  523. `pillness` string DEFAULT NULL COMMENT '曾患疾病',
  524. `cdiseases` string DEFAULT NULL COMMENT '先天性疾病',
  525. `bmi` double DEFAULT NULL COMMENT 'BMI体制指数',
  526. `fmhistory` string DEFAULT NULL COMMENT '家族病史',
  527. `evadate` string DEFAULT NULL COMMENT '健康评估日期',
  528. `cohevaluation` int DEFAULT NULL COMMENT '健康评估登录数量',
  529. `hphone` string DEFAULT NULL COMMENT '家庭电话',
  530. `occupationid` string DEFAULT NULL COMMENT '职业代码 UNDERWRITE_REPORT_LIST.POLICY_HOLDER_CODE',
  531. `occupation` string DEFAULT NULL COMMENT '职业名称 UNDERWRITE_REPORT_LIST.POLICY_HOLDER_NAME',
  532. `odate` string DEFAULT NULL COMMENT '职业时间 一对多',
  533. `employer` string DEFAULT NULL COMMENT '工作单位',
  534. `wphone` string DEFAULT NULL COMMENT '工作电话',
  535. `empdate` string DEFAULT NULL COMMENT '工作单位时间',
  536. `lemployer` string DEFAULT NULL COMMENT '曾经工作单位',
  537. `idcard` string DEFAULT NULL COMMENT '身份证 T_CUSTOMER_CLASS.ID_NO',
  538. `passport` string DEFAULT NULL COMMENT '护照',
  539. `dlicense` string DEFAULT NULL COMMENT '驾驶证',
  540. `education` string DEFAULT NULL COMMENT '最高学历',
  541. `university` string DEFAULT NULL COMMENT '毕业学校',
  542. `edate` string DEFAULT NULL COMMENT '学历时间',
  543. `wechat` string DEFAULT NULL COMMENT '微信',
  544. `weibo` string DEFAULT NULL COMMENT '微博',
  545. `email` string DEFAULT NULL COMMENT '邮箱',
  546. `qq` string DEFAULT NULL COMMENT 'QQ',
  547. `tiktok` string DEFAULT NULL COMMENT '抖音',
  548. `saccount1` string DEFAULT NULL COMMENT '社交账号1',
  549. `sa1cat` string DEFAULT NULL COMMENT '社交账号1类别',
  550. `saccount2` string DEFAULT NULL COMMENT '社交账号2',
  551. `sa2cat` string DEFAULT NULL COMMENT '社交账号2类别',
  552. `ctype` string DEFAULT NULL COMMENT '首选联系方式 手机,微信,微博,邮箱,QQ,抖音,其他',
  553. `father` string DEFAULT NULL COMMENT '父亲 HEALTH_INSURANCE_LISTING.INSUREDNAME
  554. HEALTH_INSURANCE_LISTING.RELATION:投保人与被保人关系',
  555. `mother` string DEFAULT NULL COMMENT '母亲',
  556. `mate` string DEFAULT NULL COMMENT '配偶',
  557. `child1` string DEFAULT NULL COMMENT '子女1',
  558. `child2` string DEFAULT NULL COMMENT '子女2',
  559. `cochild` int DEFAULT NULL COMMENT '子女登录数量',
  560. `rpid` string DEFAULT NULL COMMENT '房产',
  561. `rpdescribe` string DEFAULT NULL COMMENT '房产描述',
  562. `corp` int DEFAULT NULL COMMENT '房产登录数量',
  563. `vid` string DEFAULT NULL COMMENT '车辆',
  564. `vdescribe` string DEFAULT NULL COMMENT '车辆描述',
  565. `covehicle` int DEFAULT NULL COMMENT '车辆登录数量',
  566. `anniversary1` string DEFAULT NULL COMMENT '纪念日1',
  567. `a1describe` string DEFAULT NULL COMMENT '纪念日1类型',
  568. `anniversary2` string DEFAULT NULL COMMENT '纪念日2',
  569. `a2describe` string DEFAULT NULL COMMENT '纪念日2类型',
  570. `soanniversary` int DEFAULT NULL COMMENT '纪念日登录数量',
  571. `custtype` string DEFAULT NULL COMMENT '客户类型',
  572. `bankname` string DEFAULT NULL COMMENT '开户银行',
  573. `tobankcard` string DEFAULT NULL COMMENT '银行卡类型 如:master、visa、银联等。',
  574. `accname` string DEFAULT NULL COMMENT '账户名',
  575. `bankaccno` string DEFAULT NULL COMMENT '银行帐号',
  576. `cobaccount` int DEFAULT NULL COMMENT '账户登录数量',
  577. `sotlirisk` double DEFAULT NULL COMMENT '传统寿险种保额合计',
  578. `soairisk` double DEFAULT NULL COMMENT '意外类险种保额合计',
  579. `sosiirisk` double DEFAULT NULL COMMENT '重疾类险种保额合计',
  580. `somcirisk` double DEFAULT NULL COMMENT '医疗费用类险种保额合计',
  581. `someirisk` double DEFAULT NULL COMMENT '医疗补贴类险种保额合计',
  582. `soefirisk` double DEFAULT NULL COMMENT '教育金类险种保额合计',
  583. `sopirisk` double DEFAULT NULL COMMENT '养老金类险种保额合计',
  584. `sowmirisk` double DEFAULT NULL COMMENT '财富管理险种保额合计',
  585. `custclass` int DEFAULT NULL COMMENT '客户等级',
  586. `convalue` int DEFAULT NULL COMMENT '贡献度分',
  587. `awarded3` int DEFAULT NULL COMMENT '家庭加分',
  588. `awarded2` int DEFAULT NULL COMMENT '续期加分',
  589. `awarded1` int DEFAULT NULL COMMENT '保单加分',
  590. `sovalue` int DEFAULT NULL COMMENT '总分值',
  591. `enddate` string DEFAULT NULL COMMENT '客户等级失效日期',
  592. `systemtag1` string DEFAULT NULL COMMENT '系统标签域1',
  593. `systemtag2` string DEFAULT NULL COMMENT '系统标签域2',
  594. `systemtag3` string DEFAULT NULL COMMENT '系统标签域3',
  595. `systemtag4` string DEFAULT NULL COMMENT '系统标签域4',
  596. `systemtag5` string DEFAULT NULL COMMENT '系统标签域5',
  597. `cocommunication` int DEFAULT NULL COMMENT '接触次数',
  598. `lcdate` string DEFAULT NULL COMMENT '最近接触时间',
  599. `lctype` string DEFAULT NULL COMMENT '最近接触类型 投诉、问询、营销',
  600. `lcmethod` string DEFAULT NULL COMMENT '最近接触方式 外呼、呼入',
  601. `cocomplaint` int DEFAULT NULL COMMENT '投诉次数 当前客户投保保单相关投诉,包括非本人投诉',
  602. `lcptdate` string DEFAULT NULL COMMENT '最近投诉时间 当前客户投保保单相关投诉,包括非本人投诉',
  603. `lcptreason` string DEFAULT NULL COMMENT '最近投诉原因 当前客户投保保单相关投诉,包括非本人投诉',
  604. `lcptlink` string DEFAULT NULL COMMENT '最近投诉环节 当前客户投保保单相关投诉,包括非本人投诉',
  605. `lcptresult` string DEFAULT NULL COMMENT '最近投诉处理结果 当前客户投保保单相关投诉,包括非本人投诉',
  606. `lcptduration` double DEFAULT NULL COMMENT '最近投诉处理时长 当前客户投保保单相关投诉,包括非本人投诉',
  607. `lcptperson` string DEFAULT NULL COMMENT '最近投诉人',
  608. `soppremium` double DEFAULT NULL COMMENT '累计已缴保费',
  609. `lappdate` string DEFAULT NULL COMMENT '最近投保日期',
  610. `cndate` string DEFAULT NULL COMMENT '最近报案日期',
  611. `cnstatus` string DEFAULT NULL COMMENT '最近报案状态',
  612. `coclaim` int DEFAULT NULL COMMENT '赔付次数',
  613. `soclaim` double DEFAULT NULL COMMENT '赔付总额',
  614. `cocnotification` int DEFAULT NULL COMMENT '报案登录数量',
  615. `fadate` string DEFAULT NULL COMMENT '首次投保日期 当前客户为投保人时',
  616. `fachannel` string DEFAULT NULL COMMENT '首张保单所属渠道 InsuranceArrangement.AgentChannel',
  617. `faorg` string DEFAULT NULL COMMENT '首张保单所属机构 InsuranceArrangement.AgentOrg',
  618. `lpno` string DEFAULT NULL COMMENT '最近保险单号 当前客户为投保人时',
  619. `lpstate` string DEFAULT NULL COMMENT '最近保单状态 当前客户为投保人时',
  620. `lpname` string DEFAULT NULL COMMENT '最近投保险种名称 当前客户为投保人时',
  621. `lpchannel` string DEFAULT NULL COMMENT '最近保单所属渠道 InsuranceArrangement.AgentChannel',
  622. `lporg` string DEFAULT NULL COMMENT '最近保单所属机构 InsuranceArrangement.AgentOrg',
  623. `copolicy` int DEFAULT NULL COMMENT '保单登录数量',
  624. `lpostype` string DEFAULT NULL COMMENT '最近保全类型 AUDIT_EDORLIST.EDORNAME',
  625. `iaccno1` string DEFAULT NULL COMMENT '保险账户1',
  626. `iaccname1` string DEFAULT NULL COMMENT '保险账户1名称',
  627. `iaccno2` string DEFAULT NULL COMMENT '保险账户2',
  628. `iaccname2` string DEFAULT NULL COMMENT '保险账户2名称',
  629. `iaccno3` string DEFAULT NULL COMMENT '保险账户3',
  630. `iaccname3` string DEFAULT NULL COMMENT '保险账户3名称',
  631. `soiaccount1` double DEFAULT NULL COMMENT '保险账户1余额',
  632. `soiaccount2` double DEFAULT NULL COMMENT '保险账户2余额',
  633. `soiaccount3` double DEFAULT NULL COMMENT '保险账户3余额',
  634. `coiaccount` int DEFAULT NULL COMMENT '保险账户登录数量',
  635. `homeid` string DEFAULT NULL COMMENT '家庭号 大数据平台HOME_NETWORK',
  636. `branchcode` string DEFAULT NULL COMMENT '机构代码 数据归属机构,用于权限控制',
  637. `custstate` string DEFAULT NULL COMMENT '客户状态 party可能会合并导致当前记录不再可用',
  638. `datasource` string DEFAULT NULL COMMENT '数据来源',
  639. `smoking` string DEFAULT NULL COMMENT '吸烟情况 从不、戒烟、吸烟',
  640. `drinking` string DEFAULT NULL COMMENT '饮酒情况 从不、戒酒、饮酒',
  641. `pregnancy` string DEFAULT NULL COMMENT '怀孕情况',
  642. `hobby1` string DEFAULT NULL COMMENT '兴趣爱好1',
  643. `hobby2` string DEFAULT NULL COMMENT '兴趣爱好2',
  644. `hobby3` string DEFAULT NULL COMMENT '兴趣爱好3',
  645. `pincome` double DEFAULT NULL COMMENT '个人年收入',
  646. `fincome` double DEFAULT NULL COMMENT '家庭年收入',
  647. `regtype` string DEFAULT NULL COMMENT '户籍类型',
  648. `incomesource` string DEFAULT NULL COMMENT '收入来源',
  649. `sistatus` string DEFAULT NULL COMMENT '社保情况',
  650. `novpolicy` int DEFAULT NULL COMMENT '有效保单件数',
  651. `noivpolicy` int DEFAULT NULL COMMENT '失效保单件数',
  652. `nostinsurance` string DEFAULT NULL COMMENT '短意险保单持有情况 仅持有短意险保单,持有短意险保单,无短意险保单',
  653. `nospinsurance` string DEFAULT NULL COMMENT '趸交保单持有情况 仅持有趸交保单,持有趸交保单,无趸交保单',
  654. `iself` string DEFAULT NULL COMMENT '本人投保情况 仅本人投保,本人已投保,本人未投保',
  655. `iparent` string DEFAULT NULL COMMENT '父母投保情况 仅父母投保,父母已投保,父母未投保',
  656. `ichildren` string DEFAULT NULL COMMENT '子女投保情况 仅子女投保,子女已投保,子女未·投保',
  657. `imate` string DEFAULT NULL COMMENT '配偶投保情况 仅配偶投保,配偶已投保,配偶未投保',
  658. `policybelong` string DEFAULT NULL COMMENT '业绩归属',
  659. `zipcode` string DEFAULT NULL,
  660. `othernumber` string DEFAULT NULL,
  661. `otheridnumber` string DEFAULT NULL,
  662. `officialcalculus` string DEFAULT NULL,
  663. `created_by` string DEFAULT NULL COMMENT '创建人',
  664. `created_time` date DEFAULT NULL COMMENT '创建时间',
  665. `updated_by` string DEFAULT NULL COMMENT '更新人',
  666. `updated_time` date DEFAULT NULL COMMENT '更新时间',
  667. `label1` string DEFAULT NULL COMMENT 'Label1',
  668. `label2` string DEFAULT NULL COMMENT 'Label2',
  669. `label3` string DEFAULT NULL COMMENT 'Label3',
  670. `label4` string DEFAULT NULL COMMENT 'Label4',
  671. `label5` string DEFAULT NULL COMMENT 'Label5',
  672. `label6` string DEFAULT NULL COMMENT 'Label6',
  673. `label7` string DEFAULT NULL COMMENT 'Label7',
  674. `label8` string DEFAULT NULL COMMENT 'Label8',
  675. `label9` string DEFAULT NULL COMMENT 'Label9',
  676. `label10` string DEFAULT NULL COMMENT 'Label10',
  677. `label11` string DEFAULT NULL COMMENT 'Label11',
  678. `label12` string DEFAULT NULL COMMENT 'Label12',
  679. `label13` string DEFAULT NULL COMMENT 'Label13',
  680. `label14` string DEFAULT NULL COMMENT 'Label14',
  681. `label15` string DEFAULT NULL COMMENT 'Label15',
  682. `label16` string DEFAULT NULL COMMENT 'Label16',
  683. `label17` string DEFAULT NULL COMMENT 'Label17',
  684. `label18` string DEFAULT NULL COMMENT 'Label18',
  685. `label19` string DEFAULT NULL COMMENT 'Label19',
  686. `label20` string DEFAULT NULL COMMENT 'Label20',
  687. `label21` string DEFAULT NULL COMMENT 'Label21',
  688. `label22` string DEFAULT NULL COMMENT 'Label22',
  689. `label23` string DEFAULT NULL COMMENT 'Label23',
  690. `label24` string DEFAULT NULL COMMENT 'Label24',
  691. `label25` string DEFAULT NULL COMMENT 'Label25',
  692. `label26` string DEFAULT NULL COMMENT 'Label26',
  693. `label27` string DEFAULT NULL COMMENT 'Label27',
  694. `label28` string DEFAULT NULL COMMENT 'Label28',
  695. `label29` string DEFAULT NULL COMMENT 'Label29',
  696. `label30` string DEFAULT NULL COMMENT 'Label30',
  697. `label31` string DEFAULT NULL COMMENT 'Label31',
  698. `label32` string DEFAULT NULL COMMENT 'Label32',
  699. `label33` string DEFAULT NULL COMMENT 'Label33',
  700. `label34` string DEFAULT NULL COMMENT 'Label34',
  701. `label35` string DEFAULT NULL COMMENT 'Label35',
  702. `label36` string DEFAULT NULL COMMENT 'Label36',
  703. `label37` string DEFAULT NULL COMMENT 'Label37',
  704. `label38` string DEFAULT NULL COMMENT 'Label38',
  705. `label39` string DEFAULT NULL COMMENT 'Label39',
  706. `label40` string DEFAULT NULL COMMENT 'Label40',
  707. `label41` string DEFAULT NULL COMMENT 'Label41',
  708. `label42` string DEFAULT NULL COMMENT 'Label42',
  709. `label43` string DEFAULT NULL COMMENT 'Label43',
  710. `label44` string DEFAULT NULL COMMENT 'Label44',
  711. `label45` string DEFAULT NULL COMMENT 'Label45',
  712. `label46` string DEFAULT NULL COMMENT 'Label46',
  713. `label47` string DEFAULT NULL COMMENT 'Label47',
  714. `label48` string DEFAULT NULL COMMENT 'Label48',
  715. `label49` string DEFAULT NULL COMMENT 'Label49',
  716. `label50` string DEFAULT NULL COMMENT 'Label50',
  717. `label51` string DEFAULT NULL COMMENT 'Label51',
  718. `label52` string DEFAULT NULL COMMENT 'Label52',
  719. `label53` string DEFAULT NULL COMMENT 'Label53',
  720. `label54` string DEFAULT NULL COMMENT 'Label54',
  721. `label55` string DEFAULT NULL COMMENT 'Label55',
  722. `label56` string DEFAULT NULL COMMENT 'Label56',
  723. `label57` string DEFAULT NULL COMMENT 'Label57',
  724. `label58` string DEFAULT NULL COMMENT 'Label58',
  725. `label59` string DEFAULT NULL COMMENT 'Label59',
  726. `label60` string DEFAULT NULL COMMENT 'Label60',
  727. `label61` string DEFAULT NULL COMMENT 'Label61',
  728. `label62` string DEFAULT NULL COMMENT 'Label62',
  729. `label63` string DEFAULT NULL COMMENT 'Label63',
  730. `label64` string DEFAULT NULL COMMENT 'Label64',
  731. `label65` string DEFAULT NULL COMMENT 'Label65',
  732. `label66` string DEFAULT NULL COMMENT 'Label66',
  733. `label67` string DEFAULT NULL COMMENT 'Label67',
  734. `label68` string DEFAULT NULL COMMENT 'Label68',
  735. `label69` string DEFAULT NULL COMMENT 'Label69',
  736. `label70` string DEFAULT NULL COMMENT 'Label70',
  737. `label71` string DEFAULT NULL COMMENT 'Label71',
  738. `label72` string DEFAULT NULL COMMENT 'Label72',
  739. `label73` string DEFAULT NULL COMMENT 'Label73',
  740. `label74` string DEFAULT NULL COMMENT 'Label74',
  741. `label75` string DEFAULT NULL COMMENT 'Label75',
  742. `label76` string DEFAULT NULL COMMENT 'Label76',
  743. `label77` string DEFAULT NULL COMMENT 'Label77',
  744. `label78` string DEFAULT NULL COMMENT 'Label78',
  745. `label79` string DEFAULT NULL COMMENT 'Label79',
  746. `label80` string DEFAULT NULL COMMENT 'Label80',
  747. `label81` string DEFAULT NULL COMMENT 'Label81',
  748. `label82` string DEFAULT NULL COMMENT 'Label82',
  749. `label83` string DEFAULT NULL COMMENT 'Label83',
  750. `label84` string DEFAULT NULL COMMENT 'Label84',
  751. `label85` string DEFAULT NULL COMMENT 'Label85',
  752. `label86` string DEFAULT NULL COMMENT 'Label86',
  753. `label87` string DEFAULT NULL COMMENT 'Label87',
  754. `label88` string DEFAULT NULL COMMENT 'Label88',
  755. `label89` string DEFAULT NULL COMMENT 'Label89',
  756. `label90` string DEFAULT NULL COMMENT 'Label90',
  757. `label91` string DEFAULT NULL COMMENT 'Label91',
  758. `label92` string DEFAULT NULL COMMENT 'Label92',
  759. `label93` string DEFAULT NULL COMMENT 'Label93',
  760. `label94` string DEFAULT NULL COMMENT 'Label94',
  761. `label95` string DEFAULT NULL COMMENT 'Label95',
  762. `label96` string DEFAULT NULL COMMENT 'Label96',
  763. `label97` string DEFAULT NULL COMMENT 'Label97',
  764. `label98` string DEFAULT NULL COMMENT 'Label98',
  765. `label99` string DEFAULT NULL COMMENT 'Label99',
  766. `label100` string DEFAULT NULL COMMENT 'Label100',
  767. `label101` string DEFAULT NULL COMMENT 'Label101',
  768. `label102` string DEFAULT NULL COMMENT 'Label102',
  769. `label103` string DEFAULT NULL COMMENT 'Label103',
  770. `label104` string DEFAULT NULL COMMENT 'Label104',
  771. `label105` string DEFAULT NULL COMMENT 'Label105',
  772. `label106` string DEFAULT NULL COMMENT 'Label106',
  773. `label107` string DEFAULT NULL COMMENT 'Label107',
  774. `label108` string DEFAULT NULL COMMENT 'Label108',
  775. `label109` string DEFAULT NULL COMMENT 'Label109',
  776. `label110` string DEFAULT NULL COMMENT 'Label110',
  777. `label111` string DEFAULT NULL COMMENT 'Label111',
  778. `label112` string DEFAULT NULL COMMENT 'Label112',
  779. `label113` string DEFAULT NULL COMMENT 'Label113',
  780. `label114` string DEFAULT NULL COMMENT 'Label114',
  781. `label115` string DEFAULT NULL COMMENT 'Label115',
  782. `label116` string DEFAULT NULL COMMENT 'Label116',
  783. `label117` string DEFAULT NULL COMMENT 'Label117',
  784. `label118` string DEFAULT NULL COMMENT 'Label118',
  785. `label119` string DEFAULT NULL COMMENT 'Label119',
  786. `label120` string DEFAULT NULL COMMENT 'Label120',
  787. `salecom` string DEFAULT NULL,
  788. `salecomnew` string DEFAULT NULL
  789. )
  790. COMMENT '客户信息 '
  791. ROW FORMAT SERDE
  792. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  793. STORED BY
  794. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  795. WITH SERDEPROPERTIES (
  796. 'elasticsearch.columns.mapping'='_id,custid,scustid,name,birthday,nobirth,sobirth,cobirth,dday,gender,ethnic,nation,homeadress,regresidence,maritalstat,maritalstatdate,offspring,support,empstat,empstatdate,raid,ral,al,coadress,pmphone,mhone1,mhone2,sophone,height,weight,cillness,pillness,cdiseases,bmi,fmhistory,evadate,cohevaluation,hphone,occupationid,occupation,odate,employer,wphone,empdate,lemployer,idcard,passport,dlicense,education,university,edate,wechat,weibo,email,qq,tiktok,saccount1,sa1cat,saccount2,sa2cat,ctype,father,mother,mate,child1,child2,cochild,rpid,rpdescribe,corp,vid,vdescribe,covehicle,anniversary1,a1describe,anniversary2,a2describe,soanniversary,custtype,bankname,tobankcard,accname,bankaccno,cobaccount,sotlirisk,soairisk,sosiirisk,somcirisk,someirisk,soefirisk,sopirisk,sowmirisk,custclass,convalue,awarded3,awarded2,awarded1,sovalue,enddate,systemtag1,systemtag2,systemtag3,systemtag4,systemtag5,cocommunication,lcdate,lctype,lcmethod,cocomplaint,lcptdate,lcptreason,lcptlink,lcptresult,lcptduration,lcptperson,soppremium,lappdate,cndate,cnstatus,coclaim,soclaim,cocnotification,fadate,fachannel,faorg,lpno,lpstate,lpname,lpchannel,lporg,copolicy,lpostype,iaccno1,iaccname1,iaccno2,iaccname2,iaccno3,iaccname3,soiaccount1,soiaccount2,soiaccount3,coiaccount,homeid,branchcode,custstate,datasource,smoking,drinking,pregnancy,hobby1,hobby2,hobby3,pincome,fincome,regtype,incomesource,sistatus,novpolicy,noivpolicy,nostinsurance,nospinsurance,iself,iparent,ichildren,imate,policybelong,zipcode,othernumber,otheridnumber,officialcalculus,created_by,created_time,updated_by,updated_time,label1,label2,label3,label4,label5,label6,label7,label8,label9,label10,label11,label12,label13,label14,label15,label16,label17,label18,label19,label20,label21,label22,label23,label24,label25,label26,label27,label28,label29,label30,label31,label32,label33,label34,label35,label36,label37,label38,label39,label40,label41,label42,label43,label44,label45,label46,label47,label48,label49,label50,label51,label52,label53,label54,label55,label56,label57,label58,label59,label60,label61,label62,label63,label64,label65,label66,label67,label68,label69,label70,label71,label72,label73,label74,label75,label76,label77,label78,label79,label80,label81,label82,label83,label84,label85,label86,label87,label88,label89,label90,label91,label92,label93,label94,label95,label96,label97,label98,label99,label100,label101,label102,label103,label104,label105,label106,label107,label108,label109,label110,label111,label112,label113,label114,label115,label116,label117,label118,label119,label120,salecom,salecomnew',
  797. 'elasticsearch.columns.type'='string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,int,string,string,string,int,double,double,string,string,string,double,string,string,int,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,int,string,string,int,string,string,int,string,string,string,string,int,string,string,string,string,string,int,double,double,double,double,double,double,double,double,int,int,int,int,int,int,string,string,string,string,string,string,int,string,string,string,int,string,string,string,string,double,string,double,string,string,string,int,double,int,string,string,string,string,string,string,string,string,int,string,string,string,string,string,string,string,double,double,double,int,string,string,string,string,string,string,string,string,string,string,double,double,string,string,string,int,int,string,string,string,string,string,string,string,string,string,string,string,string,date,string,date,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string',
  798. 'serialization.format'='1')
  799. LOCATION
  800. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.individual@esdrive.stargate'
  801. TBLPROPERTIES (
  802. 'es.table.enable.all'='false',
  803. 'last_modified_time'='1648627068',
  804. 'elasticsearch.tablename'='shanglifeecif.individual',
  805. 'COLUMN_STATS_ACCURATE'='false',
  806. 'transient_lastDdlTime'='1651208982',
  807. 'last_modified_by'='hive',
  808. 'elasticsearch.indextype'='default_type_',
  809. 'es.table.shards'='10')
  810. ;
  811. CREATE TABLE `shanglifeecif.indrelationship`(
  812. `irsid` string DEFAULT NULL COMMENT '',
  813. `rstype` string DEFAULT NULL COMMENT '',
  814. `indid1` string DEFAULT NULL COMMENT '',
  815. `name1` string DEFAULT NULL COMMENT '',
  816. `mphone1` string DEFAULT NULL COMMENT '',
  817. `idcard1` string DEFAULT NULL COMMENT '',
  818. `role1` string DEFAULT NULL COMMENT '',
  819. `indid2` string DEFAULT NULL COMMENT '',
  820. `name2` string DEFAULT NULL COMMENT '',
  821. `mphone2` string DEFAULT NULL COMMENT '',
  822. `idcard2` string DEFAULT NULL COMMENT '',
  823. `role2` string DEFAULT NULL COMMENT '',
  824. `rsstime` date DEFAULT NULL COMMENT '',
  825. `rsetime` date DEFAULT NULL COMMENT '',
  826. `rsdescribe` string DEFAULT NULL COMMENT '',
  827. `created_by` string DEFAULT NULL COMMENT '',
  828. `created_time` date DEFAULT NULL COMMENT '',
  829. `updated_by` string DEFAULT NULL COMMENT '',
  830. `updated_time` date DEFAULT NULL COMMENT '',
  831. `salecom` string DEFAULT NULL COMMENT '所属渠道'
  832. )
  833. COMMENT '个体关系'
  834. ROW FORMAT SERDE
  835. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  836. STORED BY
  837. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  838. WITH SERDEPROPERTIES (
  839. 'elasticsearch.columns.mapping'='_id,rstype,indid1,name1,mphone1,idcard1,role1,indid2,name2,mphone2,idcard2,role2,rsstime,rsetime,rsdescribe,created_by,created_time,updated_by,updated_time,salecom',
  840. 'serialization.format'='1')
  841. LOCATION
  842. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.indrelationship@esdrive.stargate'
  843. TBLPROPERTIES (
  844. 'transient_lastDdlTime'='1652427549',
  845. 'elasticsearch.tablename'='shanglifeecif.indrelationship',
  846. 'elasticsearch.indextype'='default_type_')
  847. ;
  848. CREATE TABLE `shanglifeecif.insurancearrangement`(
  849. `iaid` string NOT NULL COMMENT '保单ID',
  850. `policyno` string DEFAULT NULL COMMENT '保险单号 INSURANCEINFO.CONTNO',
  851. `pano` string DEFAULT NULL COMMENT '投保单号 INSURANCEINFO.PRTNO',
  852. `agrmntage` string DEFAULT NULL COMMENT '保险期限',
  853. `pbinst` string DEFAULT NULL COMMENT '受益分配方式',
  854. `pwcomp` string DEFAULT NULL COMMENT '承保分公司 HEALTH_INSURANCE_LISTING.AGENTGROUPAREA 营业区HEALTH_INSURANCE_LISTING.AGENTGROUP 营业部',
  855. `pindate` string DEFAULT NULL COMMENT '起保日期 POLICY_INFORMATION.CVALIDATE',
  856. `pmdate` string DEFAULT NULL COMMENT '终保日期 POLICY_INFORMATION.ENDDATE',
  857. `pisdate` string DEFAULT NULL COMMENT '签单日期 INSURANCEINFO.SIGNDATE',
  858. `padate` string DEFAULT NULL COMMENT '投保日期 INSURANCEINFO.POLAPPLYDATE',
  859. `renewaldate` string DEFAULT NULL COMMENT '续保日期',
  860. `norenewal` int DEFAULT NULL COMMENT '续保次数 POLICY_INFORMATION.PAYCOUNT',
  861. `policytype` string DEFAULT NULL COMMENT '保单类型 PERSONAL_INSURANCE.CONTTYPE,需上游给出类型枚举值',
  862. `schannel` string DEFAULT NULL COMMENT '销售渠道 HEALTH_INSURANCE_LISTING.SALECHANNELS 1 2 3 4 5',
  863. `bsource` string DEFAULT NULL COMMENT '业务来源',
  864. `policystate` string DEFAULT NULL COMMENT '保单状态 保单包括投保单的所处的状态,例如:录入、生效、批单等 INSURANCEINFO.APPFLAG code 0 1 2 4 9 B F',
  865. `topay` string DEFAULT NULL COMMENT '缴费类型',
  866. `payment` string DEFAULT NULL COMMENT '缴费方式 POLICY_INFORMATION.PAYINTV',
  867. `risk` double DEFAULT NULL COMMENT '总保额 HEALTH_INSURANCE_LISTING.AMNT(测试环境中,此表保单数据量较其他表如:POLICY_INFORMATION,INSURANCEINFO 缺少至少一个数据量级)',
  868. `prem` double DEFAULT NULL COMMENT '总保费 INSURANCEINFO.PREM',
  869. `currency` string DEFAULT NULL COMMENT '币种',
  870. `npdate` string DEFAULT NULL COMMENT '下次缴费日期',
  871. `soinsured` int DEFAULT NULL COMMENT '被保人数 HEALTH_GROUP_LISTING.PEOPLES3,团单',
  872. `bsinsured` double DEFAULT NULL COMMENT '基本保额 保险合同条款费率表中载明的单位保额。比如中国人寿的康宁终身保险就是这样,如果购买的基本保险金额是10万的话,那么大病的保险金额就是基本保险金额的2倍即20万;',
  873. `insurvalue` double DEFAULT NULL COMMENT '保单价值 保单价值,即保单现金价值。是指带有储蓄性质的人身bai保险单所具有的价值。保险人为履行合同责任通常提存责任准备金,如果您中途退保,即以该保单的责任准备金作为给付解约的退还金。被保险人要求解约或退保时,寿险公司应该发还的金额。
  874. 在长期寿险契约中,保险人为履行契约责任,通常需要提存一定数额的责任准备金。当被保险人于保险有效期内因故要求解约或退保时,保险人按规定,将提存的责任准备金减去解约扣除后的余额退还给被保险人,这部分余额即解约金,亦即退保时保单所具有的现金价值。',
  875. `applicantid` string DEFAULT NULL COMMENT '投保人 根据POLICY_INFORMATION.CUSTOMERNO关联individual上游客户号,再找到individualid',
  876. `applicantscustid` string DEFAULT NULL COMMENT '投保人上游客户号',
  877. `appname` string DEFAULT NULL COMMENT '投保人名称 POLICY_INFORMATION.NAME',
  878. `appphone` string DEFAULT NULL COMMENT '投保人手机',
  879. `appcertid` string DEFAULT NULL COMMENT '投保人证件号码 POLICY_INFORMATION.IDNO',
  880. `insuredid` string DEFAULT NULL COMMENT '主被保险人 客户号',
  881. `insuredscustid` string DEFAULT NULL COMMENT '主被保险人 上游客户号POLICY_INFORMATION.insuredno',
  882. `insname` string DEFAULT NULL COMMENT '主被保险人名称 POLICY_INFORMATION.INSUREDNAME',
  883. `insphone` string DEFAULT NULL COMMENT '主被保险人手机',
  884. `inscertid` string DEFAULT NULL COMMENT '主被保险人证件号码 POLICY_INFORMATION.INSUREDIDNO',
  885. `productid` string DEFAULT NULL COMMENT '险种代码 POLICY_INFORMATION.RISKCODE',
  886. `productname` string DEFAULT NULL COMMENT '险种名称 INSURANCEINFO.RISKNAME',
  887. `salesperson` string DEFAULT NULL COMMENT '业务员',
  888. `spname` string DEFAULT NULL COMMENT '业务员名称 HEALTH_INSURANCE_LISTING.AGENTCODE',
  889. `iaccount` string DEFAULT NULL COMMENT '所属保险账户',
  890. `branchcode` string DEFAULT NULL COMMENT '机构代码',
  891. `policybelong` string DEFAULT NULL COMMENT '业绩归属 POLICY_INFORMATION.SALECOM',
  892. `agentchannel` string DEFAULT NULL COMMENT '代理渠道 INSURANCEINFO.SELLTYPE',
  893. `agentorg` string DEFAULT NULL COMMENT '代理机构',
  894. `regtype` string DEFAULT NULL COMMENT '户籍类型',
  895. `pincome` string DEFAULT NULL COMMENT '个人年收入',
  896. `fincome` double DEFAULT NULL COMMENT '家庭年收入',
  897. `incomesource` string DEFAULT NULL COMMENT '收入来源',
  898. `socialinsurance` string DEFAULT NULL COMMENT '是否有社保',
  899. `oipolicy` string DEFAULT NULL COMMENT '是否投保其他保险公司',
  900. `oicompany` string DEFAULT NULL COMMENT '其他保险公司',
  901. `oicproduct` string DEFAULT NULL COMMENT '其他保险公司险种',
  902. `oiamount` double DEFAULT NULL COMMENT '其他保险公司保额',
  903. `drinking` string DEFAULT NULL COMMENT '是否饮酒',
  904. `dfavor` string DEFAULT NULL COMMENT '饮酒喜好',
  905. `poservice` string DEFAULT NULL COMMENT '是否保全 投保人持有保单是否在AUDIT_EDORLIST.CONTNO存在',
  906. `payendyear` int DEFAULT NULL COMMENT '缴费年期 POLICY_INFORMATION.PAYENDYEAR',
  907. `loanmoney` double DEFAULT NULL COMMENT '保单质押贷款金额 AUDIT_LN_LIST.LNMONEY ',
  908. `paydate` string DEFAULT NULL COMMENT '缴至日期',
  909. `risk_categories` string DEFAULT NULL COMMENT '险种大类代码',
  910. `risk_categories_name` string DEFAULT NULL COMMENT '险种大类名称',
  911. `created_by` string DEFAULT NULL COMMENT '创建人',
  912. `created_time` date DEFAULT NULL COMMENT '创建时间',
  913. `updated_by` string DEFAULT NULL COMMENT '更新人',
  914. `updated_time` date DEFAULT NULL COMMENT '更新时间',
  915. `sumprem` double DEFAULT NULL,
  916. `salecomname` string DEFAULT NULL,
  917. `security` string DEFAULT NULL,
  918. `schannelname` string DEFAULT NULL
  919. )
  920. COMMENT '保单 确定参与方之间,参与方和保险公司之间的协议,使相关各方能在遵守一定的规则并履行相关义务的前提下进行产品或资源或服务的供给'
  921. ROW FORMAT SERDE
  922. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  923. STORED BY
  924. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  925. WITH SERDEPROPERTIES (
  926. 'elasticsearch.columns.mapping'='_id,policyno,pano,agrmntage,pbinst,pwcomp,pindate,pmdate,pisdate,padate,renewaldate,norenewal,policytype,schannel,bsource,policystate,topay,payment,risk,prem,currency,npdate,soinsured,bsinsured,insurvalue,applicantid,applicantscustid,appname,appphone,appcertid,insuredid,insuredscustid,insname,insphone,inscertid,productid,productname,salesperson,spname,iaccount,branchcode,policybelong,agentchannel,agentorg,regtype,pincome,fincome,incomesource,socialinsurance,oipolicy,oicompany,oicproduct,oiamount,drinking,dfavor,poservice,payendyear,loanmoney,paydate,risk_categories,risk_categories_name,created_by,created_time,updated_by,updated_time,sumprem,salecomname,security,schannelname',
  927. 'elasticsearch.columns.type'='string,string,string,string,string,string,string,string,string,string,string,int,string,string,string,string,string,string,double,double,string,string,int,double,double,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,double,string,string,string,string,string,double,string,string,string,int,double,string,string,string,string,date,string,date,double,string,string,string',
  928. 'serialization.format'='1')
  929. LOCATION
  930. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.insurancearrangement@esdrive.stargate'
  931. TBLPROPERTIES (
  932. 'last_modified_time'='1617775661',
  933. 'elasticsearch.tablename'='shanglifeecif.insurancearrangement',
  934. 'transient_lastDdlTime'='1651208986',
  935. 'last_modified_by'='hive',
  936. 'elasticsearch.indextype'='default_type_',
  937. 'es.table.shards'='10',
  938. 'es.table.enable.all'='false',
  939. 'totalSize'='0',
  940. 'COLUMN_STATS_ACCURATE'='false',
  941. 'numFiles'='0')
  942. ;
  943. CREATE TABLE `shanglifeecif.insuranceclaimthread`(
  944. `icthreadid` string NOT NULL COMMENT '保险理赔Id',
  945. `crno` string DEFAULT NULL COMMENT '立案号',
  946. `companyno` string DEFAULT NULL COMMENT '公司代码',
  947. `policyno` string NOT NULL COMMENT '保险单号 INSURANCE_CLAIM.CONTNO',
  948. `applicantid` string DEFAULT NULL COMMENT '投保人ID',
  949. `appname` string DEFAULT NULL COMMENT '投保人名称',
  950. `appphone` string DEFAULT NULL COMMENT '投保人手机',
  951. `appcertid` string DEFAULT NULL COMMENT '投保人证件号码 INSURANCE_CLAIM.RISKDATE',
  952. `cnno` string DEFAULT NULL COMMENT '报案号',
  953. `losstime` string DEFAULT NULL COMMENT '损失发生时间',
  954. `rpid` string DEFAULT NULL COMMENT '报案人',
  955. `rpname` string DEFAULT NULL COMMENT '报案人名称',
  956. `rpphone` string DEFAULT NULL COMMENT '报案人电话',
  957. `lpid` string DEFAULT NULL COMMENT '出险人',
  958. `lpscutid` string DEFAULT NULL COMMENT '出险人上游客户号',
  959. `lpname` string DEFAULT NULL COMMENT '出险人名称',
  960. `cndate` string DEFAULT NULL COMMENT '报案日期 INSURANCE_CLAIM.RPTDATE',
  961. `lossdescribe` string DEFAULT NULL COMMENT '损失原因 案件发生的原因:INSURANCE_CLAIM.LLOCCURREASON',
  962. `crdate` string DEFAULT NULL COMMENT '立案日期 INSURANCE_CLAIM.RGTDATE',
  963. `cndescribe` string DEFAULT NULL COMMENT '报案描述 INSURANCE_CLAIM.ACCIDENTDETAIL',
  964. `claimstatus` string DEFAULT NULL COMMENT '理赔状态 案件的状态,例如:录入、已立案等',
  965. `csdate` string DEFAULT NULL COMMENT '理赔状态日期',
  966. `relationship` string DEFAULT NULL COMMENT '报案人与出险人关系',
  967. `ccno` string DEFAULT NULL COMMENT '赔案号 AUDIT_CLAIM_INSURANCE.CLMNO',
  968. `ccstatus` string DEFAULT NULL COMMENT '赔案状态',
  969. `ccsdate` string DEFAULT NULL COMMENT '赔案状态日期',
  970. `productid` string DEFAULT NULL COMMENT '险种代码',
  971. `productname` string DEFAULT NULL COMMENT '险种代码名称',
  972. `ccamt` double DEFAULT NULL COMMENT '赔付金额',
  973. `branchcode` string DEFAULT NULL COMMENT '机构代码',
  974. `claimcasestatus` string DEFAULT NULL COMMENT '案件状态INSURANCE_CLAIM_HEALTH.LLCLAIMSTATE',
  975. `accidenttype` string DEFAULT NULL COMMENT '理赔类型',
  976. `created_by` string DEFAULT NULL COMMENT '',
  977. `created_time` date DEFAULT NULL COMMENT '',
  978. `updated_by` string DEFAULT NULL COMMENT '',
  979. `updated_time` date DEFAULT NULL COMMENT '',
  980. `salecom` string DEFAULT NULL,
  981. `salecomname` string DEFAULT NULL
  982. )
  983. COMMENT '保险理赔'
  984. ROW FORMAT SERDE
  985. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  986. STORED BY
  987. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  988. WITH SERDEPROPERTIES (
  989. 'elasticsearch.columns.mapping'='_id,crno,companyno,policyno,applicantid,appname,appphone,appcertid,cnno,losstime,rpid,rpname,rpphone,lpid,lpscutid,lpname,cndate,lossdescribe,crdate,cndescribe,claimstatus,csdate,relationship,ccno,ccstatus,ccsdate,productid,productname,ccamt,branchcode,claimcasestatus,accidenttype,created_by,created_time,updated_by,updated_time,salecom,salecomname',
  990. 'elasticsearch.columns.type'='string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,double,string,string,string,string,date,string,date',
  991. 'serialization.format'='1')
  992. LOCATION
  993. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.insuranceclaimthread@esdrive.stargate'
  994. TBLPROPERTIES (
  995. 'es.table.enable.all'='false',
  996. 'last_modified_time'='1647855753',
  997. 'elasticsearch.tablename'='shanglifeecif.insuranceclaimthread',
  998. 'COLUMN_STATS_ACCURATE'='false',
  999. 'transient_lastDdlTime'='1651208987',
  1000. 'last_modified_by'='hive',
  1001. 'elasticsearch.indextype'='default_type_',
  1002. 'es.table.shards'='10')
  1003. ;
  1004. CREATE TABLE `shanglifeecif.partytimeline`(
  1005. `tripid` string DEFAULT NULL COMMENT '',
  1006. `policyno` string DEFAULT NULL COMMENT '',
  1007. `partyid` string DEFAULT NULL COMMENT '',
  1008. `name` string DEFAULT NULL COMMENT '',
  1009. `pcertid` string DEFAULT NULL COMMENT '',
  1010. `pphone` string DEFAULT NULL COMMENT '',
  1011. `prole` string DEFAULT NULL COMMENT '',
  1012. `scenario` string DEFAULT NULL COMMENT '',
  1013. `sdate` string DEFAULT NULL COMMENT '',
  1014. `threadid` string DEFAULT NULL COMMENT '',
  1015. `parentid` string DEFAULT NULL COMMENT '',
  1016. `describe` string DEFAULT NULL COMMENT '',
  1017. `channel` string DEFAULT NULL COMMENT '',
  1018. `enddate` string DEFAULT NULL COMMENT '',
  1019. `created_by` string DEFAULT NULL COMMENT '',
  1020. `created_time` date DEFAULT NULL COMMENT '',
  1021. `updated_by` string DEFAULT NULL COMMENT '',
  1022. `updated_time` date DEFAULT NULL COMMENT '',
  1023. `salecom` string DEFAULT NULL,
  1024. `salecomname` string DEFAULT NULL
  1025. )
  1026. COMMENT '参与方事件'
  1027. ROW FORMAT SERDE
  1028. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  1029. STORED BY
  1030. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  1031. WITH SERDEPROPERTIES (
  1032. 'elasticsearch.columns.mapping'='_id,policyno,partyid,name,pcertid,pphone,prole,scenario,sdate,threadid,parentid,describe,channel,enddate,created_by,created_time,updated_by,updated_time,salecom,salecomname',
  1033. 'elasticsearch.columns.type'='string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,date,string,date',
  1034. 'serialization.format'='1')
  1035. LOCATION
  1036. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.partytimeline@esdrive.stargate'
  1037. TBLPROPERTIES (
  1038. 'es.table.enable.all'='false',
  1039. 'last_modified_time'='1647849050',
  1040. 'elasticsearch.tablename'='shanglifeecif.partytimeline',
  1041. 'COLUMN_STATS_ACCURATE'='false',
  1042. 'transient_lastDdlTime'='1651208988',
  1043. 'last_modified_by'='hive',
  1044. 'elasticsearch.indextype'='default_type_',
  1045. 'es.table.shards'='10')
  1046. ;
  1047. CREATE TABLE `shanglifeecif.riskcode_statistics`(
  1048. `id` string DEFAULT NULL,
  1049. `kindcode` string DEFAULT NULL COMMENT '险种大类代码',
  1050. `kindname` string DEFAULT NULL COMMENT '险种大类名称',
  1051. `khnum` string DEFAULT NULL COMMENT '客户数量',
  1052. `tatolprem` string DEFAULT NULL COMMENT '总保额'
  1053. )
  1054. COMMENT '险种大类统计表'
  1055. ROW FORMAT SERDE
  1056. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  1057. STORED BY
  1058. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  1059. WITH SERDEPROPERTIES (
  1060. 'elasticsearch.columns.mapping'='_id,kindcode,kindname,khnum,tatolprem',
  1061. 'elasticsearch.columns.type'='string,string,string,string,string',
  1062. 'serialization.format'='1')
  1063. LOCATION
  1064. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.riskcode_statistics@esdrive.stargate'
  1065. TBLPROPERTIES (
  1066. 'es.table.enable.all'='false',
  1067. 'elasticsearch.tablename'='shanglifeecif.riskcode_statistics',
  1068. 'transient_lastDdlTime'='1651208989',
  1069. 'elasticsearch.indextype'='default_type_',
  1070. 'es.table.shards'='10')
  1071. ;
  1072. CREATE TABLE `shanglifeecif.riskcode_statistics_channel`(
  1073. `id` string DEFAULT NULL,
  1074. `kindcode` string DEFAULT NULL COMMENT '险种大类代码',
  1075. `kindname` string DEFAULT NULL COMMENT '险种大类名称',
  1076. `khnum` string DEFAULT NULL COMMENT '客户数量',
  1077. `tatolprem` string DEFAULT NULL COMMENT '总保额',
  1078. `salecom` string DEFAULT NULL COMMENT '渠道码',
  1079. `salecomname` string DEFAULT NULL COMMENT '渠道名字'
  1080. )
  1081. COMMENT '险种大类统计渠道表'
  1082. ROW FORMAT SERDE
  1083. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  1084. STORED BY
  1085. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  1086. WITH SERDEPROPERTIES (
  1087. 'elasticsearch.columns.mapping'='_id,kindcode,kindname,khnum,tatolprem,salecom,salecomname',
  1088. 'serialization.format'='1')
  1089. LOCATION
  1090. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.riskcode_statistics_channel@esdrive.stargate'
  1091. TBLPROPERTIES (
  1092. 'es.table.enable.all'='false',
  1093. 'elasticsearch.tablename'='shanglifeecif.riskcode_statistics_channel',
  1094. 'transient_lastDdlTime'='1651208990',
  1095. 'elasticsearch.indextype'='default_type_',
  1096. 'es.table.shards'='10')
  1097. ;
  1098. CREATE TABLE `shanglifeecif.samecustomer`(
  1099. `sid` string DEFAULT NULL COMMENT '',
  1100. `scustid` string DEFAULT NULL COMMENT '',
  1101. `custid` string DEFAULT NULL COMMENT '',
  1102. `name` string DEFAULT NULL COMMENT '',
  1103. `gender` string DEFAULT NULL COMMENT '',
  1104. `birthday` string DEFAULT NULL COMMENT '',
  1105. `idcard` string DEFAULT NULL COMMENT '',
  1106. `passport` string DEFAULT NULL COMMENT '护照',
  1107. `dlicense` string DEFAULT NULL COMMENT '驾驶证',
  1108. `otheridnumber` string DEFAULT NULL COMMENT '其它证件号码',
  1109. `sametype` string DEFAULT NULL COMMENT '相似类型',
  1110. `mobile` string DEFAULT NULL,
  1111. `zipcode` string DEFAULT NULL,
  1112. `degree` string DEFAULT NULL,
  1113. `pindate` string DEFAULT NULL,
  1114. `agentname` string DEFAULT NULL,
  1115. `salecomname` string DEFAULT NULL,
  1116. `email` string DEFAULT NULL
  1117. )
  1118. COMMENT '疑似相同客户信息'
  1119. ROW FORMAT SERDE
  1120. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  1121. STORED BY
  1122. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  1123. WITH SERDEPROPERTIES (
  1124. 'elasticsearch.columns.mapping'='_id,scustid,custid,name,gender,birthday,idcard,passport,dlicense,otheridnumber,sametype,mobile,zipcode,degree,pindate,agentname,salecomname,email',
  1125. 'elasticsearch.columns.type'='string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string,string',
  1126. 'serialization.format'='1')
  1127. LOCATION
  1128. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.samecustomer@esdrive.stargate'
  1129. TBLPROPERTIES (
  1130. 'last_modified_time'='1619145452',
  1131. 'elasticsearch.tablename'='shanglifeecif.samecustomer',
  1132. 'transient_lastDdlTime'='1651208992',
  1133. 'last_modified_by'='hive',
  1134. 'elasticsearch.indextype'='default_type_',
  1135. 'es.table.shards'='10',
  1136. 'es.table.enable.all'='false',
  1137. 'totalSize'='0',
  1138. 'COLUMN_STATS_ACCURATE'='false',
  1139. 'numFiles'='0')
  1140. ;
  1141. CREATE TABLE `shanglifeecif.surrenderprotectiontemp`(
  1142. `tbid` string DEFAULT NULL COMMENT '唯一标识',
  1143. `scustid` string DEFAULT NULL COMMENT '退保客户号',
  1144. `tbday` string DEFAULT NULL COMMENT '退保保障天数'
  1145. )
  1146. COMMENT '退保保障天数临时表'
  1147. ROW FORMAT SERDE
  1148. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  1149. STORED BY
  1150. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  1151. WITH SERDEPROPERTIES (
  1152. 'elasticsearch.columns.mapping'='_id,scustid,tbday',
  1153. 'elasticsearch.columns.type'='string,string,string',
  1154. 'serialization.format'='1')
  1155. LOCATION
  1156. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.surrenderprotectiontemp@esdrive.stargate'
  1157. TBLPROPERTIES (
  1158. 'es.table.enable.all'='false',
  1159. 'elasticsearch.tablename'='shanglifeecif.surrenderprotectiontemp',
  1160. 'transient_lastDdlTime'='1651208993',
  1161. 'elasticsearch.indextype'='default_type_',
  1162. 'es.table.shards'='10')
  1163. ;
  1164. CREATE TABLE `shanglifeecif.tbcustomerinfo`(
  1165. `tbid` string DEFAULT NULL COMMENT '唯一标识',
  1166. `scustid` string DEFAULT NULL COMMENT '退保客户号',
  1167. `contno` string DEFAULT NULL COMMENT '退保单号',
  1168. `sdate` string DEFAULT NULL COMMENT '开始日期',
  1169. `edate` string DEFAULT NULL COMMENT '退保日期',
  1170. `salecom_search` string DEFAULT NULL,
  1171. `salecom` string DEFAULT NULL,
  1172. `salecomname` string DEFAULT NULL
  1173. )
  1174. COMMENT '退保客户信息表'
  1175. ROW FORMAT SERDE
  1176. 'io.transwarp.esdrive.serde.ElasticSearchSerDe'
  1177. STORED BY
  1178. 'io.transwarp.esdrive.ElasticSearchStorageHandler'
  1179. WITH SERDEPROPERTIES (
  1180. 'elasticsearch.columns.mapping'='_id,scustid,contno,sdate,edate,salecom_search,salecom,salecomname',
  1181. 'elasticsearch.columns.type'='string,string,string,string,string',
  1182. 'serialization.format'='1')
  1183. LOCATION
  1184. 'hdfs://nameservice1/inceptor1/user/hive/warehouse/shanglifeecif.db/hive/shanglifeecif.tbcustomerinfo@esdrive.stargate'
  1185. TBLPROPERTIES (
  1186. 'es.table.enable.all'='false',
  1187. 'last_modified_time'='1649224901',
  1188. 'elasticsearch.tablename'='shanglifeecif.tbcustomerinfo',
  1189. 'COLUMN_STATS_ACCURATE'='false',
  1190. 'transient_lastDdlTime'='1651208995',
  1191. 'last_modified_by'='hive',
  1192. 'elasticsearch.indextype'='default_type_',
  1193. 'es.table.shards'='10')
  1194. ;