File size: 546 Bytes
e8c001c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
INSERT overwrite TABLE internal_platform_db.dwd_databus_topic_cost_detail_d_query_engine_015 PARTITION (dt = '20260507')
SELECT
  MAX(systemname) AS system_belong,
  MAX(dwproductname) AS category_name,
  MAX(dwappgroup) AS dw_appgroup,
  MAX(cityid) AS city_id,
  MAX(iset) AS cluster_set,
  topic,
  MAX(data_size) AS total_data_size_d,
  MAX(total_cost) AS total_cost,
  MAX(in_charge) AS in_charge
FROM
  internal_platform_db.ods_t_databus_access_topic_cost_date_d_query_engine_015
WHERE
  dt = '20260507'
  AND topic <> 'test'
GROUP BY topic