File size: 4,877 Bytes
e8c001c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
CREATE DATABASE IF NOT EXISTS internal_platform_db;

CREATE TABLE IF NOT EXISTS internal_platform_db.log_16159_query_engine_134 (
    `ds` STRING,
    `logid_` BIGINT,
    `protocolversion_` BIGINT,
    `user_id_` BIGINT,
    `ifsuccess_` BIGINT,
    `device_` BIGINT,
    `clientversion_` BIGINT,
    `clientip_` BIGINT,
    `agentip_` BIGINT,
    `timestamp_` BIGINT,
    `expandcol1_` BIGINT,
    `expandcol2_` BIGINT,
    `clientipv6_` STRING,
    `auditid_` BIGINT,
    `audittime_` BIGINT,
    `createtime_` BIGINT,
    `functype_` BIGINT,
    `operator_` STRING,
    `reason_` STRING,
    `receiptor_` STRING,
    `remark_` STRING,
    `status_` BIGINT,
    `uniqueauditid_` BIGINT,
    `resultinfo_` STRING,
    `othercol1_` STRING,
    `othercol2_` STRING,
    `othercol3_` STRING,
    `actiontype_` BIGINT,
    `strategyid_` BIGINT,
    `taginfo_` STRING,
    `providerid_` STRING,
    `orderid_` STRING,
    `receivetime_` BIGINT,
    `othercol4_` STRING,
    `othercol5_` STRING,
    `othercol6_` STRING,
    `othercol7_` STRING,
    `othercol8_` STRING,
    `othercol9_` STRING,
    `othercol10_` STRING,
    `othercol11_` STRING,
    `queue_label_` BIGINT,
    `queue_score_` BIGINT,
    `qc_unique_audit_id_` BIGINT,
    `othercol12_` STRING,
    `othercol13_` STRING,
    `othercol14_` STRING,
    `othercol15_` STRING,
    `othercol16_` STRING
) STORED AS ORC;

INSERT INTO TABLE internal_platform_db.log_16159_query_engine_134 VALUES
('2026060916', 1001, 1, 100, 1, 1, 1, 1, 1, 1, 1, 1, '::1', 5001, 1717689600, 1717689500, 2141, 'op_user1', 'reason1', 'rec1', 'remark1', 1, 90001, 'account_tag:900*sc*9001*sc*700;remark:test_remark;', 'bizuin:biz001;nickname:shop_A;', 'other2', 'other3', 3, 101, 'tag1', 'provider1', 'order1', 1717689550, 'o4', 'o5', 'o6', 'o7', 'o8', 'o9', 'o10', 'o11', 10, 50, 0, 'o12', 'o13', 'o14', 'o15', 'o16'),
('2026060916', 1002, 1, 200, 1, 1, 1, 1, 1, 1, 1, 1, '::1', 5002, 1717690000, 1717689900, 2141, 'op_user2', 'reason2', 'rec2', 'remark2', 1, 90002, 'account_tag:8001*sc*6001*sc*5002;remark:another_remark;', 'bizuin:biz002;nickname:shop_B;', 'other2b', 'other3b', 3, 102, 'tag2', 'provider2', 'order2', 1717689950, 'o4b', 'o5b', 'o6b', 'o7b', 'o8b', 'o9b', 'o10b', 'o11b', 20, 60, 0, 'o12b', 'o13b', 'o14b', 'o15b', 'o16b'),
('2026060916', 1003, 1, 300, 1, 1, 1, 1, 1, 1, 1, 1, '::1', 5003, 1717690500, 1717690400, 2141, 'op_user3', 'reason3', 'rec3', 'remark3', 1, 90003, 'account_tag:60031*sc**sc*;remark:third_remark;', 'bizuin:biz003;nickname:shop_C;', 'other2c', 'other3c', 3, 103, 'tag3', 'provider3', 'order3', 1717690450, 'o4c', 'o5c', 'o6c', 'o7c', 'o8c', 'o9c', 'o10c', 'o11c', 30, 70, 0, 'o12c', 'o13c', 'o14c', 'o15c', 'o16c'),
('2026060916', 1004, 1, 400, 1, 1, 1, 1, 1, 1, 1, 1, '::1', 5004, 1717691000, 1717690900, 9999, 'op_user4', 'reason4', 'rec4', 'remark4', 1, 90004, 'account_tag:500;', 'bizuin:biz004;nickname:shop_D;', 'other2d', 'other3d', 3, 104, 'tag4', 'provider4', 'order4', 1717690950, 'o4d', 'o5d', 'o6d', 'o7d', 'o8d', 'o9d', 'o10d', 'o11d', 40, 80, 0, 'o12d', 'o13d', 'o14d', 'o15d', 'o16d'),
('2026060916', 1005, 1, 500, 1, 1, 1, 1, 1, 1, 1, 1, '::1', 5005, 1717691500, 1717691400, 2141, 'op_user5', 'reason5', 'rec5', 'remark5', 1, 90005, 'account_tag:7004*sc*70041*sc*70042;remark:fifth_remark;', 'bizuin:biz005;nickname:shop_E;', 'other2e', 'other3e', 2, 105, 'tag5', 'provider5', 'order5', 1717691450, 'o4e', 'o5e', 'o6e', 'o7e', 'o8e', 'o9e', 'o10e', 'o11e', 50, 90, 0, 'o12e', 'o13e', 'o14e', 'o15e', 'o16e');

CREATE TABLE IF NOT EXISTS internal_platform_db.dwmid_daily_ecommerce_shop_level_func_2141_audit_result_query_engine_134 (
    `bizuin` STRING,
    `nickname` STRING,
    `account_tag1` STRING,
    `account_tag2` STRING,
    `account_tag3` STRING,
    `account_tag1_string` STRING,
    `account_tag2_string` STRING,
    `account_tag3_string` STRING,
    `remark` STRING,
    `auditid_` BIGINT,
    `operator_` STRING,
    `strategyid_` BIGINT,
    `orderid_` STRING,
    `providerid_` STRING,
    `uniqueauditid_` BIGINT,
    `audittime` STRING,
    `createtime_` STRING,
    `receivetime_` STRING,
    `queue_label_` BIGINT
) PARTITIONED BY (`ds` STRING) STORED AS ORC;

-- Agent 候选目标表
CREATE TABLE IF NOT EXISTS internal_platform_db.dwmid_daily_ecommerce_shop_level_func_2141_audit_result_cand_query_engine_134 (
    `bizuin` STRING,
    `nickname` STRING,
    `account_tag1` STRING,
    `account_tag2` STRING,
    `account_tag3` STRING,
    `account_tag1_string` STRING,
    `account_tag2_string` STRING,
    `account_tag3_string` STRING,
    `remark` STRING,
    `auditid_` BIGINT,
    `operator_` STRING,
    `strategyid_` BIGINT,
    `orderid_` STRING,
    `providerid_` STRING,
    `uniqueauditid_` BIGINT,
    `audittime` STRING,
    `createtime_` STRING,
    `receivetime_` STRING,
    `queue_label_` BIGINT
) PARTITIONED BY (`ds` STRING) STORED AS ORC;