tables.sql 113 KB

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