二手车销售主题数据库.docx
《二手车销售主题数据库.docx》由会员分享,可在线阅读,更多相关《二手车销售主题数据库.docx(5页珍藏版)》请在第壹文秘上搜索。
1、二手车销售在hive路径下:1 启动服务binive-servicemetastore&2 :启动hive:bin/hrve# 建库createdatabasedzx_escxs;曜库usedzx_escxs;# 建表1createtab1.etb_revenue.VehiCIeS(idit.vehidenamestring,incomepricestnng)rowformatde1.imitedfie1.dsterminatedbyt;# 建表2Createtab1.etb_car_ranking(idint.vehidenamestring,Satesvo1.umesstnng,Iota1
2、.amountofsa1.esstring)rowformatde1.imitedfie1.dsterminatedbyAC;# 这表3eatetab1.etb_customer_ageana1.ysis(dint,agegroupstring.numberofpeop1.estring.Puchaseproportionstring)rowformatde1.imitedfie1.dsterminatedbyt;# 建表4createtab1.etb_customer_career,ana1.ysis(dint.Custonieroccupationstring.umbeofbuyerstr
3、ing.purchaseproportionstring)rowformatde1.imitedfie1.dsterminatedby,f;# 建表5Createtab1.etb_month1.y_customer(idint.monthstring.Customerf1.ov/string)rowformatde1.imitedfie1.dsterminatedbyf:# 建表6Createtab1.etb_month1.y_profit(idint.monthstring.profitstung)rowformatde1.imitedfie1.dsterminatedby,f;# 建表7C
4、reatetab1.etb_se1.1.ing_vehides(idint.vehideamestring,Satesvo1.umestring,Se1.1.ingpncestring)rowformatde1.imitedfie1.dsterminatedbyf;#数据迁移1在sqoop目录下:binsqooimport-connectjdbc:mysq1.:/hadoop2:3306/dzx_escxs-usernameroot-passvordroot-tab1.etb_revenue_vehides-num-mappers1-hive-import-hive-databasedzx_e
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 二手车 销售 主题 数据库
第壹文秘所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。


重点工作绩效评估自评表.docx
