开发者学堂课程【新电商大数据平台2020最新课程:电商项目之支付类指标统计表分析】学习笔记,与课程紧密联系,让用户快速学习知识。
课程地址:https://developer.aliyun.com/learning/course/640/detail/10566
电商项目之支付类指标统计表分析
支付类指标统计表4X [示例] [ADS]
create external table if not exists ads_ nshop.ads_nshop_pay_stat_gsets(
customer_ gender TINYINT COMMENT“性别: 1男0女",
age_ range string COMMENT ” 年龄段",
customer_natives string COMMENT ‘所在地区',
pay_ type string COMMENT ‘支付类型',
pay_ nettype string COMMENT‘支付网络方式’,
pay_ amounts int comment ‘支付金额",
pay_ success int comment ‘支付成功数" ,
pay_ fail int comment ‘支付失败数’,
pay_ order_counts int comment ‘支付订单数' ,
pay_ user_counts int comment‘支付用户数" ,
pay_ product_ counts int comment '支付商品数,
order_ pay_amount_ rate float comment ” 下单-支付金额转换率’,
order_ pay_user_rate float comment '下单-支付买家数转换率’,
--order_ pay_duration float comment '下单 -支付时长'
) partitioned by (bdp_day string)
stored as parquet
location'/data/nshop/ ads/operation/ads_nshop_pay_stat_gsets/"