File size: 875 Bytes
e8c001c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
INSERT OVERWRITE TABLE internal_platform_db.t_boss_v1_dict_item_hour_monitor_res_query_engine_130 PARTITION (p_2026060910='p_2026060910', p_monitor='p_monitor')
SELECT imp_time, data_type, data_id, check_rule_id, check_item_id, dim_name, dim_value, compute_value, compare_value, check_value
FROM (
  WITH temp_table_1 AS (
    SELECT 'AEGIS_ALL' AS dim_name, 'AEGIS_ALL' AS dim_value, count(1) AS compute_item_51323
    FROM internal_platform_db.t_boss_v1_dict_item_hour_query_engine_130
    WHERE imp_hour = 2026060910
  )
  SELECT
    2026060910 AS imp_time,
    'monitor' AS data_type,
    '1::dept_om::t_boss_v1_dict_item_hour' AS data_id,
    51322 AS check_rule_id,
    51323 AS check_item_id,
    dim_name,
    dim_value,
    compute_item_51323 AS compute_value,
    CAST(null AS STRING) AS compare_value,
    compute_item_51323 AS check_value
  FROM temp_table_1
) t