助力工业物联网,工业大数据之事实主题指标划分【十八】_事实指标值的分类

	```
+ **小结**


	- 掌握DWB层呼叫中心事实指标表的需求

03:呼叫中心事实指标构建

  • 目标实现DWB层呼叫中心事实指标表的构建

  • 实施

    • 建库
    create database if not exists one_make_dwb;
    
    
    • 建表
    -- 创建呼叫中心 | 来电受理事实表
    -- 如果interval进不去,用`interval`圈起来,指明是字段
    drop table if exists one_make_dwb.fact_call_service;
    create table if not exists one_make_dwb.fact_call_service(
        id string comment '受理id(唯一标识)' 
        , code string comment '受理单唯一编码'
        , call_date string comment '来电日期(日期id)' 
        , call_hour int comment '来电时间(小时)(事实维度)'
        , call_type_id string comment '来电类型(事实维度)'
        , call_type_name string comment '来电类型名称(事实维度)'
        , process_way_id string comment '受理方式(事实维度)' 
        , process_way_name string comment '受理方式(事实维度)' 
        , oil_station_id string comment '油站id' 
        , userid string comment '受理人员id'
        , cnt int comment '单据数量(指标列)'
        , dispatch_cnt int comment '派工数量'
        , cancellation_cnt int comment '派工单作废数量' 
        , chargeback_cnt int comment '派工单退单数量'
        , interval int comment '受理时长(单位:秒)' 
        , tel_spt_cnt int comment '电话支持数量'
        , on_site_spt_cnt int comment '现场安装、维修、改造、巡检数量' 
        , custm_visit_cnt int comment '回访单据数量' 
       , complain
  • 23
    点赞
  • 22
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值