数据库 数据校验写入等逻辑更新。
This commit is contained in:
407
tmp/table_analysis/dim_assistant.txt
Normal file
407
tmp/table_analysis/dim_assistant.txt
Normal file
@@ -0,0 +1,407 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_assistant
|
||||
Primary Key: assistant_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
assistant_id: bigint | nullable=NO | PK
|
||||
user_id: bigint | nullable=YES |
|
||||
assistant_no: text | nullable=YES |
|
||||
real_name: text | nullable=YES |
|
||||
nickname: text | nullable=YES |
|
||||
mobile: text | nullable=YES |
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
team_id: bigint | nullable=YES |
|
||||
team_name: text | nullable=YES |
|
||||
level: integer | nullable=YES |
|
||||
entry_time: timestamp with time zone | nullable=YES |
|
||||
resign_time: timestamp with time zone | nullable=YES |
|
||||
leave_status: integer | nullable=YES |
|
||||
assistant_status: integer | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
assistant_id:
|
||||
Total: 69, Non-null: 69, Distinct: 69
|
||||
Top values:
|
||||
2793528386048069: 1
|
||||
2967523548220229: 1
|
||||
3021267412585413: 1
|
||||
2907972756342981: 1
|
||||
2793532503855173: 1
|
||||
2981625091950725: 1
|
||||
3058170108874053: 1
|
||||
2859886363986821: 1
|
||||
2795061580517445: 1
|
||||
3021271397288901: 1
|
||||
2964640248745157: 1
|
||||
2907961535433285: 1
|
||||
2968952636082757: 1
|
||||
2946266869435205: 1
|
||||
2793399247179845: 1
|
||||
|
||||
user_id:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 69
|
||||
|
||||
assistant_no:
|
||||
Total: 69, Non-null: 69, Distinct: 42
|
||||
Top values:
|
||||
11: 4
|
||||
10: 4
|
||||
7: 4
|
||||
22: 3
|
||||
13: 3
|
||||
38: 3
|
||||
27: 3
|
||||
3: 3
|
||||
16: 2
|
||||
28: 2
|
||||
12: 2
|
||||
30: 2
|
||||
1: 2
|
||||
8: 2
|
||||
29: 2
|
||||
|
||||
real_name:
|
||||
Total: 69, Non-null: 69, Distinct: 68
|
||||
Top values:
|
||||
梁婷婷: 2
|
||||
覃咏欣: 1
|
||||
向国锐: 1
|
||||
郑美婷: 1
|
||||
赵思源: 1
|
||||
李楚欣: 1
|
||||
杨小满: 1
|
||||
吴丹妮: 1
|
||||
黄月柳: 1
|
||||
卢曼瑶: 1
|
||||
宋家宇: 1
|
||||
田茂楠: 1
|
||||
王嘉琪: 1
|
||||
李萍: 1
|
||||
张芳梅: 1
|
||||
|
||||
nickname:
|
||||
Total: 69, Non-null: 69, Distinct: 68
|
||||
Top values:
|
||||
柚子: 2
|
||||
Amy: 1
|
||||
梦梦: 1
|
||||
乔西: 1
|
||||
一一: 1
|
||||
菲菲: 1
|
||||
布丁: 1
|
||||
椰椰: 1
|
||||
小唯: 1
|
||||
饭团: 1
|
||||
周周: 1
|
||||
凤梨: 1
|
||||
小向: 1
|
||||
小崔: 1
|
||||
甜甜: 1
|
||||
|
||||
mobile:
|
||||
Total: 69, Non-null: 69, Distinct: 68
|
||||
Top values:
|
||||
17811423992: 2
|
||||
15675487204: 1
|
||||
13790128037: 1
|
||||
13143526347: 1
|
||||
15213282732: 1
|
||||
18529341883: 1
|
||||
13336435390: 1
|
||||
19024752286: 1
|
||||
15760674807: 1
|
||||
15113501901: 1
|
||||
13042004215: 1
|
||||
13286525485: 1
|
||||
13537431206: 1
|
||||
19974234385: 1
|
||||
15815080450: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 69
|
||||
|
||||
site_id:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 69
|
||||
|
||||
team_id:
|
||||
Total: 69, Non-null: 69, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2792011585884037: 52
|
||||
2959085810992645: 17
|
||||
|
||||
team_name:
|
||||
Total: 69, Non-null: 69, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1组: 52
|
||||
2组: 17
|
||||
|
||||
level:
|
||||
Total: 69, Non-null: 69, Distinct: 5
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
10: 32
|
||||
20: 28
|
||||
30: 4
|
||||
40: 4
|
||||
8: 1
|
||||
|
||||
leave_status:
|
||||
Total: 69, Non-null: 69, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 40
|
||||
0: 29
|
||||
|
||||
assistant_status:
|
||||
Total: 69, Non-null: 69, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 64
|
||||
2: 5
|
||||
|
||||
scd2_is_current:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 69
|
||||
|
||||
scd2_version:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 69
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['assistant_id', 'user_id', 'assistant_no', 'real_name', 'nickname', 'mobile', 'tenant_id', 'site_id', 'team_id', 'team_name', 'level', 'entry_time', 'resign_time', 'leave_status', 'assistant_status', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
assistant_id: 2946261384596293
|
||||
user_id: 0
|
||||
assistant_no: 7
|
||||
real_name: 梁婷婷
|
||||
nickname: 柚子
|
||||
mobile: 17811423992
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
team_id: 2959085810992645
|
||||
team_name: 2组
|
||||
level: 20
|
||||
entry_time: 2025-11-01 08:00:00+08:00
|
||||
resign_time: 2025-12-01 08:00:00+08:00
|
||||
leave_status: 1
|
||||
assistant_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
assistant_id: 2929246850797189
|
||||
user_id: 0
|
||||
assistant_no: 38
|
||||
real_name: 陈冰淼
|
||||
nickname: 希希
|
||||
mobile: 18172319817
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
team_id: 2792011585884037
|
||||
team_name: 1组
|
||||
level: 10
|
||||
entry_time: 2025-10-20 08:00:00+08:00
|
||||
resign_time: 2025-11-10 08:00:00+08:00
|
||||
leave_status: 1
|
||||
assistant_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
assistant_id: 2920786464294661
|
||||
user_id: 0
|
||||
assistant_no: 16
|
||||
real_name: 周佳怡
|
||||
nickname: 周周
|
||||
mobile: 19874278725
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
team_id: 2792011585884037
|
||||
team_name: 1组
|
||||
level: 10
|
||||
entry_time: 2025-10-14 08:00:00+08:00
|
||||
resign_time: 2225-10-14 17:57:40+08:00
|
||||
leave_status: 0
|
||||
assistant_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
assistant_id: 2920799537645381
|
||||
user_id: 0
|
||||
assistant_no: 10
|
||||
real_name: 谭思燕
|
||||
nickname: 欣怡
|
||||
mobile: 13143526347
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
team_id: 2792011585884037
|
||||
team_name: 1组
|
||||
level: 20
|
||||
entry_time: 2025-10-14 08:00:00+08:00
|
||||
resign_time: 2025-11-10 08:00:00+08:00
|
||||
leave_status: 1
|
||||
assistant_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
assistant_id: 2907961535433285
|
||||
user_id: 0
|
||||
assistant_no: 25
|
||||
real_name: 林雨琪
|
||||
nickname: 琪琪
|
||||
mobile: 18575917075
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
team_id: 2792011585884037
|
||||
team_name: 1组
|
||||
level: 20
|
||||
entry_time: 2025-10-05 08:00:00+08:00
|
||||
resign_time: 2025-10-13 08:00:00+08:00
|
||||
leave_status: 1
|
||||
assistant_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
assistant_id: 2907972756342981
|
||||
user_id: 0
|
||||
assistant_no: 12
|
||||
real_name: 林梢熔
|
||||
nickname: 可可
|
||||
mobile: 15768442206
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
team_id: 2792011585884037
|
||||
team_name: 1组
|
||||
level: 20
|
||||
entry_time: 2025-10-05 08:00:00+08:00
|
||||
resign_time: 2025-10-13 08:00:00+08:00
|
||||
leave_status: 1
|
||||
assistant_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
assistant_id: 2889708249270149
|
||||
user_id: 0
|
||||
assistant_no: 22
|
||||
real_name: 张代悦
|
||||
nickname: 悦悦
|
||||
mobile: 18582838005
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
team_id: 2792011585884037
|
||||
team_name: 1组
|
||||
level: 10
|
||||
entry_time: 2025-09-22 08:00:00+08:00
|
||||
resign_time: 2025-10-19 08:00:00+08:00
|
||||
leave_status: 1
|
||||
assistant_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
assistant_id: 2866964303400005
|
||||
user_id: 0
|
||||
assistant_no: 10
|
||||
real_name: 王安琪
|
||||
nickname: 椰子
|
||||
mobile: 18026446974
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
team_id: 2792011585884037
|
||||
team_name: 1组
|
||||
level: 20
|
||||
entry_time: 2025-09-06 08:00:00+08:00
|
||||
resign_time: 2025-09-13 08:00:00+08:00
|
||||
leave_status: 1
|
||||
assistant_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
assistant_id: 2866961022749829
|
||||
user_id: 0
|
||||
assistant_no: 39
|
||||
real_name: 肖紫月
|
||||
nickname: 毛毛
|
||||
mobile: 15815080450
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
team_id: 2792011585884037
|
||||
team_name: 1组
|
||||
level: 20
|
||||
entry_time: 2025-09-06 08:00:00+08:00
|
||||
resign_time: 2025-09-13 08:00:00+08:00
|
||||
leave_status: 1
|
||||
assistant_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
assistant_id: 2866962315594885
|
||||
user_id: 0
|
||||
assistant_no: 11
|
||||
real_name: 田茂楠
|
||||
nickname: 甜甜
|
||||
mobile: 15329058634
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
team_id: 2792011585884037
|
||||
team_name: 1组
|
||||
level: 10
|
||||
entry_time: 2025-09-06 08:00:00+08:00
|
||||
resign_time: 2025-09-07 08:00:00+08:00
|
||||
leave_status: 1
|
||||
assistant_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
359
tmp/table_analysis/dim_assistant_ex.txt
Normal file
359
tmp/table_analysis/dim_assistant_ex.txt
Normal file
@@ -0,0 +1,359 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_assistant_ex
|
||||
Primary Key: assistant_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
assistant_id: bigint | nullable=NO | PK
|
||||
gender: integer | nullable=YES |
|
||||
birth_date: timestamp with time zone | nullable=YES |
|
||||
avatar: text | nullable=YES |
|
||||
introduce: text | nullable=YES |
|
||||
video_introduction_url: text | nullable=YES |
|
||||
height: numeric(5,2) | nullable=YES |
|
||||
weight: numeric(5,2) | nullable=YES |
|
||||
shop_name: text | nullable=YES |
|
||||
group_id: bigint | nullable=YES |
|
||||
group_name: text | nullable=YES |
|
||||
person_org_id: bigint | nullable=YES |
|
||||
staff_id: bigint | nullable=YES |
|
||||
staff_profile_id: bigint | nullable=YES |
|
||||
assistant_grade: double precision | nullable=YES |
|
||||
sum_grade: double precision | nullable=YES |
|
||||
get_grade_times: integer | nullable=YES |
|
||||
charge_way: integer | nullable=YES |
|
||||
allow_cx: integer | nullable=YES |
|
||||
is_guaranteed: integer | nullable=YES |
|
||||
salary_grant_enabled: integer | nullable=YES |
|
||||
entry_type: integer | nullable=YES |
|
||||
entry_sign_status: integer | nullable=YES |
|
||||
resign_sign_status: integer | nullable=YES |
|
||||
work_status: integer | nullable=YES |
|
||||
show_status: integer | nullable=YES |
|
||||
show_sort: integer | nullable=YES |
|
||||
online_status: integer | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
criticism_status: integer | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
update_time: timestamp with time zone | nullable=YES |
|
||||
start_time: timestamp with time zone | nullable=YES |
|
||||
end_time: timestamp with time zone | nullable=YES |
|
||||
last_table_id: bigint | nullable=YES |
|
||||
last_table_name: text | nullable=YES |
|
||||
last_update_name: text | nullable=YES |
|
||||
order_trade_no: bigint | nullable=YES |
|
||||
ding_talk_synced: integer | nullable=YES |
|
||||
site_light_cfg_id: bigint | nullable=YES |
|
||||
light_equipment_id: text | nullable=YES |
|
||||
light_status: integer | nullable=YES |
|
||||
is_team_leader: integer | nullable=YES |
|
||||
serial_number: bigint | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
assistant_id:
|
||||
Total: 69, Non-null: 69, Distinct: 69
|
||||
Top values:
|
||||
2793528386048069: 1
|
||||
2967523548220229: 1
|
||||
3021267412585413: 1
|
||||
2907972756342981: 1
|
||||
2793532503855173: 1
|
||||
3058170108874053: 1
|
||||
2981625091950725: 1
|
||||
2859886363986821: 1
|
||||
2795061580517445: 1
|
||||
3021271397288901: 1
|
||||
2964640248745157: 1
|
||||
2907961535433285: 1
|
||||
2968952636082757: 1
|
||||
2946266869435205: 1
|
||||
2859802158598981: 1
|
||||
|
||||
gender:
|
||||
Total: 69, Non-null: 69, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 59
|
||||
2: 10
|
||||
|
||||
avatar:
|
||||
Total: 69, Non-null: 68, Distinct: 57
|
||||
Top values:
|
||||
https://oss.ficoo.vip/maUiImages/images/defaultAvatar.png: 12
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1762251260838/1762251260838133.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1768822727212/1768822727212127.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1763146776673/176314677667349.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1753533232888/175353323288855.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1763165571712/1763165571712117.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1754143838136/175414383813612.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1753804301031/175380430103175.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1753096225412/1753096225412102.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1762790332657/1762790332657113.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1752666304375/1752666304375115.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1763115932997/17631159329978.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1753100896293/1753100896294133.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1753348656243/175334865624351.jpg: 1
|
||||
https://oss.ficoo.vip/cbb/userAvatar/1763116007316/176311600731657.jpg: 1
|
||||
|
||||
introduce:
|
||||
Total: 69, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
video_introduction_url:
|
||||
Total: 69, Non-null: 2, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
https://oss.ficoo.vip/cbb/userVideo/1753096246308/175309624630830.mp4: 1
|
||||
https://oss.ficoo.vip/cbb/userVideo/1764149549870/176414954987064.mp4: 1
|
||||
|
||||
shop_name:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 69
|
||||
|
||||
group_id:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 69
|
||||
|
||||
group_name:
|
||||
Total: 69, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
person_org_id:
|
||||
Total: 69, Non-null: 69, Distinct: 69
|
||||
Top values:
|
||||
2793537168330821: 1
|
||||
3021271397190597: 1
|
||||
2907961535334981: 1
|
||||
2799135415094341: 1
|
||||
2859802158500677: 1
|
||||
2793532503756869: 1
|
||||
2920786464212741: 1
|
||||
2947562271215109: 1
|
||||
2861304461265989: 1
|
||||
2815988586941445: 1
|
||||
2859776051497797: 1
|
||||
2840060593587909: 1
|
||||
3058170108775749: 1
|
||||
3053834039609477: 1
|
||||
2968952635984453: 1
|
||||
|
||||
staff_id:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 69
|
||||
|
||||
staff_profile_id:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 69
|
||||
|
||||
get_grade_times:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 69
|
||||
|
||||
charge_way:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 69
|
||||
|
||||
allow_cx:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 69
|
||||
|
||||
is_guaranteed:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 69
|
||||
|
||||
salary_grant_enabled:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 69
|
||||
|
||||
entry_type:
|
||||
Total: 69, Non-null: 69, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 68
|
||||
3: 1
|
||||
|
||||
entry_sign_status:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 69
|
||||
|
||||
resign_sign_status:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 69
|
||||
|
||||
work_status:
|
||||
Total: 69, Non-null: 69, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 40
|
||||
1: 29
|
||||
|
||||
show_status:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 69
|
||||
|
||||
show_sort:
|
||||
Total: 69, Non-null: 69, Distinct: 41
|
||||
Top values:
|
||||
11: 4
|
||||
10: 4
|
||||
7: 4
|
||||
13: 3
|
||||
3: 3
|
||||
27: 3
|
||||
22: 3
|
||||
38: 3
|
||||
12: 2
|
||||
8: 2
|
||||
1: 2
|
||||
5: 2
|
||||
9: 2
|
||||
30: 2
|
||||
28: 2
|
||||
|
||||
online_status:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 69
|
||||
|
||||
is_delete:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 69
|
||||
|
||||
criticism_status:
|
||||
Total: 69, Non-null: 69, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 68
|
||||
2: 1
|
||||
|
||||
last_table_id:
|
||||
Total: 69, Non-null: 69, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 64
|
||||
2956248279567557: 3
|
||||
2793017278451845: 1
|
||||
2793018776735877: 1
|
||||
|
||||
last_table_name:
|
||||
Total: 69, Non-null: 5, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
发财: 3
|
||||
C2: 1
|
||||
VIP包厢 VIP5: 1
|
||||
|
||||
last_update_name:
|
||||
Total: 69, Non-null: 40, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
教练:周蒙: 24
|
||||
管理员:郑丽珊: 7
|
||||
教练:夏滋岸: 6
|
||||
助教管理员:黄月柳: 3
|
||||
|
||||
order_trade_no:
|
||||
Total: 69, Non-null: 69, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 64
|
||||
3012902144839045: 3
|
||||
3058292881704709: 1
|
||||
3012777799994757: 1
|
||||
|
||||
ding_talk_synced:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 69
|
||||
|
||||
site_light_cfg_id:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 69
|
||||
|
||||
light_equipment_id:
|
||||
Total: 69, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
light_status:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 69
|
||||
|
||||
is_team_leader:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 69
|
||||
|
||||
serial_number:
|
||||
Total: 69, Non-null: 69, Distinct: 61
|
||||
Top values:
|
||||
0: 9
|
||||
4003: 1
|
||||
4008: 1
|
||||
1817: 1
|
||||
443: 1
|
||||
511: 1
|
||||
1173: 1
|
||||
3995: 1
|
||||
3877: 1
|
||||
3999: 1
|
||||
1245: 1
|
||||
4628: 1
|
||||
1627: 1
|
||||
3110: 1
|
||||
3973: 1
|
||||
|
||||
scd2_is_current:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 69
|
||||
|
||||
scd2_version:
|
||||
Total: 69, Non-null: 69, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 69
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
No sample data available.
|
||||
349
tmp/table_analysis/dim_goods_category.txt
Normal file
349
tmp/table_analysis/dim_goods_category.txt
Normal file
@@ -0,0 +1,349 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_goods_category
|
||||
Primary Key: category_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
category_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES |
|
||||
category_name: character varying(50) | nullable=YES |
|
||||
alias_name: character varying(50) | nullable=YES |
|
||||
parent_category_id: bigint | nullable=YES |
|
||||
business_name: character varying(50) | nullable=YES |
|
||||
tenant_goods_business_id: bigint | nullable=YES |
|
||||
category_level: integer | nullable=YES |
|
||||
is_leaf: integer | nullable=YES |
|
||||
open_salesman: integer | nullable=YES |
|
||||
sort_order: integer | nullable=YES |
|
||||
is_warehousing: integer | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
category_id:
|
||||
Total: 26, Non-null: 26, Distinct: 26
|
||||
Top values:
|
||||
2792035069284229: 1
|
||||
2790683528350540: 1
|
||||
2790683528350545: 1
|
||||
2792062778003333: 1
|
||||
2790683528350542: 1
|
||||
2790683528350536: 1
|
||||
2790683528350539: 1
|
||||
2793217944864581: 1
|
||||
2790683528350538: 1
|
||||
2793221283104581: 1
|
||||
2793221553489733: 1
|
||||
2793218343257925: 1
|
||||
2792063209623429: 1
|
||||
2793236829620037: 1
|
||||
2791948300259205: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 26, Non-null: 26, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 26
|
||||
|
||||
category_name:
|
||||
Total: 26, Non-null: 26, Distinct: 18
|
||||
Top values:
|
||||
零食: 2
|
||||
酒水: 2
|
||||
小吃: 2
|
||||
雪糕: 2
|
||||
果盘: 2
|
||||
其他: 2
|
||||
槟榔: 2
|
||||
香烟: 2
|
||||
其他2: 1
|
||||
面: 1
|
||||
饮料: 1
|
||||
咖啡: 1
|
||||
茶水: 1
|
||||
皮头: 1
|
||||
加料: 1
|
||||
|
||||
alias_name:
|
||||
Total: 26, Non-null: 17, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
: 17
|
||||
|
||||
parent_category_id:
|
||||
Total: 26, Non-null: 26, Distinct: 10
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 9
|
||||
2790683528350539: 6
|
||||
2790683528350535: 3
|
||||
2791941988405125: 2
|
||||
2790683528350545: 1
|
||||
2790683528350533: 1
|
||||
2793217944864581: 1
|
||||
2792062778003333: 1
|
||||
2793220945250117: 1
|
||||
2791942087561093: 1
|
||||
|
||||
business_name:
|
||||
Total: 26, Non-null: 26, Distinct: 9
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
酒水: 7
|
||||
器材: 4
|
||||
零食: 3
|
||||
香烟: 2
|
||||
小吃: 2
|
||||
雪糕: 2
|
||||
水果: 2
|
||||
槟榔: 2
|
||||
其他: 2
|
||||
|
||||
tenant_goods_business_id:
|
||||
Total: 26, Non-null: 26, Distinct: 9
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683528317768: 7
|
||||
2790683528317767: 4
|
||||
2791932037238661: 3
|
||||
2793220268902213: 2
|
||||
2791931866402693: 2
|
||||
2793217599407941: 2
|
||||
2790683528317765: 2
|
||||
2790683528317769: 2
|
||||
2790683528317766: 2
|
||||
|
||||
category_level:
|
||||
Total: 26, Non-null: 26, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 17
|
||||
1: 9
|
||||
|
||||
is_leaf:
|
||||
Total: 26, Non-null: 26, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 17
|
||||
0: 9
|
||||
|
||||
open_salesman:
|
||||
Total: 26, Non-null: 26, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 26
|
||||
|
||||
sort_order:
|
||||
Total: 26, Non-null: 26, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 23
|
||||
1: 3
|
||||
|
||||
is_warehousing:
|
||||
Total: 26, Non-null: 26, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 26
|
||||
|
||||
scd2_is_current:
|
||||
Total: 26, Non-null: 26, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 26
|
||||
|
||||
scd2_version:
|
||||
Total: 26, Non-null: 26, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 26
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['category_id', 'tenant_id', 'category_name', 'alias_name', 'parent_category_id', 'business_name', 'tenant_goods_business_id', 'category_level', 'is_leaf', 'open_salesman', 'sort_order', 'is_warehousing', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
category_id: 2790683528350534
|
||||
tenant_id: 2790683160709957
|
||||
category_name: 槟榔
|
||||
alias_name:
|
||||
parent_category_id: 2790683528350533
|
||||
business_name: 槟榔
|
||||
tenant_goods_business_id: 2790683528317766
|
||||
category_level: 2
|
||||
is_leaf: 1
|
||||
open_salesman: 2
|
||||
sort_order: 0
|
||||
is_warehousing: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
category_id: 2790683528350536
|
||||
tenant_id: 2790683160709957
|
||||
category_name: 皮头
|
||||
alias_name:
|
||||
parent_category_id: 2790683528350535
|
||||
business_name: 器材
|
||||
tenant_goods_business_id: 2790683528317767
|
||||
category_level: 2
|
||||
is_leaf: 1
|
||||
open_salesman: 2
|
||||
sort_order: 0
|
||||
is_warehousing: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
category_id: 2790683528350537
|
||||
tenant_id: 2790683160709957
|
||||
category_name: 球杆
|
||||
alias_name:
|
||||
parent_category_id: 2790683528350535
|
||||
business_name: 器材
|
||||
tenant_goods_business_id: 2790683528317767
|
||||
category_level: 2
|
||||
is_leaf: 1
|
||||
open_salesman: 2
|
||||
sort_order: 0
|
||||
is_warehousing: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
category_id: 2790683528350538
|
||||
tenant_id: 2790683160709957
|
||||
category_name: 其他
|
||||
alias_name:
|
||||
parent_category_id: 2790683528350535
|
||||
business_name: 器材
|
||||
tenant_goods_business_id: 2790683528317767
|
||||
category_level: 2
|
||||
is_leaf: 1
|
||||
open_salesman: 2
|
||||
sort_order: 0
|
||||
is_warehousing: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
category_id: 2790683528350540
|
||||
tenant_id: 2790683160709957
|
||||
category_name: 饮料
|
||||
alias_name:
|
||||
parent_category_id: 2790683528350539
|
||||
business_name: 酒水
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
category_level: 2
|
||||
is_leaf: 1
|
||||
open_salesman: 2
|
||||
sort_order: 0
|
||||
is_warehousing: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
category_id: 2790683528350541
|
||||
tenant_id: 2790683160709957
|
||||
category_name: 酒水
|
||||
alias_name:
|
||||
parent_category_id: 2790683528350539
|
||||
business_name: 酒水
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
category_level: 2
|
||||
is_leaf: 1
|
||||
open_salesman: 2
|
||||
sort_order: 0
|
||||
is_warehousing: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
category_id: 2790683528350542
|
||||
tenant_id: 2790683160709957
|
||||
category_name: 茶水
|
||||
alias_name:
|
||||
parent_category_id: 2790683528350539
|
||||
business_name: 酒水
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
category_level: 2
|
||||
is_leaf: 1
|
||||
open_salesman: 2
|
||||
sort_order: 0
|
||||
is_warehousing: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
category_id: 2790683528350543
|
||||
tenant_id: 2790683160709957
|
||||
category_name: 咖啡
|
||||
alias_name:
|
||||
parent_category_id: 2790683528350539
|
||||
business_name: 酒水
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
category_level: 2
|
||||
is_leaf: 1
|
||||
open_salesman: 2
|
||||
sort_order: 0
|
||||
is_warehousing: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
category_id: 2790683528350544
|
||||
tenant_id: 2790683160709957
|
||||
category_name: 加料
|
||||
alias_name:
|
||||
parent_category_id: 2790683528350539
|
||||
business_name: 酒水
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
category_level: 2
|
||||
is_leaf: 1
|
||||
open_salesman: 2
|
||||
sort_order: 0
|
||||
is_warehousing: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
category_id: 2793221553489733
|
||||
tenant_id: 2790683160709957
|
||||
category_name: 洋酒
|
||||
alias_name:
|
||||
parent_category_id: 2790683528350539
|
||||
business_name: 酒水
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
category_level: 2
|
||||
is_leaf: 1
|
||||
open_salesman: 2
|
||||
sort_order: 0
|
||||
is_warehousing: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
386
tmp/table_analysis/dim_groupbuy_package.txt
Normal file
386
tmp/table_analysis/dim_groupbuy_package.txt
Normal file
@@ -0,0 +1,386 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_groupbuy_package
|
||||
Primary Key: groupbuy_package_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
groupbuy_package_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
package_name: character varying(200) | nullable=YES |
|
||||
package_template_id: bigint | nullable=YES |
|
||||
selling_price: numeric(10,2) | nullable=YES |
|
||||
coupon_face_value: numeric(10,2) | nullable=YES |
|
||||
duration_seconds: integer | nullable=YES |
|
||||
start_time: timestamp with time zone | nullable=YES |
|
||||
end_time: timestamp with time zone | nullable=YES |
|
||||
table_area_name: character varying(100) | nullable=YES |
|
||||
is_enabled: integer | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
tenant_table_area_id_list: character varying(512) | nullable=YES |
|
||||
card_type_ids: character varying(255) | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
groupbuy_package_id:
|
||||
Total: 34, Non-null: 34, Distinct: 34
|
||||
Top values:
|
||||
3048468851870085: 1
|
||||
3030873639701573: 1
|
||||
3030873437310021: 1
|
||||
2801875268668357: 1
|
||||
3030873263688773: 1
|
||||
3031000036133445: 1
|
||||
3035353129373509: 1
|
||||
2798731703045189: 1
|
||||
3030872859429829: 1
|
||||
2798734170983493: 1
|
||||
3030874907937861: 1
|
||||
2861343275830405: 1
|
||||
3029784419027909: 1
|
||||
2798728823213061: 1
|
||||
3035353102028549: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 34
|
||||
|
||||
site_id:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 34
|
||||
|
||||
package_name:
|
||||
Total: 34, Non-null: 34, Distinct: 18
|
||||
Top values:
|
||||
中八、斯诺克包厢两小时: 6
|
||||
斯诺克两小时: 5
|
||||
新人特惠A区中八一小时: 2
|
||||
全天A区中八一小时: 2
|
||||
KTV欢唱四小时: 2
|
||||
全天B区中八两小时: 2
|
||||
全天斯诺克一小时: 2
|
||||
助理教练竞技教学两小时: 2
|
||||
全天A区中八两小时: 2
|
||||
麻将 、掼蛋包厢四小时: 1
|
||||
中八A区新人特惠一小时: 1
|
||||
新人特惠一小时: 1
|
||||
午夜一小时: 1
|
||||
麻将包厢4小时: 1
|
||||
早场特惠一小时: 1
|
||||
|
||||
package_template_id:
|
||||
Total: 34, Non-null: 34, Distinct: 15
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1370841337: 3
|
||||
1130443985: 3
|
||||
1814707240811572: 3
|
||||
1812429097416714: 3
|
||||
1126976372: 3
|
||||
1147633733: 2
|
||||
1128411555: 2
|
||||
1130465371: 2
|
||||
1173128804: 2
|
||||
1203035334: 2
|
||||
1134269810: 2
|
||||
1137882866: 2
|
||||
1814983609169019: 2
|
||||
1137872168: 2
|
||||
1134850618: 1
|
||||
|
||||
duration_seconds:
|
||||
Total: 34, Non-null: 34, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
7200: 17
|
||||
3600: 13
|
||||
14400: 4
|
||||
|
||||
table_area_name:
|
||||
Total: 34, Non-null: 17, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
A区: 8
|
||||
VIP包厢: 3
|
||||
斯诺克区: 2
|
||||
B区: 2
|
||||
麻将房: 1
|
||||
888: 1
|
||||
|
||||
is_enabled:
|
||||
Total: 34, Non-null: 34, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 24
|
||||
2: 10
|
||||
|
||||
is_delete:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 34
|
||||
|
||||
tenant_table_area_id_list:
|
||||
Total: 34, Non-null: 17, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2791960001957765: 8
|
||||
2791961060364165: 3
|
||||
2791960521691013: 2
|
||||
2791961347968901: 2
|
||||
2791962314215301: 1
|
||||
2791961709907845: 1
|
||||
|
||||
card_type_ids:
|
||||
Total: 34, Non-null: 31, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 31
|
||||
|
||||
scd2_is_current:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 34
|
||||
|
||||
scd2_version:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 34
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['groupbuy_package_id', 'tenant_id', 'site_id', 'package_name', 'package_template_id', 'selling_price', 'coupon_face_value', 'duration_seconds', 'start_time', 'end_time', 'table_area_name', 'is_enabled', 'is_delete', 'create_time', 'tenant_table_area_id_list', 'card_type_ids', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
groupbuy_package_id: 2798905767676933
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
package_name: 中八、斯诺克包厢两小时
|
||||
package_template_id: 1812429097416714
|
||||
selling_price: 0.00
|
||||
coupon_face_value: 0.00
|
||||
duration_seconds: 7200
|
||||
start_time: 2025-07-21 00:00:00+08:00
|
||||
end_time: 2025-12-31 00:00:00+08:00
|
||||
table_area_name: VIP包厢
|
||||
is_enabled: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-07-20 15:34:13+08:00
|
||||
tenant_table_area_id_list: 2791961060364165
|
||||
card_type_ids: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
groupbuy_package_id: 2798901295615045
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
package_name: 新人特惠A区中八一小时
|
||||
package_template_id: 1814707240811572
|
||||
selling_price: 0.00
|
||||
coupon_face_value: 0.00
|
||||
duration_seconds: 3600
|
||||
start_time: 2025-07-21 00:00:00+08:00
|
||||
end_time: 2025-12-31 00:00:00+08:00
|
||||
table_area_name: A区
|
||||
is_enabled: 2
|
||||
is_delete: 0
|
||||
create_time: 2025-07-20 15:29:40+08:00
|
||||
tenant_table_area_id_list: 2791960001957765
|
||||
card_type_ids: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
groupbuy_package_id: 2798898826300485
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
package_name: 斯诺克两小时
|
||||
package_template_id: 1814983609169019
|
||||
selling_price: 0.00
|
||||
coupon_face_value: 0.00
|
||||
duration_seconds: 7200
|
||||
start_time: 2025-07-21 00:00:00+08:00
|
||||
end_time: 2025-12-31 00:00:00+08:00
|
||||
table_area_name: 斯诺克区
|
||||
is_enabled: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-07-20 15:27:09+08:00
|
||||
tenant_table_area_id_list: 2791961347968901
|
||||
card_type_ids: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
groupbuy_package_id: 2798734170983493
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
package_name: 助理教练竞技教学两小时
|
||||
package_template_id: 1173128804
|
||||
selling_price: 0.00
|
||||
coupon_face_value: 0.00
|
||||
duration_seconds: 7200
|
||||
start_time: 2025-07-21 00:00:00+08:00
|
||||
end_time: 2025-12-31 00:00:00+08:00
|
||||
table_area_name: A区
|
||||
is_enabled: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-07-20 12:39:39+08:00
|
||||
tenant_table_area_id_list: 2791960001957765
|
||||
card_type_ids: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
groupbuy_package_id: 2798732571167749
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
package_name: 全天斯诺克一小时
|
||||
package_template_id: 1147633733
|
||||
selling_price: 0.00
|
||||
coupon_face_value: 0.00
|
||||
duration_seconds: 3600
|
||||
start_time: 2025-07-21 00:00:00+08:00
|
||||
end_time: 2025-12-30 00:00:00+08:00
|
||||
table_area_name: 斯诺克区
|
||||
is_enabled: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-07-20 12:38:02+08:00
|
||||
tenant_table_area_id_list: 2791961347968901
|
||||
card_type_ids: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
groupbuy_package_id: 2836713896429317
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
package_name: 午夜一小时
|
||||
package_template_id: 1370841337
|
||||
selling_price: 0.00
|
||||
coupon_face_value: 0.00
|
||||
duration_seconds: 3600
|
||||
start_time: 2025-08-16 00:00:00+08:00
|
||||
end_time: 2026-08-17 00:00:00+08:00
|
||||
table_area_name: A区
|
||||
is_enabled: 2
|
||||
is_delete: 0
|
||||
create_time: 2025-08-16 08:34:38+08:00
|
||||
tenant_table_area_id_list: 2791960001957765
|
||||
card_type_ids: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
groupbuy_package_id: 2798731703045189
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
package_name: KTV欢唱四小时
|
||||
package_template_id: 1137882866
|
||||
selling_price: 0.00
|
||||
coupon_face_value: 0.00
|
||||
duration_seconds: 14400
|
||||
start_time: 2025-07-21 00:00:00+08:00
|
||||
end_time: 2025-12-31 00:00:00+08:00
|
||||
table_area_name: 888
|
||||
is_enabled: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-07-20 12:37:09+08:00
|
||||
tenant_table_area_id_list: 2791961709907845
|
||||
card_type_ids: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
groupbuy_package_id: 2798728823213061
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
package_name: 全天B区中八两小时
|
||||
package_template_id: 1137872168
|
||||
selling_price: 0.00
|
||||
coupon_face_value: 0.00
|
||||
duration_seconds: 7200
|
||||
start_time: 2025-07-21 00:00:00+08:00
|
||||
end_time: 2025-12-31 00:00:00+08:00
|
||||
table_area_name: B区
|
||||
is_enabled: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-07-20 12:34:13+08:00
|
||||
tenant_table_area_id_list: 2791960521691013
|
||||
card_type_ids: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
groupbuy_package_id: 2798727423528005
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
package_name: 全天A区中八一小时
|
||||
package_template_id: 1128411555
|
||||
selling_price: 0.00
|
||||
coupon_face_value: 0.00
|
||||
duration_seconds: 3600
|
||||
start_time: 2025-07-21 00:00:00+08:00
|
||||
end_time: 2025-12-31 00:00:00+08:00
|
||||
table_area_name: A区
|
||||
is_enabled: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-07-20 12:32:48+08:00
|
||||
tenant_table_area_id_list: 2791960001957765
|
||||
card_type_ids: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
groupbuy_package_id: 2798723640069125
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
package_name: 中八A区新人特惠一小时
|
||||
package_template_id: 1203035334
|
||||
selling_price: 0.00
|
||||
coupon_face_value: 0.00
|
||||
duration_seconds: 3600
|
||||
start_time: 2025-07-20 00:00:00+08:00
|
||||
end_time: 2025-12-31 00:00:00+08:00
|
||||
table_area_name: A区
|
||||
is_enabled: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-07-20 12:28:57+08:00
|
||||
tenant_table_area_id_list: 2791960001957765
|
||||
card_type_ids: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
453
tmp/table_analysis/dim_groupbuy_package_ex.txt
Normal file
453
tmp/table_analysis/dim_groupbuy_package_ex.txt
Normal file
@@ -0,0 +1,453 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_groupbuy_package_ex
|
||||
Primary Key: groupbuy_package_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
groupbuy_package_id: bigint | nullable=NO | PK
|
||||
site_name: character varying(100) | nullable=YES |
|
||||
usable_count: integer | nullable=YES |
|
||||
date_type: integer | nullable=YES |
|
||||
usable_range: character varying(255) | nullable=YES |
|
||||
date_info: character varying(255) | nullable=YES |
|
||||
start_clock: character varying(16) | nullable=YES |
|
||||
end_clock: character varying(16) | nullable=YES |
|
||||
add_start_clock: character varying(16) | nullable=YES |
|
||||
add_end_clock: character varying(16) | nullable=YES |
|
||||
area_tag_type: integer | nullable=YES |
|
||||
table_area_id: bigint | nullable=YES |
|
||||
tenant_table_area_id: bigint | nullable=YES |
|
||||
table_area_id_list: character varying(512) | nullable=YES |
|
||||
group_type: integer | nullable=YES |
|
||||
system_group_type: integer | nullable=YES |
|
||||
package_type: integer | nullable=YES |
|
||||
effective_status: integer | nullable=YES |
|
||||
max_selectable_categories: integer | nullable=YES |
|
||||
creator_name: character varying(100) | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
groupbuy_package_id:
|
||||
Total: 34, Non-null: 34, Distinct: 34
|
||||
Top values:
|
||||
3048468851870085: 1
|
||||
3030873639701573: 1
|
||||
3030873437310021: 1
|
||||
2801875268668357: 1
|
||||
3030873263688773: 1
|
||||
3031000036133445: 1
|
||||
3035353129373509: 1
|
||||
2798731703045189: 1
|
||||
3030872859429829: 1
|
||||
2798734170983493: 1
|
||||
3030874907937861: 1
|
||||
2861343275830405: 1
|
||||
3029784419027909: 1
|
||||
2798728823213061: 1
|
||||
3035353102028549: 1
|
||||
|
||||
site_name:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 34
|
||||
|
||||
usable_count:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 34
|
||||
|
||||
date_type:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 34
|
||||
|
||||
usable_range:
|
||||
Total: 34, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
date_info:
|
||||
Total: 34, Non-null: 4, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 4
|
||||
|
||||
start_clock:
|
||||
Total: 34, Non-null: 34, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
00:00:00: 29
|
||||
10:00:00: 4
|
||||
23:00:00: 1
|
||||
|
||||
end_clock:
|
||||
Total: 34, Non-null: 34, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1.00:00:00: 29
|
||||
23:59:59: 3
|
||||
1.02:00:00: 2
|
||||
|
||||
add_start_clock:
|
||||
Total: 34, Non-null: 34, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
00:00:00: 27
|
||||
10:00:00: 6
|
||||
23:00:00: 1
|
||||
|
||||
add_end_clock:
|
||||
Total: 34, Non-null: 34, Distinct: 5
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1.00:00:00: 27
|
||||
23:59:59: 3
|
||||
18:00:00: 2
|
||||
23:59:00: 1
|
||||
1.02:00:00: 1
|
||||
|
||||
area_tag_type:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 34
|
||||
|
||||
table_area_id:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 34
|
||||
|
||||
tenant_table_area_id:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 34
|
||||
|
||||
table_area_id_list:
|
||||
Total: 34, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
group_type:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 34
|
||||
|
||||
system_group_type:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 34
|
||||
|
||||
package_type:
|
||||
Total: 34, Non-null: 34, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 26
|
||||
2: 8
|
||||
|
||||
effective_status:
|
||||
Total: 34, Non-null: 34, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 24
|
||||
3: 10
|
||||
|
||||
max_selectable_categories:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 34
|
||||
|
||||
creator_name:
|
||||
Total: 34, Non-null: 34, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
店长:郑丽珊: 32
|
||||
管理员:郑丽珊: 2
|
||||
|
||||
scd2_is_current:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 34
|
||||
|
||||
scd2_version:
|
||||
Total: 34, Non-null: 34, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 34
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['groupbuy_package_id', 'site_name', 'usable_count', 'date_type', 'usable_range', 'date_info', 'start_clock', 'end_clock', 'add_start_clock', 'add_end_clock', 'area_tag_type', 'table_area_id', 'tenant_table_area_id', 'table_area_id_list', 'group_type', 'system_group_type', 'package_type', 'effective_status', 'max_selectable_categories', 'creator_name', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
groupbuy_package_id: 2798905767676933
|
||||
site_name: 朗朗桌球
|
||||
usable_count: 0
|
||||
date_type: 1
|
||||
usable_range: NULL
|
||||
date_info: NULL
|
||||
start_clock: 00:00:00
|
||||
end_clock: 1.00:00:00
|
||||
add_start_clock: 00:00:00
|
||||
add_end_clock: 1.00:00:00
|
||||
area_tag_type: 1
|
||||
table_area_id: 0
|
||||
tenant_table_area_id: 0
|
||||
table_area_id_list: NULL
|
||||
group_type: 1
|
||||
system_group_type: 1
|
||||
package_type: 2
|
||||
effective_status: 1
|
||||
max_selectable_categories: 0
|
||||
creator_name: 店长:郑丽珊
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
groupbuy_package_id: 2798901295615045
|
||||
site_name: 朗朗桌球
|
||||
usable_count: 0
|
||||
date_type: 1
|
||||
usable_range: NULL
|
||||
date_info: NULL
|
||||
start_clock: 00:00:00
|
||||
end_clock: 1.00:00:00
|
||||
add_start_clock: 00:00:00
|
||||
add_end_clock: 1.00:00:00
|
||||
area_tag_type: 1
|
||||
table_area_id: 0
|
||||
tenant_table_area_id: 0
|
||||
table_area_id_list: NULL
|
||||
group_type: 1
|
||||
system_group_type: 1
|
||||
package_type: 2
|
||||
effective_status: 3
|
||||
max_selectable_categories: 0
|
||||
creator_name: 店长:郑丽珊
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
groupbuy_package_id: 2798898826300485
|
||||
site_name: 朗朗桌球
|
||||
usable_count: 0
|
||||
date_type: 1
|
||||
usable_range: NULL
|
||||
date_info: NULL
|
||||
start_clock: 00:00:00
|
||||
end_clock: 1.00:00:00
|
||||
add_start_clock: 00:00:00
|
||||
add_end_clock: 1.00:00:00
|
||||
area_tag_type: 1
|
||||
table_area_id: 0
|
||||
tenant_table_area_id: 0
|
||||
table_area_id_list: NULL
|
||||
group_type: 1
|
||||
system_group_type: 1
|
||||
package_type: 2
|
||||
effective_status: 1
|
||||
max_selectable_categories: 0
|
||||
creator_name: 店长:郑丽珊
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
groupbuy_package_id: 2798734170983493
|
||||
site_name: 朗朗桌球
|
||||
usable_count: 0
|
||||
date_type: 1
|
||||
usable_range: NULL
|
||||
date_info: NULL
|
||||
start_clock: 00:00:00
|
||||
end_clock: 1.00:00:00
|
||||
add_start_clock: 00:00:00
|
||||
add_end_clock: 1.00:00:00
|
||||
area_tag_type: 1
|
||||
table_area_id: 0
|
||||
tenant_table_area_id: 0
|
||||
table_area_id_list: NULL
|
||||
group_type: 1
|
||||
system_group_type: 1
|
||||
package_type: 1
|
||||
effective_status: 1
|
||||
max_selectable_categories: 0
|
||||
creator_name: 店长:郑丽珊
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
groupbuy_package_id: 2798732571167749
|
||||
site_name: 朗朗桌球
|
||||
usable_count: 0
|
||||
date_type: 1
|
||||
usable_range: NULL
|
||||
date_info: NULL
|
||||
start_clock: 00:00:00
|
||||
end_clock: 1.00:00:00
|
||||
add_start_clock: 00:00:00
|
||||
add_end_clock: 1.00:00:00
|
||||
area_tag_type: 1
|
||||
table_area_id: 0
|
||||
tenant_table_area_id: 0
|
||||
table_area_id_list: NULL
|
||||
group_type: 1
|
||||
system_group_type: 1
|
||||
package_type: 1
|
||||
effective_status: 1
|
||||
max_selectable_categories: 0
|
||||
creator_name: 店长:郑丽珊
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
groupbuy_package_id: 2836713896429317
|
||||
site_name: 朗朗桌球
|
||||
usable_count: 0
|
||||
date_type: 1
|
||||
usable_range: NULL
|
||||
date_info: NULL
|
||||
start_clock: 00:00:00
|
||||
end_clock: 1.00:00:00
|
||||
add_start_clock: 00:00:00
|
||||
add_end_clock: 1.00:00:00
|
||||
area_tag_type: 1
|
||||
table_area_id: 0
|
||||
tenant_table_area_id: 0
|
||||
table_area_id_list: NULL
|
||||
group_type: 1
|
||||
system_group_type: 1
|
||||
package_type: 1
|
||||
effective_status: 3
|
||||
max_selectable_categories: 0
|
||||
creator_name: 店长:郑丽珊
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
groupbuy_package_id: 2798731703045189
|
||||
site_name: 朗朗桌球
|
||||
usable_count: 0
|
||||
date_type: 1
|
||||
usable_range: NULL
|
||||
date_info: NULL
|
||||
start_clock: 00:00:00
|
||||
end_clock: 1.00:00:00
|
||||
add_start_clock: 10:00:00
|
||||
add_end_clock: 18:00:00
|
||||
area_tag_type: 1
|
||||
table_area_id: 0
|
||||
tenant_table_area_id: 0
|
||||
table_area_id_list: NULL
|
||||
group_type: 1
|
||||
system_group_type: 1
|
||||
package_type: 1
|
||||
effective_status: 1
|
||||
max_selectable_categories: 0
|
||||
creator_name: 店长:郑丽珊
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
groupbuy_package_id: 2798728823213061
|
||||
site_name: 朗朗桌球
|
||||
usable_count: 0
|
||||
date_type: 1
|
||||
usable_range: NULL
|
||||
date_info: NULL
|
||||
start_clock: 00:00:00
|
||||
end_clock: 1.00:00:00
|
||||
add_start_clock: 00:00:00
|
||||
add_end_clock: 1.00:00:00
|
||||
area_tag_type: 1
|
||||
table_area_id: 0
|
||||
tenant_table_area_id: 0
|
||||
table_area_id_list: NULL
|
||||
group_type: 1
|
||||
system_group_type: 1
|
||||
package_type: 1
|
||||
effective_status: 1
|
||||
max_selectable_categories: 0
|
||||
creator_name: 店长:郑丽珊
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
groupbuy_package_id: 2798727423528005
|
||||
site_name: 朗朗桌球
|
||||
usable_count: 0
|
||||
date_type: 1
|
||||
usable_range: NULL
|
||||
date_info: NULL
|
||||
start_clock: 00:00:00
|
||||
end_clock: 1.00:00:00
|
||||
add_start_clock: 00:00:00
|
||||
add_end_clock: 1.00:00:00
|
||||
area_tag_type: 1
|
||||
table_area_id: 0
|
||||
tenant_table_area_id: 0
|
||||
table_area_id_list: NULL
|
||||
group_type: 1
|
||||
system_group_type: 1
|
||||
package_type: 1
|
||||
effective_status: 1
|
||||
max_selectable_categories: 0
|
||||
creator_name: 店长:郑丽珊
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
groupbuy_package_id: 2798723640069125
|
||||
site_name: 朗朗桌球
|
||||
usable_count: 0
|
||||
date_type: 1
|
||||
usable_range: NULL
|
||||
date_info: NULL
|
||||
start_clock: 00:00:00
|
||||
end_clock: 1.00:00:00
|
||||
add_start_clock: 00:00:00
|
||||
add_end_clock: 1.00:00:00
|
||||
area_tag_type: 1
|
||||
table_area_id: 0
|
||||
tenant_table_area_id: 0
|
||||
table_area_id_list: NULL
|
||||
group_type: 1
|
||||
system_group_type: 1
|
||||
package_type: 1
|
||||
effective_status: 1
|
||||
max_selectable_categories: 0
|
||||
creator_name: 店长:郑丽珊
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
309
tmp/table_analysis/dim_member.txt
Normal file
309
tmp/table_analysis/dim_member.txt
Normal file
@@ -0,0 +1,309 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_member
|
||||
Primary Key: member_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
member_id: bigint | nullable=NO | PK
|
||||
system_member_id: bigint | nullable=YES |
|
||||
tenant_id: bigint | nullable=YES |
|
||||
register_site_id: bigint | nullable=YES |
|
||||
mobile: text | nullable=YES |
|
||||
nickname: text | nullable=YES |
|
||||
member_card_grade_code: bigint | nullable=YES |
|
||||
member_card_grade_name: text | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
update_time: timestamp with time zone | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
member_id:
|
||||
Total: 556, Non-null: 556, Distinct: 556
|
||||
Top values:
|
||||
2799210018309893: 1
|
||||
2799207239993093: 1
|
||||
2799207556597509: 1
|
||||
2799212798150405: 1
|
||||
2854163871024645: 1
|
||||
2799207413319429: 1
|
||||
2824666609323205: 1
|
||||
2799210171156229: 1
|
||||
2799207478544133: 1
|
||||
2799209907373829: 1
|
||||
2799212804736773: 1
|
||||
2799212571199237: 1
|
||||
2799212341905157: 1
|
||||
2799212451677957: 1
|
||||
2799212515231493: 1
|
||||
|
||||
system_member_id:
|
||||
Total: 556, Non-null: 556, Distinct: 538
|
||||
Top values:
|
||||
2799212727961349: 3
|
||||
2799207093290757: 2
|
||||
2799207107888901: 2
|
||||
2799207262406405: 2
|
||||
2799207474251525: 2
|
||||
2799207235225349: 2
|
||||
2881216339331077: 2
|
||||
2799207096796933: 2
|
||||
2048629413694661: 2
|
||||
2799212789827333: 2
|
||||
2799212827379461: 2
|
||||
2799207381174021: 2
|
||||
2799207258769157: 2
|
||||
2799212755666693: 2
|
||||
2799210017343237: 2
|
||||
|
||||
tenant_id:
|
||||
Total: 556, Non-null: 556, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 556
|
||||
|
||||
register_site_id:
|
||||
Total: 556, Non-null: 556, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 556
|
||||
|
||||
mobile:
|
||||
Total: 556, Non-null: 556, Distinct: 555
|
||||
Top values:
|
||||
17631643741(1): 2
|
||||
15622365001: 1
|
||||
13602790168: 1
|
||||
15914518556(1): 1
|
||||
13715858131: 1
|
||||
13070208730: 1
|
||||
15112158974: 1
|
||||
18599199818: 1
|
||||
18320635652: 1
|
||||
18488883192: 1
|
||||
18023941277: 1
|
||||
18620117999: 1
|
||||
15818822109: 1
|
||||
13450297682: 1
|
||||
13802623964: 1
|
||||
|
||||
nickname:
|
||||
Total: 556, Non-null: 556, Distinct: 350
|
||||
Top values:
|
||||
陈先生: 19
|
||||
张先生: 17
|
||||
李先生: 16
|
||||
刘先生: 14
|
||||
黄先生: 13
|
||||
王先生: 12
|
||||
胡先生: 9
|
||||
林先生: 8
|
||||
杨先生: 6
|
||||
谢先生: 6
|
||||
郭先生: 6
|
||||
周先生: 6
|
||||
潘先生: 6
|
||||
蔡先生: 5
|
||||
吴先生: 5
|
||||
|
||||
member_card_grade_code:
|
||||
Total: 556, Non-null: 556, Distinct: 5
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683528022853: 272
|
||||
2790683528022855: 263
|
||||
2790683528022857: 7
|
||||
2790683528022854: 7
|
||||
2790683528022856: 7
|
||||
|
||||
member_card_grade_name:
|
||||
Total: 556, Non-null: 556, Distinct: 5
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
储值卡: 272
|
||||
台费卡: 263
|
||||
年卡: 7
|
||||
活动抵用券: 7
|
||||
月卡: 7
|
||||
|
||||
scd2_is_current:
|
||||
Total: 556, Non-null: 556, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 556
|
||||
|
||||
scd2_version:
|
||||
Total: 556, Non-null: 556, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 556
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['member_id', 'system_member_id', 'tenant_id', 'register_site_id', 'mobile', 'nickname', 'member_card_grade_code', 'member_card_grade_name', 'create_time', 'update_time', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
member_id: 3043883848157381
|
||||
system_member_id: 3043883846568133
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
mobile: 15146102616
|
||||
nickname: 吴先生
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_name: 储值卡
|
||||
create_time: 2026-01-09 16:58:48+08:00
|
||||
update_time: NULL
|
||||
scd2_start_time: 2026-01-12 03:54:18.599288+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
member_id: 3037269565082949
|
||||
system_member_id: 3037269563493701
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
mobile: 13922740721
|
||||
nickname: 范先生
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_name: 储值卡
|
||||
create_time: 2026-01-05 00:50:24+08:00
|
||||
update_time: NULL
|
||||
scd2_start_time: 2026-01-12 03:54:18.599288+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
member_id: 3066773303512389
|
||||
system_member_id: 3066773300268357
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
mobile: 17306741548
|
||||
nickname: 李
|
||||
member_card_grade_code: 2790683528022856
|
||||
member_card_grade_name: 活动抵用券
|
||||
create_time: 2026-01-25 21:03:10+08:00
|
||||
update_time: NULL
|
||||
scd2_start_time: 2026-01-25 21:29:57.964136+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
member_id: 3048238811858693
|
||||
system_member_id: 3048238810220293
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
mobile: 15815818028
|
||||
nickname: 胡先生
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_name: 储值卡
|
||||
create_time: 2026-01-12 18:48:54+08:00
|
||||
update_time: NULL
|
||||
scd2_start_time: 2026-01-15 07:26:48.803706+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
member_id: 3034509269552197
|
||||
system_member_id: 3034509267242053
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
mobile: 13622766944
|
||||
nickname: 王
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_name: 储值卡
|
||||
create_time: 2026-01-03 02:02:29+08:00
|
||||
update_time: NULL
|
||||
scd2_start_time: 2026-01-12 03:54:18.599288+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
member_id: 3032780662360965
|
||||
system_member_id: 3032780660542341
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
mobile: 18698422638
|
||||
nickname: 柳先生
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_name: 储值卡
|
||||
create_time: 2026-01-01 20:44:04+08:00
|
||||
update_time: NULL
|
||||
scd2_start_time: 2026-01-12 03:54:18.599288+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
member_id: 3025342944414469
|
||||
system_member_id: 2799212755666693
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
mobile: 18038230815
|
||||
nickname: 王先生
|
||||
member_card_grade_code: 2790683528022856
|
||||
member_card_grade_name: 活动抵用券
|
||||
create_time: 2025-12-27 14:38:01+08:00
|
||||
update_time: NULL
|
||||
scd2_start_time: 2026-01-12 03:54:18.599288+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
member_id: 3052749341853317
|
||||
system_member_id: 3052749336856197
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
mobile: 13434273425
|
||||
nickname: 孙总
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_name: 储值卡
|
||||
create_time: 2026-01-15 23:17:15+08:00
|
||||
update_time: NULL
|
||||
scd2_start_time: 2026-01-15 23:34:17.712089+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
member_id: 3055176918828421
|
||||
system_member_id: 3055176917108101
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
mobile: 18898887676
|
||||
nickname: 章先生
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_name: 储值卡
|
||||
create_time: 2026-01-17 16:26:43+08:00
|
||||
update_time: NULL
|
||||
scd2_start_time: 2026-01-19 17:03:03.008890+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
member_id: 3054195561631109
|
||||
system_member_id: 3054195559402885
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
mobile: 15902048888
|
||||
nickname: 公孙先生
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_name: 储值卡
|
||||
create_time: 2026-01-16 23:48:25+08:00
|
||||
update_time: NULL
|
||||
scd2_start_time: 2026-01-19 17:03:03.008890+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
442
tmp/table_analysis/dim_member_card_account.txt
Normal file
442
tmp/table_analysis/dim_member_card_account.txt
Normal file
@@ -0,0 +1,442 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_member_card_account
|
||||
Primary Key: member_card_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
member_card_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES |
|
||||
register_site_id: bigint | nullable=YES |
|
||||
tenant_member_id: bigint | nullable=YES |
|
||||
system_member_id: bigint | nullable=YES |
|
||||
card_type_id: bigint | nullable=YES |
|
||||
member_card_grade_code: bigint | nullable=YES |
|
||||
member_card_grade_code_name: text | nullable=YES |
|
||||
member_card_type_name: text | nullable=YES |
|
||||
member_name: text | nullable=YES |
|
||||
member_mobile: text | nullable=YES |
|
||||
balance: numeric(18,2) | nullable=YES |
|
||||
start_time: timestamp with time zone | nullable=YES |
|
||||
end_time: timestamp with time zone | nullable=YES |
|
||||
last_consume_time: timestamp with time zone | nullable=YES |
|
||||
status: integer | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
member_card_id:
|
||||
Total: 945, Non-null: 945, Distinct: 945
|
||||
Top values:
|
||||
2793254697453573: 1
|
||||
2793268303710149: 1
|
||||
2793308329789317: 1
|
||||
2799215867168517: 1
|
||||
2799215872657157: 1
|
||||
2799215877195525: 1
|
||||
2799215882176261: 1
|
||||
2799215886796549: 1
|
||||
2799215892219653: 1
|
||||
2799215897331461: 1
|
||||
2799215901869829: 1
|
||||
2799215906440965: 1
|
||||
2799215912814341: 1
|
||||
2799215918532357: 1
|
||||
2799215923578629: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 945
|
||||
|
||||
register_site_id:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 945
|
||||
|
||||
tenant_member_id:
|
||||
Total: 945, Non-null: 945, Distinct: 491
|
||||
Top values:
|
||||
0: 102
|
||||
2799207406946053: 5
|
||||
2799207522600709: 5
|
||||
2853881398644101: 4
|
||||
2791994266390405: 4
|
||||
2799207363643141: 4
|
||||
2820625955784965: 4
|
||||
2799207338198789: 4
|
||||
2799207120815877: 4
|
||||
2799209753708293: 4
|
||||
2799207287523077: 4
|
||||
2799207359858437: 4
|
||||
2799207342704389: 4
|
||||
2799207435323141: 4
|
||||
2799207595755269: 3
|
||||
|
||||
system_member_id:
|
||||
Total: 945, Non-null: 945, Distinct: 491
|
||||
Top values:
|
||||
0: 102
|
||||
2799207521568517: 5
|
||||
2799207405995781: 5
|
||||
2820625954179333: 4
|
||||
2799209752512261: 4
|
||||
2799207434372869: 4
|
||||
2799207341557509: 4
|
||||
2799207286507269: 4
|
||||
2799207258769157: 4
|
||||
2485293902352645: 4
|
||||
2799207358777093: 4
|
||||
2791994265423749: 4
|
||||
2799207119800069: 4
|
||||
2799207337199365: 4
|
||||
2799207269025541: 3
|
||||
|
||||
card_type_id:
|
||||
Total: 945, Non-null: 945, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2793249295533893: 420
|
||||
2791990152417157: 343
|
||||
2793266846533445: 115
|
||||
2794699703437125: 49
|
||||
2793306611533637: 11
|
||||
2791987095408517: 7
|
||||
|
||||
member_card_grade_code:
|
||||
Total: 945, Non-null: 945, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683528022853: 420
|
||||
2790683528022855: 343
|
||||
2790683528022856: 115
|
||||
2790683528022858: 49
|
||||
2790683528022857: 11
|
||||
2790683528022854: 7
|
||||
|
||||
member_card_grade_code_name:
|
||||
Total: 945, Non-null: 945, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
储值卡: 420
|
||||
台费卡: 343
|
||||
活动抵用券: 115
|
||||
酒水卡: 49
|
||||
月卡: 11
|
||||
年卡: 7
|
||||
|
||||
member_card_type_name:
|
||||
Total: 945, Non-null: 945, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
储值卡: 420
|
||||
台费卡: 343
|
||||
活动抵用券: 115
|
||||
酒水卡: 49
|
||||
月卡: 11
|
||||
年卡: 7
|
||||
|
||||
member_name:
|
||||
Total: 945, Non-null: 843, Distinct: 295
|
||||
Top values:
|
||||
陈先生: 29
|
||||
李先生: 28
|
||||
张先生: 28
|
||||
黄先生: 19
|
||||
刘先生: 18
|
||||
胡先生: 17
|
||||
林先生: 17
|
||||
王先生: 15
|
||||
罗先生: 12
|
||||
周先生: 11
|
||||
郭先生: 9
|
||||
杨先生: 9
|
||||
潘先生: 9
|
||||
蔡先生: 9
|
||||
江先生: 8
|
||||
|
||||
member_mobile:
|
||||
Total: 945, Non-null: 843, Distinct: 490
|
||||
Top values:
|
||||
13902258852: 5
|
||||
18826267530: 5
|
||||
13385143091: 4
|
||||
13924036996: 4
|
||||
18320523495: 4
|
||||
17267866666: 4
|
||||
18819484838: 4
|
||||
13826479539: 4
|
||||
13711268012: 4
|
||||
13811638071: 4
|
||||
13286525485: 4
|
||||
13925126339: 4
|
||||
17727637538: 4
|
||||
15550898201: 3
|
||||
13450297682: 3
|
||||
|
||||
status:
|
||||
Total: 945, Non-null: 945, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 935
|
||||
4: 10
|
||||
|
||||
is_delete:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 945
|
||||
|
||||
scd2_is_current:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 945
|
||||
|
||||
scd2_version:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 945
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['member_card_id', 'tenant_id', 'register_site_id', 'tenant_member_id', 'system_member_id', 'card_type_id', 'member_card_grade_code', 'member_card_grade_code_name', 'member_card_type_name', 'member_name', 'member_mobile', 'balance', 'start_time', 'end_time', 'last_consume_time', 'status', 'is_delete', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
member_card_id: 3048239462909701
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 3048238811858693
|
||||
system_member_id: 3048238810220293
|
||||
card_type_id: 2793266846533445
|
||||
member_card_grade_code: 2790683528022856
|
||||
member_card_grade_code_name: 活动抵用券
|
||||
member_card_type_name: 活动抵用券
|
||||
member_name: 胡先生
|
||||
member_mobile: 15815818028
|
||||
balance: 0.00
|
||||
start_time: 2026-01-12 18:49:34+08:00
|
||||
end_time: 2225-01-01 00:00:00+08:00
|
||||
last_consume_time: 2026-01-12 18:50:23+08:00
|
||||
status: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2026-01-15 07:26:51.246510+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
member_card_id: 3048238812202757
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 3048238811858693
|
||||
system_member_id: 3048238810220293
|
||||
card_type_id: 2793249295533893
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_code_name: 储值卡
|
||||
member_card_type_name: 储值卡
|
||||
member_name: 胡先生
|
||||
member_mobile: 15815818028
|
||||
balance: 859.72
|
||||
start_time: 2026-01-12 18:48:54+08:00
|
||||
end_time: 2225-01-01 00:00:00+08:00
|
||||
last_consume_time: 2026-01-13 21:31:41+08:00
|
||||
status: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2026-01-15 07:26:51.246510+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
member_card_id: 3052750402162821
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 3052749341853317
|
||||
system_member_id: 3052749336856197
|
||||
card_type_id: 2793266846533445
|
||||
member_card_grade_code: 2790683528022856
|
||||
member_card_grade_code_name: 活动抵用券
|
||||
member_card_type_name: 活动抵用券
|
||||
member_name: 孙总
|
||||
member_mobile: 13434273425
|
||||
balance: 1588.00
|
||||
start_time: 2026-01-15 23:18:20+08:00
|
||||
end_time: 2225-01-01 00:00:00+08:00
|
||||
last_consume_time: 2026-01-15 23:18:42+08:00
|
||||
status: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2026-01-15 23:34:17.712089+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
member_card_id: 3015999424284165
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2799209753708293
|
||||
system_member_id: 2799209752512261
|
||||
card_type_id: 2793266846533445
|
||||
member_card_grade_code: 2790683528022856
|
||||
member_card_grade_code_name: 活动抵用券
|
||||
member_card_type_name: 活动抵用券
|
||||
member_name: 胡总
|
||||
member_mobile: 13385143091
|
||||
balance: 0.00
|
||||
start_time: 2025-12-21 00:13:18+08:00
|
||||
end_time: 2225-01-01 00:00:00+08:00
|
||||
last_consume_time: 2025-12-21 00:14:03+08:00
|
||||
status: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-26 08:02:56.102609+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
member_card_id: 3043884200789893
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 3043883848157381
|
||||
system_member_id: 3043883846568133
|
||||
card_type_id: 2793266846533445
|
||||
member_card_grade_code: 2790683528022856
|
||||
member_card_grade_code_name: 活动抵用券
|
||||
member_card_type_name: 活动抵用券
|
||||
member_name: 吴先生
|
||||
member_mobile: 15146102616
|
||||
balance: 0.00
|
||||
start_time: 2026-01-09 16:59:10+08:00
|
||||
end_time: 2225-01-01 00:00:00+08:00
|
||||
last_consume_time: 2026-01-11 15:01:55+08:00
|
||||
status: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2026-01-12 03:54:39.947935+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
member_card_id: 3043883848534213
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 3043883848157381
|
||||
system_member_id: 3043883846568133
|
||||
card_type_id: 2793249295533893
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_code_name: 储值卡
|
||||
member_card_type_name: 储值卡
|
||||
member_name: 吴先生
|
||||
member_mobile: 15146102616
|
||||
balance: 1958.00
|
||||
start_time: 2026-01-09 16:58:48+08:00
|
||||
end_time: 2225-01-01 00:00:00+08:00
|
||||
last_consume_time: 2026-01-11 15:01:55+08:00
|
||||
status: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2026-01-12 03:54:39.947935+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
member_card_id: 3039974286231365
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2901526704180613
|
||||
system_member_id: 2901526703000965
|
||||
card_type_id: 2793266846533445
|
||||
member_card_grade_code: 2790683528022856
|
||||
member_card_grade_code_name: 活动抵用券
|
||||
member_card_type_name: 活动抵用券
|
||||
member_name: 张无忌
|
||||
member_mobile: 13686797215
|
||||
balance: 0.00
|
||||
start_time: 2026-01-06 22:41:48+08:00
|
||||
end_time: 2225-01-01 00:00:00+08:00
|
||||
last_consume_time: 2026-01-07 00:10:09+08:00
|
||||
status: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2026-01-12 03:54:39.947935+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
member_card_id: 3037269815201093
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 3037269565082949
|
||||
system_member_id: 3037269563493701
|
||||
card_type_id: 2793266846533445
|
||||
member_card_grade_code: 2790683528022856
|
||||
member_card_grade_code_name: 活动抵用券
|
||||
member_card_type_name: 活动抵用券
|
||||
member_name: 范先生
|
||||
member_mobile: 13922740721
|
||||
balance: 0.00
|
||||
start_time: 2026-01-05 00:50:40+08:00
|
||||
end_time: 2225-01-01 00:00:00+08:00
|
||||
last_consume_time: 2026-01-05 00:51:08+08:00
|
||||
status: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2026-01-12 03:54:39.947935+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
member_card_id: 3037269565459781
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 3037269565082949
|
||||
system_member_id: 3037269563493701
|
||||
card_type_id: 2793249295533893
|
||||
member_card_grade_code: 2790683528022853
|
||||
member_card_grade_code_name: 储值卡
|
||||
member_card_type_name: 储值卡
|
||||
member_name: 范先生
|
||||
member_mobile: 13922740721
|
||||
balance: 0.00
|
||||
start_time: 2026-01-05 00:50:25+08:00
|
||||
end_time: 2225-01-01 00:00:00+08:00
|
||||
last_consume_time: 2026-01-07 03:22:38+08:00
|
||||
status: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2026-01-12 03:54:39.947935+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
member_card_id: 3034509687458885
|
||||
tenant_id: 2790683160709957
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 3034509269552197
|
||||
system_member_id: 3034509267242053
|
||||
card_type_id: 2793266846533445
|
||||
member_card_grade_code: 2790683528022856
|
||||
member_card_grade_code_name: 活动抵用券
|
||||
member_card_type_name: 活动抵用券
|
||||
member_name: 王
|
||||
member_mobile: 13622766944
|
||||
balance: 288.00
|
||||
start_time: 2026-01-03 02:02:55+08:00
|
||||
end_time: 2225-01-01 00:00:00+08:00
|
||||
last_consume_time: 2026-01-03 02:48:43+08:00
|
||||
status: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2026-01-12 03:54:39.947935+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
213
tmp/table_analysis/dim_member_card_account_ex.txt
Normal file
213
tmp/table_analysis/dim_member_card_account_ex.txt
Normal file
@@ -0,0 +1,213 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_member_card_account_ex
|
||||
Primary Key: member_card_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
member_card_id: bigint | nullable=NO | PK
|
||||
site_name: text | nullable=YES |
|
||||
tenant_name: character varying(64) | nullable=YES |
|
||||
tenantavatar: text | nullable=YES |
|
||||
effect_site_id: bigint | nullable=YES |
|
||||
able_cross_site: integer | nullable=YES |
|
||||
card_physics_type: integer | nullable=YES |
|
||||
card_no: text | nullable=YES |
|
||||
bind_password: text | nullable=YES |
|
||||
use_scene: text | nullable=YES |
|
||||
denomination: numeric(18,2) | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
disable_start_time: timestamp with time zone | nullable=YES |
|
||||
disable_end_time: timestamp with time zone | nullable=YES |
|
||||
is_allow_give: integer | nullable=YES |
|
||||
is_allow_order_deduct: integer | nullable=YES |
|
||||
sort: integer | nullable=YES |
|
||||
table_discount: numeric(10,2) | nullable=YES |
|
||||
goods_discount: numeric(10,2) | nullable=YES |
|
||||
assistant_discount: numeric(10,2) | nullable=YES |
|
||||
assistant_reward_discount: numeric(10,2) | nullable=YES |
|
||||
table_service_discount: numeric(10,2) | nullable=YES |
|
||||
goods_service_discount: numeric(10,2) | nullable=YES |
|
||||
assistant_service_discount: numeric(10,2) | nullable=YES |
|
||||
coupon_discount: numeric(10,2) | nullable=YES |
|
||||
table_discount_sub_switch: integer | nullable=YES |
|
||||
goods_discount_sub_switch: integer | nullable=YES |
|
||||
assistant_discount_sub_switch: integer | nullable=YES |
|
||||
assistant_reward_discount_sub_switch: integer | nullable=YES |
|
||||
goods_discount_range_type: integer | nullable=YES |
|
||||
table_deduct_radio: numeric(10,2) | nullable=YES |
|
||||
goods_deduct_radio: numeric(10,2) | nullable=YES |
|
||||
assistant_deduct_radio: numeric(10,2) | nullable=YES |
|
||||
table_service_deduct_radio: numeric(10,2) | nullable=YES |
|
||||
goods_service_deduct_radio: numeric(10,2) | nullable=YES |
|
||||
assistant_service_deduct_radio: numeric(10,2) | nullable=YES |
|
||||
assistant_reward_deduct_radio: numeric(10,2) | nullable=YES |
|
||||
coupon_deduct_radio: numeric(10,2) | nullable=YES |
|
||||
cardsettlededuct: numeric(18,2) | nullable=YES |
|
||||
tablecarddeduct: numeric(18,2) | nullable=YES |
|
||||
tableservicecarddeduct: numeric(18,2) | nullable=YES |
|
||||
goodscardeduct: numeric(18,2) | nullable=YES |
|
||||
goodsservicecarddeduct: numeric(18,2) | nullable=YES |
|
||||
assistantcarddeduct: numeric(18,2) | nullable=YES |
|
||||
assistantservicecarddeduct: numeric(18,2) | nullable=YES |
|
||||
assistantrewardcarddeduct: numeric(18,2) | nullable=YES |
|
||||
couponcarddeduct: numeric(18,2) | nullable=YES |
|
||||
deliveryfeededuct: numeric(18,2) | nullable=YES |
|
||||
tableareaid: text | nullable=YES |
|
||||
goodscategoryid: text | nullable=YES |
|
||||
pdassisnatlevel: text | nullable=YES |
|
||||
cxassisnatlevel: text | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
member_card_id:
|
||||
Total: 945, Non-null: 945, Distinct: 945
|
||||
Top values:
|
||||
2793254697453573: 1
|
||||
2793268303710149: 1
|
||||
2793308329789317: 1
|
||||
2799215867168517: 1
|
||||
2799215872657157: 1
|
||||
2799215877195525: 1
|
||||
2799215882176261: 1
|
||||
2799215886796549: 1
|
||||
2799215892219653: 1
|
||||
2799215897331461: 1
|
||||
2799215901869829: 1
|
||||
2799215906440965: 1
|
||||
2799215912814341: 1
|
||||
2799215918532357: 1
|
||||
2799215923578629: 1
|
||||
|
||||
site_name:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 945
|
||||
|
||||
tenant_name:
|
||||
Total: 945, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
tenantavatar:
|
||||
Total: 945, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
effect_site_id:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 945
|
||||
|
||||
able_cross_site:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 945
|
||||
|
||||
card_physics_type:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 945
|
||||
|
||||
card_no:
|
||||
Total: 945, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
bind_password:
|
||||
Total: 945, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
use_scene:
|
||||
Total: 945, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
is_allow_give:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 945
|
||||
|
||||
is_allow_order_deduct:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 945
|
||||
|
||||
sort:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 945
|
||||
|
||||
table_discount_sub_switch:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 945
|
||||
|
||||
goods_discount_sub_switch:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 945
|
||||
|
||||
assistant_discount_sub_switch:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 945
|
||||
|
||||
assistant_reward_discount_sub_switch:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 945
|
||||
|
||||
goods_discount_range_type:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 945
|
||||
|
||||
tableareaid:
|
||||
Total: 945, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
goodscategoryid:
|
||||
Total: 945, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
pdassisnatlevel:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
{}: 945
|
||||
|
||||
cxassisnatlevel:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
{}: 945
|
||||
|
||||
scd2_is_current:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 945
|
||||
|
||||
scd2_version:
|
||||
Total: 945, Non-null: 945, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 945
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
No sample data available.
|
||||
212
tmp/table_analysis/dim_member_ex.txt
Normal file
212
tmp/table_analysis/dim_member_ex.txt
Normal file
@@ -0,0 +1,212 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_member_ex
|
||||
Primary Key: member_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
member_id: bigint | nullable=NO | PK
|
||||
referrer_member_id: bigint | nullable=YES |
|
||||
point: numeric(18,2) | nullable=YES |
|
||||
register_site_name: text | nullable=YES |
|
||||
growth_value: numeric(18,2) | nullable=YES |
|
||||
user_status: integer | nullable=YES |
|
||||
status: integer | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
member_id:
|
||||
Total: 556, Non-null: 556, Distinct: 556
|
||||
Top values:
|
||||
2799210018309893: 1
|
||||
2799207239993093: 1
|
||||
2799207556597509: 1
|
||||
2799212798150405: 1
|
||||
2854163871024645: 1
|
||||
2799207413319429: 1
|
||||
2824666609323205: 1
|
||||
2799210171156229: 1
|
||||
2799207478544133: 1
|
||||
2799209907373829: 1
|
||||
2799212804736773: 1
|
||||
2799212571199237: 1
|
||||
2799212341905157: 1
|
||||
2799212515231493: 1
|
||||
2799212451677957: 1
|
||||
|
||||
referrer_member_id:
|
||||
Total: 556, Non-null: 556, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 556
|
||||
|
||||
register_site_name:
|
||||
Total: 556, Non-null: 556, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 556
|
||||
|
||||
user_status:
|
||||
Total: 556, Non-null: 556, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 556
|
||||
|
||||
status:
|
||||
Total: 556, Non-null: 556, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 490
|
||||
3: 66
|
||||
|
||||
scd2_is_current:
|
||||
Total: 556, Non-null: 556, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 556
|
||||
|
||||
scd2_version:
|
||||
Total: 556, Non-null: 556, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 556
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['member_id', 'referrer_member_id', 'point', 'register_site_name', 'growth_value', 'user_status', 'status', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
member_id: 3043883848157381
|
||||
referrer_member_id: 0
|
||||
point: 0.00
|
||||
register_site_name: 朗朗桌球
|
||||
growth_value: 0.00
|
||||
user_status: 1
|
||||
status: 1
|
||||
scd2_start_time: 2026-01-12 03:54:27.979542+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
member_id: 3037269565082949
|
||||
referrer_member_id: 0
|
||||
point: 0.00
|
||||
register_site_name: 朗朗桌球
|
||||
growth_value: 0.00
|
||||
user_status: 1
|
||||
status: 1
|
||||
scd2_start_time: 2026-01-12 03:54:27.979542+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
member_id: 3034509269552197
|
||||
referrer_member_id: 0
|
||||
point: 0.00
|
||||
register_site_name: 朗朗桌球
|
||||
growth_value: 0.00
|
||||
user_status: 1
|
||||
status: 1
|
||||
scd2_start_time: 2026-01-12 03:54:27.979542+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
member_id: 3032780662360965
|
||||
referrer_member_id: 0
|
||||
point: 0.00
|
||||
register_site_name: 朗朗桌球
|
||||
growth_value: 0.00
|
||||
user_status: 1
|
||||
status: 1
|
||||
scd2_start_time: 2026-01-12 03:54:27.979542+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
member_id: 3025342944414469
|
||||
referrer_member_id: 0
|
||||
point: 0.00
|
||||
register_site_name: 朗朗桌球
|
||||
growth_value: 0.00
|
||||
user_status: 1
|
||||
status: 1
|
||||
scd2_start_time: 2026-01-12 03:54:27.979542+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
member_id: 3048238811858693
|
||||
referrer_member_id: 0
|
||||
point: 0.00
|
||||
register_site_name: 朗朗桌球
|
||||
growth_value: 0.00
|
||||
user_status: 1
|
||||
status: 1
|
||||
scd2_start_time: 2026-01-15 07:26:49.922955+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
member_id: 3052749341853317
|
||||
referrer_member_id: 0
|
||||
point: 0.00
|
||||
register_site_name: 朗朗桌球
|
||||
growth_value: 0.00
|
||||
user_status: 1
|
||||
status: 1
|
||||
scd2_start_time: 2026-01-15 23:34:17.712089+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
member_id: 3055176918828421
|
||||
referrer_member_id: 0
|
||||
point: 0.00
|
||||
register_site_name: 朗朗桌球
|
||||
growth_value: 0.00
|
||||
user_status: 1
|
||||
status: 1
|
||||
scd2_start_time: 2026-01-19 17:03:03.008890+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
member_id: 3054195561631109
|
||||
referrer_member_id: 0
|
||||
point: 0.00
|
||||
register_site_name: 朗朗桌球
|
||||
growth_value: 0.00
|
||||
user_status: 1
|
||||
status: 1
|
||||
scd2_start_time: 2026-01-19 17:03:03.008890+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
member_id: 3062388521698821
|
||||
referrer_member_id: 0
|
||||
point: 0.00
|
||||
register_site_name: 朗朗桌球
|
||||
growth_value: 0.00
|
||||
user_status: 1
|
||||
status: 1
|
||||
scd2_start_time: 2026-01-22 23:52:50.051956+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
129
tmp/table_analysis/dim_site.txt
Normal file
129
tmp/table_analysis/dim_site.txt
Normal file
@@ -0,0 +1,129 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_site
|
||||
Primary Key: site_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
site_id: bigint | nullable=NO | PK
|
||||
org_id: bigint | nullable=YES |
|
||||
tenant_id: bigint | nullable=YES |
|
||||
shop_name: text | nullable=YES |
|
||||
site_label: text | nullable=YES |
|
||||
full_address: text | nullable=YES |
|
||||
address: text | nullable=YES |
|
||||
longitude: numeric(10,6) | nullable=YES |
|
||||
latitude: numeric(10,6) | nullable=YES |
|
||||
tenant_site_region_id: bigint | nullable=YES |
|
||||
business_tel: text | nullable=YES |
|
||||
site_type: integer | nullable=YES |
|
||||
shop_status: integer | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
site_id:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 1
|
||||
|
||||
org_id:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790684179467077: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 1
|
||||
|
||||
shop_name:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 1
|
||||
|
||||
site_label:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
A: 1
|
||||
|
||||
full_address:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
广东省广州市天河区丽阳街12号: 1
|
||||
|
||||
address:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
广东省广州市天河区天园街道朗朗桌球: 1
|
||||
|
||||
tenant_site_region_id:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
156440100: 1
|
||||
|
||||
business_tel:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
13316068642: 1
|
||||
|
||||
site_type:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
shop_status:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
scd2_is_current:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
scd2_version:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['site_id', 'org_id', 'tenant_id', 'shop_name', 'site_label', 'full_address', 'address', 'longitude', 'latitude', 'tenant_site_region_id', 'business_tel', 'site_type', 'shop_status', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
site_id: 2790685415443269
|
||||
org_id: 2790684179467077
|
||||
tenant_id: 2790683160709957
|
||||
shop_name: 朗朗桌球
|
||||
site_label: A
|
||||
full_address: 广东省广州市天河区丽阳街12号
|
||||
address: 广东省广州市天河区天园街道朗朗桌球
|
||||
longitude: 113.360321
|
||||
latitude: 23.133629
|
||||
tenant_site_region_id: 156440100
|
||||
business_tel: 13316068642
|
||||
site_type: 1
|
||||
shop_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
181
tmp/table_analysis/dim_site_ex.txt
Normal file
181
tmp/table_analysis/dim_site_ex.txt
Normal file
@@ -0,0 +1,181 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_site_ex
|
||||
Primary Key: site_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
site_id: bigint | nullable=NO | PK
|
||||
avatar: text | nullable=YES |
|
||||
address: text | nullable=YES |
|
||||
longitude: numeric(9,6) | nullable=YES |
|
||||
latitude: numeric(9,6) | nullable=YES |
|
||||
tenant_site_region_id: bigint | nullable=YES |
|
||||
auto_light: integer | nullable=YES |
|
||||
light_status: integer | nullable=YES |
|
||||
light_type: integer | nullable=YES |
|
||||
light_token: text | nullable=YES |
|
||||
site_type: integer | nullable=YES |
|
||||
site_label: text | nullable=YES |
|
||||
attendance_enabled: integer | nullable=YES |
|
||||
attendance_distance: integer | nullable=YES |
|
||||
customer_service_qrcode: text | nullable=YES |
|
||||
customer_service_wechat: text | nullable=YES |
|
||||
fixed_pay_qrcode: text | nullable=YES |
|
||||
prod_env: text | nullable=YES |
|
||||
shop_status: integer | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
update_time: timestamp with time zone | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
site_id:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 1
|
||||
|
||||
avatar:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
https://oss.ficoo.vip/admin/hXcE4E_1752495052016.jpg: 1
|
||||
|
||||
address:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
广东省广州市天河区天园街道朗朗桌球: 1
|
||||
|
||||
tenant_site_region_id:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
156440100: 1
|
||||
|
||||
auto_light:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
light_status:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
light_type:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 1
|
||||
|
||||
light_token:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
: 1
|
||||
|
||||
site_type:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
site_label:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
A: 1
|
||||
|
||||
attendance_enabled:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
attendance_distance:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 1
|
||||
|
||||
customer_service_qrcode:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
: 1
|
||||
|
||||
customer_service_wechat:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
: 1
|
||||
|
||||
fixed_pay_qrcode:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
: 1
|
||||
|
||||
prod_env:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
shop_status:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
scd2_is_current:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
scd2_version:
|
||||
Total: 1, Non-null: 1, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 1
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['site_id', 'avatar', 'address', 'longitude', 'latitude', 'tenant_site_region_id', 'auto_light', 'light_status', 'light_type', 'light_token', 'site_type', 'site_label', 'attendance_enabled', 'attendance_distance', 'customer_service_qrcode', 'customer_service_wechat', 'fixed_pay_qrcode', 'prod_env', 'shop_status', 'create_time', 'update_time', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
site_id: 2790685415443269
|
||||
avatar: https://oss.ficoo.vip/admin/hXcE4E_1752495052016.jpg
|
||||
address: 广东省广州市天河区天园街道朗朗桌球
|
||||
longitude: 113.360321
|
||||
latitude: 23.133629
|
||||
tenant_site_region_id: 156440100
|
||||
auto_light: 1
|
||||
light_status: 1
|
||||
light_type: 0
|
||||
light_token:
|
||||
site_type: 1
|
||||
site_label: A
|
||||
attendance_enabled: 1
|
||||
attendance_distance: 0
|
||||
customer_service_qrcode:
|
||||
customer_service_wechat:
|
||||
fixed_pay_qrcode:
|
||||
prod_env: 1
|
||||
shop_status: 1
|
||||
create_time: NULL
|
||||
update_time: NULL
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
528
tmp/table_analysis/dim_store_goods.txt
Normal file
528
tmp/table_analysis/dim_store_goods.txt
Normal file
@@ -0,0 +1,528 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_store_goods
|
||||
Primary Key: site_goods_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
site_goods_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
tenant_goods_id: bigint | nullable=YES |
|
||||
goods_name: text | nullable=YES |
|
||||
goods_category_id: bigint | nullable=YES |
|
||||
goods_second_category_id: bigint | nullable=YES |
|
||||
category_level1_name: text | nullable=YES |
|
||||
category_level2_name: text | nullable=YES |
|
||||
batch_stock_qty: integer | nullable=YES |
|
||||
sale_qty: integer | nullable=YES |
|
||||
total_sales_qty: integer | nullable=YES |
|
||||
sale_price: numeric(18,2) | nullable=YES |
|
||||
created_at: timestamp with time zone | nullable=YES |
|
||||
updated_at: timestamp with time zone | nullable=YES |
|
||||
avg_monthly_sales: numeric(18,4) | nullable=YES |
|
||||
goods_state: integer | nullable=YES |
|
||||
enable_status: integer | nullable=YES |
|
||||
send_state: integer | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
site_goods_id:
|
||||
Total: 170, Non-null: 170, Distinct: 170
|
||||
Top values:
|
||||
2793025844727877: 1
|
||||
2793025844908101: 1
|
||||
2793025845399621: 1
|
||||
2793025845825605: 1
|
||||
2793025845989445: 1
|
||||
2793025846464581: 1
|
||||
2793025846939717: 1
|
||||
2793025847431237: 1
|
||||
2793025847595077: 1
|
||||
2793025848102981: 1
|
||||
2793025848610885: 1
|
||||
2793025849102405: 1
|
||||
2793025849593925: 1
|
||||
2793025850085445: 1
|
||||
2793025850576965: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 170
|
||||
|
||||
site_id:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 170
|
||||
|
||||
tenant_goods_id:
|
||||
Total: 170, Non-null: 170, Distinct: 170
|
||||
Top values:
|
||||
2792140384243589: 1
|
||||
2792122952519557: 1
|
||||
2792067181399941: 1
|
||||
2823319050914565: 1
|
||||
2792045494685573: 1
|
||||
2792114975313797: 1
|
||||
2792112367603589: 1
|
||||
2792277093207941: 1
|
||||
2792275329290117: 1
|
||||
2792173195546501: 1
|
||||
2792229617586053: 1
|
||||
2792286937681797: 1
|
||||
2792213125140357: 1
|
||||
2802003111103429: 1
|
||||
2792292119728005: 1
|
||||
|
||||
goods_name:
|
||||
Total: 170, Non-null: 170, Distinct: 170
|
||||
Top values:
|
||||
QQ糖: 1
|
||||
哇哈哈矿泉水: 1
|
||||
哇哈哈AD钙奶: 1
|
||||
卫龙魔芋爽: 1
|
||||
奥利奥迷你可可: 1
|
||||
卫龙大面筋: 1
|
||||
香辣鱼皮: 1
|
||||
科罗娜啤酒275ml: 1
|
||||
旺旺碎冰冰: 1
|
||||
黑松露苏打饼干: 1
|
||||
皮尔力SY系列: 1
|
||||
美汁源果粒橙: 1
|
||||
软玉溪: 1
|
||||
鱼豆腐: 1
|
||||
营养快线: 1
|
||||
|
||||
goods_category_id:
|
||||
Total: 170, Non-null: 170, Distinct: 9
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683528350539: 49
|
||||
2791941988405125: 49
|
||||
2793217944864581: 18
|
||||
2792062778003333: 17
|
||||
2791942087561093: 14
|
||||
2790683528350535: 11
|
||||
2790683528350533: 6
|
||||
2793220945250117: 4
|
||||
2790683528350545: 2
|
||||
|
||||
goods_second_category_id:
|
||||
Total: 170, Non-null: 170, Distinct: 14
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2791948300259205: 46
|
||||
2790683528350540: 38
|
||||
2793218343257925: 18
|
||||
2792063209623429: 17
|
||||
2792035069284229: 14
|
||||
2790683528350541: 9
|
||||
2790683528350537: 8
|
||||
2790683528350534: 6
|
||||
2793221283104581: 4
|
||||
2793236829620037: 3
|
||||
2792050275864453: 2
|
||||
2790683528350536: 2
|
||||
2793221553489733: 2
|
||||
2790683528350538: 1
|
||||
|
||||
category_level1_name:
|
||||
Total: 170, Non-null: 170, Distinct: 9
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
零食: 49
|
||||
酒水: 49
|
||||
其他: 18
|
||||
香烟: 17
|
||||
雪糕: 14
|
||||
器材: 11
|
||||
槟榔: 6
|
||||
小吃: 4
|
||||
果盘: 2
|
||||
|
||||
category_level2_name:
|
||||
Total: 170, Non-null: 170, Distinct: 14
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
零食: 46
|
||||
饮料: 38
|
||||
其他2: 18
|
||||
香烟: 17
|
||||
雪糕: 14
|
||||
酒水: 9
|
||||
球杆: 8
|
||||
槟榔: 6
|
||||
小吃: 4
|
||||
面: 3
|
||||
果盘: 2
|
||||
洋酒: 2
|
||||
皮头: 2
|
||||
其他: 1
|
||||
|
||||
batch_stock_qty:
|
||||
Total: 170, Non-null: 170, Distinct: 63
|
||||
Top values:
|
||||
0: 38
|
||||
1: 9
|
||||
2: 7
|
||||
3: 7
|
||||
7: 7
|
||||
6: 6
|
||||
8: 6
|
||||
10: 6
|
||||
4: 4
|
||||
21: 4
|
||||
18: 4
|
||||
9: 4
|
||||
5: 4
|
||||
15: 3
|
||||
20: 3
|
||||
|
||||
sale_qty:
|
||||
Total: 170, Non-null: 170, Distinct: 109
|
||||
Top values:
|
||||
0: 18
|
||||
1: 9
|
||||
2: 4
|
||||
63: 4
|
||||
4: 4
|
||||
10: 4
|
||||
41: 3
|
||||
31: 3
|
||||
6: 3
|
||||
78: 2
|
||||
80: 2
|
||||
45: 2
|
||||
12: 2
|
||||
55: 2
|
||||
148: 2
|
||||
|
||||
total_sales_qty:
|
||||
Total: 170, Non-null: 170, Distinct: 109
|
||||
Top values:
|
||||
0: 18
|
||||
1: 9
|
||||
2: 4
|
||||
63: 4
|
||||
4: 4
|
||||
10: 4
|
||||
41: 3
|
||||
31: 3
|
||||
6: 3
|
||||
78: 2
|
||||
80: 2
|
||||
45: 2
|
||||
12: 2
|
||||
55: 2
|
||||
148: 2
|
||||
|
||||
goods_state:
|
||||
Total: 170, Non-null: 170, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 158
|
||||
2: 12
|
||||
|
||||
enable_status:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 170
|
||||
|
||||
send_state:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 170
|
||||
|
||||
is_delete:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 170
|
||||
|
||||
scd2_is_current:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 170
|
||||
|
||||
scd2_version:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 170
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['site_goods_id', 'tenant_id', 'site_id', 'tenant_goods_id', 'goods_name', 'goods_category_id', 'goods_second_category_id', 'category_level1_name', 'category_level2_name', 'batch_stock_qty', 'sale_qty', 'total_sales_qty', 'sale_price', 'created_at', 'updated_at', 'avg_monthly_sales', 'goods_state', 'enable_status', 'send_state', 'is_delete', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
site_goods_id: 2906983124748485
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
tenant_goods_id: 2906982633310085
|
||||
goods_name: 1000服务费
|
||||
goods_category_id: 2793217944864581
|
||||
goods_second_category_id: 2793218343257925
|
||||
category_level1_name: 其他
|
||||
category_level2_name: 其他2
|
||||
batch_stock_qty: 10
|
||||
sale_qty: 1
|
||||
total_sales_qty: 1
|
||||
sale_price: 1000.00
|
||||
created_at: 2025-10-04 23:56:11+08:00
|
||||
updated_at: 2025-12-13 04:46:00+08:00
|
||||
avg_monthly_sales: 0.0000
|
||||
goods_state: 1
|
||||
enable_status: 1
|
||||
send_state: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
site_goods_id: 2915208915865285
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
tenant_goods_id: 2915207513196869
|
||||
goods_name: 普通茶位
|
||||
goods_category_id: 2793217944864581
|
||||
goods_second_category_id: 2793218343257925
|
||||
category_level1_name: 其他
|
||||
category_level2_name: 其他2
|
||||
batch_stock_qty: 87
|
||||
sale_qty: 13
|
||||
total_sales_qty: 13
|
||||
sale_price: 10.00
|
||||
created_at: 2025-10-10 19:23:54+08:00
|
||||
updated_at: 2025-12-16 23:43:49+08:00
|
||||
avg_monthly_sales: 0.1700
|
||||
goods_state: 1
|
||||
enable_status: 1
|
||||
send_state: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
site_goods_id: 2940642871856901
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
tenant_goods_id: 2940641058311237
|
||||
goods_name: 一次性湿巾
|
||||
goods_category_id: 2793217944864581
|
||||
goods_second_category_id: 2793218343257925
|
||||
category_level1_name: 其他
|
||||
category_level2_name: 其他2
|
||||
batch_stock_qty: 100
|
||||
sale_qty: 0
|
||||
total_sales_qty: 0
|
||||
sale_price: 2.00
|
||||
created_at: 2025-10-28 18:36:39+08:00
|
||||
updated_at: 2025-10-28 18:37:03+08:00
|
||||
avg_monthly_sales: 0.0000
|
||||
goods_state: 1
|
||||
enable_status: 1
|
||||
send_state: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
site_goods_id: 2959253027243589
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
tenant_goods_id: 2959250949670277
|
||||
goods_name: 外卖代购
|
||||
goods_category_id: 2793217944864581
|
||||
goods_second_category_id: 2793218343257925
|
||||
category_level1_name: 其他
|
||||
category_level2_name: 其他2
|
||||
batch_stock_qty: 6
|
||||
sale_qty: 4
|
||||
total_sales_qty: 4
|
||||
sale_price: 88.00
|
||||
created_at: 2025-11-10 22:07:53+08:00
|
||||
updated_at: 2025-11-20 12:28:30+08:00
|
||||
avg_monthly_sales: 0.0000
|
||||
goods_state: 1
|
||||
enable_status: 1
|
||||
send_state: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-19 05:42:06.210959+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
site_goods_id: 2964704853035845
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
tenant_goods_id: 2964701792325061
|
||||
goods_name: 咖啡代购
|
||||
goods_category_id: 2793217944864581
|
||||
goods_second_category_id: 2793218343257925
|
||||
category_level1_name: 其他
|
||||
category_level2_name: 其他2
|
||||
batch_stock_qty: 4
|
||||
sale_qty: 26
|
||||
total_sales_qty: 26
|
||||
sale_price: 15.00
|
||||
created_at: 2025-11-14 18:33:46+08:00
|
||||
updated_at: 2025-12-16 00:06:40+08:00
|
||||
avg_monthly_sales: 0.6300
|
||||
goods_state: 1
|
||||
enable_status: 1
|
||||
send_state: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-19 05:42:06.210959+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
site_goods_id: 2793025860145221
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
tenant_goods_id: 2792077012225925
|
||||
goods_name: 双中支中华
|
||||
goods_category_id: 2792062778003333
|
||||
goods_second_category_id: 2792063209623429
|
||||
category_level1_name: 香烟
|
||||
category_level2_name: 香烟
|
||||
batch_stock_qty: 0
|
||||
sale_qty: 94
|
||||
total_sales_qty: 94
|
||||
sale_price: 72.00
|
||||
created_at: 2025-07-16 11:52:51+08:00
|
||||
updated_at: 2025-12-16 23:20:02+08:00
|
||||
avg_monthly_sales: 1.6000
|
||||
goods_state: 1
|
||||
enable_status: 1
|
||||
send_state: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
site_goods_id: 2793025860636741
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
tenant_goods_id: 2792079352434565
|
||||
goods_name: 炫赫门小南京
|
||||
goods_category_id: 2792062778003333
|
||||
goods_second_category_id: 2792063209623429
|
||||
category_level1_name: 香烟
|
||||
category_level2_name: 香烟
|
||||
batch_stock_qty: 30
|
||||
sale_qty: 110
|
||||
total_sales_qty: 110
|
||||
sale_price: 28.00
|
||||
created_at: 2025-07-16 11:52:51+08:00
|
||||
updated_at: 2025-12-17 05:17:22+08:00
|
||||
avg_monthly_sales: 1.0000
|
||||
goods_state: 1
|
||||
enable_status: 1
|
||||
send_state: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
site_goods_id: 2793025861128261
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
tenant_goods_id: 2792081036562309
|
||||
goods_name: 细荷花
|
||||
goods_category_id: 2792062778003333
|
||||
goods_second_category_id: 2792063209623429
|
||||
category_level1_name: 香烟
|
||||
category_level2_name: 香烟
|
||||
batch_stock_qty: 0
|
||||
sale_qty: 184
|
||||
total_sales_qty: 184
|
||||
sale_price: 55.00
|
||||
created_at: 2025-07-16 11:52:51+08:00
|
||||
updated_at: 2025-12-12 02:43:14+08:00
|
||||
avg_monthly_sales: 1.3300
|
||||
goods_state: 1
|
||||
enable_status: 1
|
||||
send_state: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
site_goods_id: 2793025861308485
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
tenant_goods_id: 2792082388782981
|
||||
goods_name: 中支芙蓉王
|
||||
goods_category_id: 2792062778003333
|
||||
goods_second_category_id: 2792063209623429
|
||||
category_level1_name: 香烟
|
||||
category_level2_name: 香烟
|
||||
batch_stock_qty: 6
|
||||
sale_qty: 61
|
||||
total_sales_qty: 61
|
||||
sale_price: 38.00
|
||||
created_at: 2025-07-16 11:52:51+08:00
|
||||
updated_at: 2025-12-19 02:35:36+08:00
|
||||
avg_monthly_sales: 0.7300
|
||||
goods_state: 1
|
||||
enable_status: 1
|
||||
send_state: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
site_goods_id: 2793025861505093
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
tenant_goods_id: 2792083824283525
|
||||
goods_name: 红利群
|
||||
goods_category_id: 2792062778003333
|
||||
goods_second_category_id: 2792063209623429
|
||||
category_level1_name: 香烟
|
||||
category_level2_name: 香烟
|
||||
batch_stock_qty: 5
|
||||
sale_qty: 151
|
||||
total_sales_qty: 151
|
||||
sale_price: 26.00
|
||||
created_at: 2025-07-16 11:52:51+08:00
|
||||
updated_at: 2025-12-18 23:52:11+08:00
|
||||
avg_monthly_sales: 0.8000
|
||||
goods_state: 1
|
||||
enable_status: 1
|
||||
send_state: 1
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
582
tmp/table_analysis/dim_store_goods_ex.txt
Normal file
582
tmp/table_analysis/dim_store_goods_ex.txt
Normal file
@@ -0,0 +1,582 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_store_goods_ex
|
||||
Primary Key: site_goods_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
site_goods_id: bigint | nullable=NO | PK
|
||||
site_name: text | nullable=YES |
|
||||
unit: text | nullable=YES |
|
||||
goods_barcode: text | nullable=YES |
|
||||
goods_cover_url: text | nullable=YES |
|
||||
pinyin_initial: text | nullable=YES |
|
||||
stock_qty: integer | nullable=YES |
|
||||
stock_secondary_qty: integer | nullable=YES |
|
||||
safety_stock_qty: integer | nullable=YES |
|
||||
cost_price: numeric(18,4) | nullable=YES |
|
||||
cost_price_type: integer | nullable=YES |
|
||||
provisional_total_cost: numeric(18,2) | nullable=YES |
|
||||
total_purchase_cost: numeric(18,2) | nullable=YES |
|
||||
min_discount_price: numeric(18,2) | nullable=YES |
|
||||
is_discountable: integer | nullable=YES |
|
||||
days_on_shelf: integer | nullable=YES |
|
||||
audit_status: integer | nullable=YES |
|
||||
sale_channel: integer | nullable=YES |
|
||||
is_warehousing: integer | nullable=YES |
|
||||
freeze_status: integer | nullable=YES |
|
||||
forbid_sell_status: integer | nullable=YES |
|
||||
able_site_transfer: integer | nullable=YES |
|
||||
custom_label_type: integer | nullable=YES |
|
||||
option_required: integer | nullable=YES |
|
||||
remark: text | nullable=YES |
|
||||
sort_order: integer | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
site_goods_id:
|
||||
Total: 170, Non-null: 170, Distinct: 170
|
||||
Top values:
|
||||
2793025844727877: 1
|
||||
2793025844908101: 1
|
||||
2793025845399621: 1
|
||||
2793025845825605: 1
|
||||
2793025845989445: 1
|
||||
2793025846464581: 1
|
||||
2793025846939717: 1
|
||||
2793025847431237: 1
|
||||
2793025847595077: 1
|
||||
2793025848102981: 1
|
||||
2793025848610885: 1
|
||||
2793025849102405: 1
|
||||
2793025849593925: 1
|
||||
2793025850085445: 1
|
||||
2793025850576965: 1
|
||||
|
||||
site_name:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 170
|
||||
|
||||
unit:
|
||||
Total: 170, Non-null: 170, Distinct: 13
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
包: 62
|
||||
瓶: 49
|
||||
个: 17
|
||||
份: 14
|
||||
根: 10
|
||||
杯: 5
|
||||
盒: 4
|
||||
桶: 3
|
||||
盘: 2
|
||||
罐: 1
|
||||
支: 1
|
||||
双: 1
|
||||
张: 1
|
||||
|
||||
goods_barcode:
|
||||
Total: 170, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
goods_cover_url:
|
||||
Total: 170, Non-null: 170, Distinct: 130
|
||||
Top values:
|
||||
https://oss.ficoo.vip/admin/RWW8bM_1710125368666.jpg: 41
|
||||
https://oss.ficoo.vip/admin/GrDjXJ_1753204736744.jpg: 1
|
||||
https://oss.ficoo.vip/goods/501755142741105/175514274110534.jpg: 1
|
||||
https://oss.ficoo.vip/admin/nrDNCp_1765624656359.jpg: 1
|
||||
https://oss.ficoo.vip/admin/xHtt7E_1753203727919.jpg: 1
|
||||
https://oss.ficoo.vip/admin/yx3b8S_1753175562197.jpg: 1
|
||||
https://oss.ficoo.vip/admin/hWtAkK_1753175530886.jpg: 1
|
||||
https://oss.ficoo.vip/admin/21d4Y5_1754818991675.jpg: 1
|
||||
https://oss.ficoo.vip/admin/yzYj5B_1753203473330.jpg: 1
|
||||
https://oss.ficoo.vip/admin/5P1HjW_1753175040708.jpg: 1
|
||||
https://oss.ficoo.vip/admin/YXR86w_1753203657997.jpg: 1
|
||||
https://oss.ficoo.vip/admin/QC6hTw_1754818957205.jpg: 1
|
||||
https://oss.ficoo.vip/admin/nBPPG4_1753203441531.jpg: 1
|
||||
https://oss.ficoo.vip/admin/75yN2R_1721196107928.jpg: 1
|
||||
https://oss.ficoo.vip/admin/17r1dP_1721196142478.jpg: 1
|
||||
|
||||
pinyin_initial:
|
||||
Total: 170, Non-null: 170, Distinct: 169
|
||||
Top values:
|
||||
YD: 2
|
||||
KLN: 1
|
||||
HCTX·: 1
|
||||
PTPK: 1
|
||||
KY,KL: 1
|
||||
50JQBL,50GQBL: 1
|
||||
KAD: 1
|
||||
PTCW: 1
|
||||
HSNRM,GSNRM: 1
|
||||
RYX: 1
|
||||
YDF: 1
|
||||
DFSY,DFSX: 1
|
||||
GXFJZJ: 1
|
||||
XLYP: 1
|
||||
SZSSKXG: 1
|
||||
|
||||
stock_qty:
|
||||
Total: 170, Non-null: 170, Distinct: 63
|
||||
Top values:
|
||||
0: 38
|
||||
1: 9
|
||||
2: 7
|
||||
3: 7
|
||||
7: 7
|
||||
6: 6
|
||||
8: 6
|
||||
10: 6
|
||||
4: 4
|
||||
21: 4
|
||||
18: 4
|
||||
9: 4
|
||||
5: 4
|
||||
15: 3
|
||||
20: 3
|
||||
|
||||
stock_secondary_qty:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 170
|
||||
|
||||
safety_stock_qty:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 170
|
||||
|
||||
cost_price_type:
|
||||
Total: 170, Non-null: 170, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 160
|
||||
2: 10
|
||||
|
||||
is_discountable:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 170
|
||||
|
||||
days_on_shelf:
|
||||
Total: 170, Non-null: 170, Distinct: 71
|
||||
Top values:
|
||||
0: 48
|
||||
100: 5
|
||||
5: 5
|
||||
7: 5
|
||||
10: 5
|
||||
30: 4
|
||||
14: 3
|
||||
6: 3
|
||||
33: 3
|
||||
4: 3
|
||||
3: 3
|
||||
24: 3
|
||||
45: 3
|
||||
11: 3
|
||||
21: 3
|
||||
|
||||
audit_status:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 170
|
||||
|
||||
sale_channel:
|
||||
Total: 170, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
is_warehousing:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 170
|
||||
|
||||
freeze_status:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 170
|
||||
|
||||
forbid_sell_status:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 170
|
||||
|
||||
able_site_transfer:
|
||||
Total: 170, Non-null: 170, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 169
|
||||
0: 1
|
||||
|
||||
custom_label_type:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 170
|
||||
|
||||
option_required:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 170
|
||||
|
||||
remark:
|
||||
Total: 170, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
sort_order:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
100: 170
|
||||
|
||||
scd2_is_current:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 170
|
||||
|
||||
scd2_version:
|
||||
Total: 170, Non-null: 170, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 170
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['site_goods_id', 'site_name', 'unit', 'goods_barcode', 'goods_cover_url', 'pinyin_initial', 'stock_qty', 'stock_secondary_qty', 'safety_stock_qty', 'cost_price', 'cost_price_type', 'provisional_total_cost', 'total_purchase_cost', 'min_discount_price', 'is_discountable', 'days_on_shelf', 'audit_status', 'sale_channel', 'is_warehousing', 'freeze_status', 'forbid_sell_status', 'able_site_transfer', 'custom_label_type', 'option_required', 'remark', 'sort_order', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
site_goods_id: 2906983124748485
|
||||
site_name: 朗朗桌球
|
||||
unit: 个
|
||||
goods_barcode: NULL
|
||||
goods_cover_url: https://oss.ficoo.vip/admin/RWW8bM_1710125368666.jpg
|
||||
pinyin_initial: 1000FWF
|
||||
stock_qty: 10
|
||||
stock_secondary_qty: 0
|
||||
safety_stock_qty: 0
|
||||
cost_price: 0.0000
|
||||
cost_price_type: 2
|
||||
provisional_total_cost: 0.00
|
||||
total_purchase_cost: 0.00
|
||||
min_discount_price: 0.00
|
||||
is_discountable: 1
|
||||
days_on_shelf: 333
|
||||
audit_status: 2
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
freeze_status: 0
|
||||
forbid_sell_status: 1
|
||||
able_site_transfer: 2
|
||||
custom_label_type: 2
|
||||
option_required: 1
|
||||
remark: NULL
|
||||
sort_order: 100
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
site_goods_id: 2915208915865285
|
||||
site_name: 朗朗桌球
|
||||
unit: 份
|
||||
goods_barcode: NULL
|
||||
goods_cover_url: https://oss.ficoo.vip/admin/RWW8bM_1710125368666.jpg
|
||||
pinyin_initial: PTCW
|
||||
stock_qty: 87
|
||||
stock_secondary_qty: 0
|
||||
safety_stock_qty: 0
|
||||
cost_price: 0.0000
|
||||
cost_price_type: 2
|
||||
provisional_total_cost: 0.00
|
||||
total_purchase_cost: 0.00
|
||||
min_discount_price: 0.00
|
||||
is_discountable: 1
|
||||
days_on_shelf: 511
|
||||
audit_status: 2
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
freeze_status: 0
|
||||
forbid_sell_status: 1
|
||||
able_site_transfer: 2
|
||||
custom_label_type: 2
|
||||
option_required: 1
|
||||
remark: NULL
|
||||
sort_order: 100
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
site_goods_id: 2940642871856901
|
||||
site_name: 朗朗桌球
|
||||
unit: 张
|
||||
goods_barcode: NULL
|
||||
goods_cover_url: https://oss.ficoo.vip/admin/RWW8bM_1710125368666.jpg
|
||||
pinyin_initial: YCXSJ
|
||||
stock_qty: 100
|
||||
stock_secondary_qty: 0
|
||||
safety_stock_qty: 0
|
||||
cost_price: 2.0000
|
||||
cost_price_type: 2
|
||||
provisional_total_cost: 0.00
|
||||
total_purchase_cost: 0.00
|
||||
min_discount_price: 0.00
|
||||
is_discountable: 1
|
||||
days_on_shelf: 0
|
||||
audit_status: 2
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
freeze_status: 0
|
||||
forbid_sell_status: 1
|
||||
able_site_transfer: 2
|
||||
custom_label_type: 2
|
||||
option_required: 1
|
||||
remark: NULL
|
||||
sort_order: 100
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
site_goods_id: 2959253027243589
|
||||
site_name: 朗朗桌球
|
||||
unit: 份
|
||||
goods_barcode: NULL
|
||||
goods_cover_url: https://oss.ficoo.vip/admin/RWW8bM_1710125368666.jpg
|
||||
pinyin_initial: WMDG
|
||||
stock_qty: 6
|
||||
stock_secondary_qty: 0
|
||||
safety_stock_qty: 0
|
||||
cost_price: 0.0000
|
||||
cost_price_type: 2
|
||||
provisional_total_cost: 0.00
|
||||
total_purchase_cost: 0.00
|
||||
min_discount_price: 0.00
|
||||
is_discountable: 1
|
||||
days_on_shelf: 85
|
||||
audit_status: 2
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
freeze_status: 0
|
||||
forbid_sell_status: 1
|
||||
able_site_transfer: 2
|
||||
custom_label_type: 2
|
||||
option_required: 1
|
||||
remark: NULL
|
||||
sort_order: 100
|
||||
scd2_start_time: 2025-12-19 05:42:06.210959+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
site_goods_id: 2964704853035845
|
||||
site_name: 朗朗桌球
|
||||
unit: 杯
|
||||
goods_barcode: NULL
|
||||
goods_cover_url: https://oss.ficoo.vip/admin/RWW8bM_1710125368666.jpg
|
||||
pinyin_initial: KFDG,GFDG
|
||||
stock_qty: 4
|
||||
stock_secondary_qty: 0
|
||||
safety_stock_qty: 0
|
||||
cost_price: 0.0000
|
||||
cost_price_type: 2
|
||||
provisional_total_cost: 0.00
|
||||
total_purchase_cost: 0.00
|
||||
min_discount_price: 0.00
|
||||
is_discountable: 1
|
||||
days_on_shelf: 6
|
||||
audit_status: 2
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
freeze_status: 0
|
||||
forbid_sell_status: 1
|
||||
able_site_transfer: 2
|
||||
custom_label_type: 2
|
||||
option_required: 1
|
||||
remark: NULL
|
||||
sort_order: 100
|
||||
scd2_start_time: 2025-12-19 05:42:06.210959+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
site_goods_id: 2793025860145221
|
||||
site_name: 朗朗桌球
|
||||
unit: 包
|
||||
goods_barcode: NULL
|
||||
goods_cover_url: https://oss.ficoo.vip/admin/SthyYw_1753194478117.jpg
|
||||
pinyin_initial: SZZZH
|
||||
stock_qty: 0
|
||||
stock_secondary_qty: 0
|
||||
safety_stock_qty: 0
|
||||
cost_price: 0.0000
|
||||
cost_price_type: 1
|
||||
provisional_total_cost: 0.00
|
||||
total_purchase_cost: 0.00
|
||||
min_discount_price: 0.00
|
||||
is_discountable: 1
|
||||
days_on_shelf: 0
|
||||
audit_status: 2
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
freeze_status: 0
|
||||
forbid_sell_status: 1
|
||||
able_site_transfer: 2
|
||||
custom_label_type: 2
|
||||
option_required: 1
|
||||
remark: NULL
|
||||
sort_order: 100
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
site_goods_id: 2793025860636741
|
||||
site_name: 朗朗桌球
|
||||
unit: 包
|
||||
goods_barcode: NULL
|
||||
goods_cover_url: https://oss.ficoo.vip/admin/h2tQM3_1753194493216.jpg
|
||||
pinyin_initial: XHMXNJ
|
||||
stock_qty: 30
|
||||
stock_secondary_qty: 0
|
||||
safety_stock_qty: 0
|
||||
cost_price: 0.0000
|
||||
cost_price_type: 1
|
||||
provisional_total_cost: 0.00
|
||||
total_purchase_cost: 0.00
|
||||
min_discount_price: 0.00
|
||||
is_discountable: 1
|
||||
days_on_shelf: 30
|
||||
audit_status: 2
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
freeze_status: 0
|
||||
forbid_sell_status: 1
|
||||
able_site_transfer: 2
|
||||
custom_label_type: 2
|
||||
option_required: 1
|
||||
remark: NULL
|
||||
sort_order: 100
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
site_goods_id: 2793025861128261
|
||||
site_name: 朗朗桌球
|
||||
unit: 包
|
||||
goods_barcode: NULL
|
||||
goods_cover_url: https://oss.ficoo.vip/admin/ScERzZ_1753194512694.jpg
|
||||
pinyin_initial: XHH
|
||||
stock_qty: 0
|
||||
stock_secondary_qty: 0
|
||||
safety_stock_qty: 0
|
||||
cost_price: 0.0000
|
||||
cost_price_type: 1
|
||||
provisional_total_cost: 0.00
|
||||
total_purchase_cost: 0.00
|
||||
min_discount_price: 0.00
|
||||
is_discountable: 1
|
||||
days_on_shelf: 0
|
||||
audit_status: 2
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
freeze_status: 0
|
||||
forbid_sell_status: 1
|
||||
able_site_transfer: 2
|
||||
custom_label_type: 2
|
||||
option_required: 1
|
||||
remark: NULL
|
||||
sort_order: 100
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
site_goods_id: 2793025861308485
|
||||
site_name: 朗朗桌球
|
||||
unit: 包
|
||||
goods_barcode: NULL
|
||||
goods_cover_url: https://oss.ficoo.vip/admin/GBYMWe_1753194536507.jpg
|
||||
pinyin_initial: ZZFRW
|
||||
stock_qty: 6
|
||||
stock_secondary_qty: 0
|
||||
safety_stock_qty: 0
|
||||
cost_price: 0.0000
|
||||
cost_price_type: 1
|
||||
provisional_total_cost: 0.00
|
||||
total_purchase_cost: 0.00
|
||||
min_discount_price: 0.00
|
||||
is_discountable: 1
|
||||
days_on_shelf: 15
|
||||
audit_status: 2
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
freeze_status: 0
|
||||
forbid_sell_status: 1
|
||||
able_site_transfer: 2
|
||||
custom_label_type: 2
|
||||
option_required: 1
|
||||
remark: NULL
|
||||
sort_order: 100
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
site_goods_id: 2793025861505093
|
||||
site_name: 朗朗桌球
|
||||
unit: 包
|
||||
goods_barcode: NULL
|
||||
goods_cover_url: https://oss.ficoo.vip/admin/ewj8Z1_1753194556566.jpg
|
||||
pinyin_initial: HLQ,GLQ
|
||||
stock_qty: 5
|
||||
stock_secondary_qty: 0
|
||||
safety_stock_qty: 0
|
||||
cost_price: 0.0000
|
||||
cost_price_type: 1
|
||||
provisional_total_cost: 0.00
|
||||
total_purchase_cost: 0.00
|
||||
min_discount_price: 0.00
|
||||
is_discountable: 1
|
||||
days_on_shelf: 7
|
||||
audit_status: 2
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
freeze_status: 0
|
||||
forbid_sell_status: 1
|
||||
able_site_transfer: 2
|
||||
custom_label_type: 2
|
||||
option_required: 1
|
||||
remark: NULL
|
||||
sort_order: 100
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
269
tmp/table_analysis/dim_table.txt
Normal file
269
tmp/table_analysis/dim_table.txt
Normal file
@@ -0,0 +1,269 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_table
|
||||
Primary Key: table_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
table_id: bigint | nullable=NO | PK
|
||||
site_id: bigint | nullable=YES |
|
||||
table_name: text | nullable=YES |
|
||||
site_table_area_id: bigint | nullable=YES |
|
||||
site_table_area_name: text | nullable=YES |
|
||||
tenant_table_area_id: bigint | nullable=YES |
|
||||
table_price: numeric(18,2) | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
table_id:
|
||||
Total: 74, Non-null: 74, Distinct: 74
|
||||
Top values:
|
||||
2793023960551493: 1
|
||||
2793021451292741: 1
|
||||
2942225950625541: 1
|
||||
2793003618340933: 1
|
||||
2793003243294789: 1
|
||||
2793003420504133: 1
|
||||
2793012902482053: 1
|
||||
2956247996190021: 1
|
||||
2944828464433029: 1
|
||||
2802006434630661: 1
|
||||
2793018776604805: 1
|
||||
2793017278582917: 1
|
||||
2793020259946565: 1
|
||||
2793001695301765: 1
|
||||
2793020955840645: 1
|
||||
|
||||
site_id:
|
||||
Total: 74, Non-null: 74, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 74
|
||||
|
||||
table_name:
|
||||
Total: 74, Non-null: 74, Distinct: 74
|
||||
Top values:
|
||||
A18: 1
|
||||
B9: 1
|
||||
666: 1
|
||||
B14: 1
|
||||
VIP1: 1
|
||||
TV: 1
|
||||
幸会(纯k): 1
|
||||
S1: 1
|
||||
M3: 1
|
||||
A16: 1
|
||||
B3: 1
|
||||
补时长2: 1
|
||||
B6: 1
|
||||
B2: 1
|
||||
VIP5: 1
|
||||
|
||||
site_table_area_id:
|
||||
Total: 74, Non-null: 74, Distinct: 16
|
||||
Top values:
|
||||
2791963794329671: 18
|
||||
2791963807682693: 15
|
||||
2802006170324037: 7
|
||||
2791963816579205: 6
|
||||
2791963887030341: 5
|
||||
2791963825803397: 4
|
||||
2791963855982661: 4
|
||||
2791963836207173: 4
|
||||
2791963848527941: 2
|
||||
2942056024575749: 2
|
||||
2944827794098053: 2
|
||||
2956246442462533: 1
|
||||
2994268117290757: 1
|
||||
3004534627601285: 1
|
||||
2791963864273029: 1
|
||||
|
||||
site_table_area_name:
|
||||
Total: 74, Non-null: 74, Distinct: 16
|
||||
Top values:
|
||||
A区: 18
|
||||
B区: 15
|
||||
补时长: 7
|
||||
C区: 6
|
||||
麻将房: 5
|
||||
K包: 4
|
||||
VIP包厢: 4
|
||||
斯诺克区: 4
|
||||
666: 2
|
||||
k包活动区: 2
|
||||
M7: 2
|
||||
发财: 1
|
||||
TV台: 1
|
||||
M8: 1
|
||||
虚拟台: 1
|
||||
|
||||
tenant_table_area_id:
|
||||
Total: 74, Non-null: 74, Distinct: 16
|
||||
Top values:
|
||||
2791963794329671: 18
|
||||
2791963807682693: 15
|
||||
2802006170324037: 7
|
||||
2791963816579205: 6
|
||||
2791963887030341: 5
|
||||
2791963825803397: 4
|
||||
2791963855982661: 4
|
||||
2791963836207173: 4
|
||||
2791963848527941: 2
|
||||
2942056024575749: 2
|
||||
2944827794098053: 2
|
||||
2956246442462533: 1
|
||||
2994268117290757: 1
|
||||
3004534627601285: 1
|
||||
2791963864273029: 1
|
||||
|
||||
scd2_is_current:
|
||||
Total: 74, Non-null: 74, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 74
|
||||
|
||||
scd2_version:
|
||||
Total: 74, Non-null: 74, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 74
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['table_id', 'site_id', 'table_name', 'site_table_area_id', 'site_table_area_name', 'tenant_table_area_id', 'table_price', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
table_id: 2791964216463493
|
||||
site_id: 2790685415443269
|
||||
table_name: A1
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791963794329671
|
||||
table_price: 0.00
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
table_id: 2792521437958213
|
||||
site_id: 2790685415443269
|
||||
table_name: A2
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791963794329671
|
||||
table_price: 0.00
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
table_id: 2793001695301765
|
||||
site_id: 2790685415443269
|
||||
table_name: A3
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791963794329671
|
||||
table_price: 0.00
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
table_id: 2793001904918661
|
||||
site_id: 2790685415443269
|
||||
table_name: A4
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791963794329671
|
||||
table_price: 0.00
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
table_id: 2793002509209733
|
||||
site_id: 2790685415443269
|
||||
table_name: A5
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791963794329671
|
||||
table_price: 0.00
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
table_id: 2793002673295493
|
||||
site_id: 2790685415443269
|
||||
table_name: A6
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791963794329671
|
||||
table_price: 0.00
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
table_id: 2793003066429509
|
||||
site_id: 2790685415443269
|
||||
table_name: A10
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791963794329671
|
||||
table_price: 0.00
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
table_id: 2793003159474245
|
||||
site_id: 2790685415443269
|
||||
table_name: A11
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791963794329671
|
||||
table_price: 0.00
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
table_id: 2793003806953541
|
||||
site_id: 2790685415443269
|
||||
table_name: A18
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791963794329671
|
||||
table_price: 0.00
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
table_id: 2793010820206661
|
||||
site_id: 2790685415443269
|
||||
table_name: B1
|
||||
site_table_area_id: 2791963807682693
|
||||
site_table_area_name: B区
|
||||
tenant_table_area_id: 2791963807682693
|
||||
table_price: 0.00
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
208
tmp/table_analysis/dim_table_ex.txt
Normal file
208
tmp/table_analysis/dim_table_ex.txt
Normal file
@@ -0,0 +1,208 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_table_ex
|
||||
Primary Key: table_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
table_id: bigint | nullable=NO | PK
|
||||
show_status: integer | nullable=YES |
|
||||
is_online_reservation: integer | nullable=YES |
|
||||
table_cloth_use_time: integer | nullable=YES |
|
||||
table_cloth_use_cycle: integer | nullable=YES |
|
||||
table_status: integer | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
table_id:
|
||||
Total: 74, Non-null: 74, Distinct: 74
|
||||
Top values:
|
||||
2793023960551493: 1
|
||||
2793021451292741: 1
|
||||
2942225950625541: 1
|
||||
2793003618340933: 1
|
||||
2793003243294789: 1
|
||||
2793012902482053: 1
|
||||
2793003420504133: 1
|
||||
2956247996190021: 1
|
||||
2944828464433029: 1
|
||||
2802006434630661: 1
|
||||
2793018776604805: 1
|
||||
2793017278582917: 1
|
||||
2793020259946565: 1
|
||||
2793001695301765: 1
|
||||
2944828361639813: 1
|
||||
|
||||
show_status:
|
||||
Total: 74, Non-null: 74, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 70
|
||||
2: 4
|
||||
|
||||
is_online_reservation:
|
||||
Total: 74, Non-null: 74, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 72
|
||||
1: 2
|
||||
|
||||
table_cloth_use_time:
|
||||
Total: 74, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
table_cloth_use_cycle:
|
||||
Total: 74, Non-null: 74, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 74
|
||||
|
||||
table_status:
|
||||
Total: 74, Non-null: 74, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 66
|
||||
3: 7
|
||||
2: 1
|
||||
|
||||
scd2_is_current:
|
||||
Total: 74, Non-null: 74, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 74
|
||||
|
||||
scd2_version:
|
||||
Total: 74, Non-null: 74, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 74
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['table_id', 'show_status', 'is_online_reservation', 'table_cloth_use_time', 'table_cloth_use_cycle', 'table_status', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
table_id: 2791964216463493
|
||||
show_status: 1
|
||||
is_online_reservation: 2
|
||||
table_cloth_use_time: NULL
|
||||
table_cloth_use_cycle: 0
|
||||
table_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
table_id: 2792521437958213
|
||||
show_status: 1
|
||||
is_online_reservation: 2
|
||||
table_cloth_use_time: NULL
|
||||
table_cloth_use_cycle: 0
|
||||
table_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
table_id: 2793001695301765
|
||||
show_status: 1
|
||||
is_online_reservation: 2
|
||||
table_cloth_use_time: NULL
|
||||
table_cloth_use_cycle: 0
|
||||
table_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
table_id: 2793001904918661
|
||||
show_status: 1
|
||||
is_online_reservation: 2
|
||||
table_cloth_use_time: NULL
|
||||
table_cloth_use_cycle: 0
|
||||
table_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
table_id: 2793002509209733
|
||||
show_status: 1
|
||||
is_online_reservation: 2
|
||||
table_cloth_use_time: NULL
|
||||
table_cloth_use_cycle: 0
|
||||
table_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
table_id: 2793002673295493
|
||||
show_status: 1
|
||||
is_online_reservation: 2
|
||||
table_cloth_use_time: NULL
|
||||
table_cloth_use_cycle: 0
|
||||
table_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
table_id: 2793002808987781
|
||||
show_status: 1
|
||||
is_online_reservation: 2
|
||||
table_cloth_use_time: NULL
|
||||
table_cloth_use_cycle: 0
|
||||
table_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
table_id: 2793002896494725
|
||||
show_status: 1
|
||||
is_online_reservation: 2
|
||||
table_cloth_use_time: NULL
|
||||
table_cloth_use_cycle: 0
|
||||
table_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
table_id: 2793002980429893
|
||||
show_status: 1
|
||||
is_online_reservation: 2
|
||||
table_cloth_use_time: NULL
|
||||
table_cloth_use_cycle: 0
|
||||
table_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
table_id: 2793003066429509
|
||||
show_status: 1
|
||||
is_online_reservation: 2
|
||||
table_cloth_use_time: NULL
|
||||
table_cloth_use_cycle: 0
|
||||
table_status: 1
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
397
tmp/table_analysis/dim_tenant_goods.txt
Normal file
397
tmp/table_analysis/dim_tenant_goods.txt
Normal file
@@ -0,0 +1,397 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_tenant_goods
|
||||
Primary Key: tenant_goods_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
tenant_goods_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES |
|
||||
supplier_id: bigint | nullable=YES |
|
||||
category_name: character varying(64) | nullable=YES |
|
||||
goods_category_id: bigint | nullable=YES |
|
||||
goods_second_category_id: bigint | nullable=YES |
|
||||
goods_name: character varying(128) | nullable=YES |
|
||||
goods_number: character varying(64) | nullable=YES |
|
||||
unit: character varying(16) | nullable=YES |
|
||||
market_price: numeric(18,2) | nullable=YES |
|
||||
goods_state: integer | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
update_time: timestamp with time zone | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
tenant_goods_id:
|
||||
Total: 171, Non-null: 171, Distinct: 171
|
||||
Top values:
|
||||
2792122952519557: 1
|
||||
2792140384243589: 1
|
||||
2792067181399941: 1
|
||||
2823319050914565: 1
|
||||
2792275329290117: 1
|
||||
2792045494685573: 1
|
||||
2792277093207941: 1
|
||||
2792112367603589: 1
|
||||
2792114975313797: 1
|
||||
2792173195546501: 1
|
||||
2792229617586053: 1
|
||||
2792286937681797: 1
|
||||
2792213125140357: 1
|
||||
2802003111103429: 1
|
||||
2792292119728005: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 171
|
||||
|
||||
supplier_id:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 171
|
||||
|
||||
category_name:
|
||||
Total: 171, Non-null: 171, Distinct: 14
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
零食: 47
|
||||
饮料: 38
|
||||
其他2: 18
|
||||
香烟: 17
|
||||
雪糕: 14
|
||||
酒水: 9
|
||||
球杆: 8
|
||||
槟榔: 6
|
||||
小吃: 4
|
||||
面: 3
|
||||
果盘: 2
|
||||
洋酒: 2
|
||||
皮头: 2
|
||||
其他: 1
|
||||
|
||||
goods_category_id:
|
||||
Total: 171, Non-null: 171, Distinct: 9
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2791941988405125: 50
|
||||
2790683528350539: 49
|
||||
2793217944864581: 18
|
||||
2792062778003333: 17
|
||||
2791942087561093: 14
|
||||
2790683528350535: 11
|
||||
2790683528350533: 6
|
||||
2793220945250117: 4
|
||||
2790683528350545: 2
|
||||
|
||||
goods_second_category_id:
|
||||
Total: 171, Non-null: 171, Distinct: 14
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2791948300259205: 47
|
||||
2790683528350540: 38
|
||||
2793218343257925: 18
|
||||
2792063209623429: 17
|
||||
2792035069284229: 14
|
||||
2790683528350541: 9
|
||||
2790683528350537: 8
|
||||
2790683528350534: 6
|
||||
2793221283104581: 4
|
||||
2793236829620037: 3
|
||||
2792050275864453: 2
|
||||
2790683528350536: 2
|
||||
2793221553489733: 2
|
||||
2790683528350538: 1
|
||||
|
||||
goods_name:
|
||||
Total: 171, Non-null: 171, Distinct: 171
|
||||
Top values:
|
||||
鱼蛋: 1
|
||||
哇哈哈矿泉水: 1
|
||||
卫龙魔芋爽: 1
|
||||
哇哈哈AD钙奶: 1
|
||||
奥利奥迷你可可: 1
|
||||
卫龙大面筋: 1
|
||||
香辣鱼皮: 1
|
||||
科罗娜啤酒275ml: 1
|
||||
旺旺碎冰冰: 1
|
||||
黑松露苏打饼干: 1
|
||||
皮尔力SY系列: 1
|
||||
美汁源果粒橙: 1
|
||||
软玉溪: 1
|
||||
鱼豆腐: 1
|
||||
营养快线: 1
|
||||
|
||||
goods_number:
|
||||
Total: 171, Non-null: 171, Distinct: 171
|
||||
Top values:
|
||||
118: 1
|
||||
123: 1
|
||||
8: 1
|
||||
75: 1
|
||||
96: 1
|
||||
129: 1
|
||||
13: 1
|
||||
144: 1
|
||||
121: 1
|
||||
113: 1
|
||||
93: 1
|
||||
94: 1
|
||||
95: 1
|
||||
34: 1
|
||||
115: 1
|
||||
|
||||
unit:
|
||||
Total: 171, Non-null: 171, Distinct: 13
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
包: 63
|
||||
瓶: 49
|
||||
个: 17
|
||||
份: 14
|
||||
根: 10
|
||||
杯: 5
|
||||
盒: 4
|
||||
桶: 3
|
||||
盘: 2
|
||||
罐: 1
|
||||
支: 1
|
||||
双: 1
|
||||
张: 1
|
||||
|
||||
goods_state:
|
||||
Total: 171, Non-null: 171, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 165
|
||||
2: 6
|
||||
|
||||
is_delete:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 171
|
||||
|
||||
scd2_is_current:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 171
|
||||
|
||||
scd2_version:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 171
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['tenant_goods_id', 'tenant_id', 'supplier_id', 'category_name', 'goods_category_id', 'goods_second_category_id', 'goods_name', 'goods_number', 'unit', 'market_price', 'goods_state', 'create_time', 'update_time', 'is_delete', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
tenant_goods_id: 2792114975313797
|
||||
tenant_id: 2790683160709957
|
||||
supplier_id: 0
|
||||
category_name: 饮料
|
||||
goods_category_id: 2790683528350539
|
||||
goods_second_category_id: 2790683528350540
|
||||
goods_name: 海之言
|
||||
goods_number: 35
|
||||
unit: 瓶
|
||||
market_price: 8.00
|
||||
goods_state: 1
|
||||
create_time: 2025-07-15 20:26:16+08:00
|
||||
update_time: 2025-11-10 18:35:33+08:00
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
tenant_goods_id: 2792120662675333
|
||||
tenant_id: 2790683160709957
|
||||
supplier_id: 0
|
||||
category_name: 饮料
|
||||
goods_category_id: 2790683528350539
|
||||
goods_second_category_id: 2790683528350540
|
||||
goods_name: 西梅多多饮品
|
||||
goods_number: 41
|
||||
unit: 瓶
|
||||
market_price: 8.00
|
||||
goods_state: 1
|
||||
create_time: 2025-07-15 20:32:03+08:00
|
||||
update_time: 2025-11-10 18:38:16+08:00
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
tenant_goods_id: 2792123803078533
|
||||
tenant_id: 2790683160709957
|
||||
supplier_id: 0
|
||||
category_name: 饮料
|
||||
goods_category_id: 2790683528350539
|
||||
goods_second_category_id: 2790683528350540
|
||||
goods_name: 美汁源果粒橙
|
||||
goods_number: 43
|
||||
unit: 瓶
|
||||
market_price: 8.00
|
||||
goods_state: 1
|
||||
create_time: 2025-07-15 20:35:15+08:00
|
||||
update_time: 2025-11-10 18:39:03+08:00
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
tenant_goods_id: 2792125002321797
|
||||
tenant_id: 2790683160709957
|
||||
supplier_id: 0
|
||||
category_name: 饮料
|
||||
goods_category_id: 2790683528350539
|
||||
goods_second_category_id: 2790683528350540
|
||||
goods_name: 三诺橙汁
|
||||
goods_number: 44
|
||||
unit: 瓶
|
||||
market_price: 18.00
|
||||
goods_state: 1
|
||||
create_time: 2025-07-15 20:36:28+08:00
|
||||
update_time: 2025-11-10 18:39:20+08:00
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
tenant_goods_id: 2792126153330565
|
||||
tenant_id: 2790683160709957
|
||||
supplier_id: 0
|
||||
category_name: 饮料
|
||||
goods_category_id: 2790683528350539
|
||||
goods_second_category_id: 2790683528350540
|
||||
goods_name: 营养快线
|
||||
goods_number: 45
|
||||
unit: 瓶
|
||||
market_price: 8.00
|
||||
goods_state: 1
|
||||
create_time: 2025-07-15 20:37:38+08:00
|
||||
update_time: 2025-11-10 18:39:33+08:00
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
tenant_goods_id: 2792126853369733
|
||||
tenant_id: 2790683160709957
|
||||
supplier_id: 0
|
||||
category_name: 饮料
|
||||
goods_category_id: 2790683528350539
|
||||
goods_second_category_id: 2790683528350540
|
||||
goods_name: 东鹏特饮
|
||||
goods_number: 46
|
||||
unit: 瓶
|
||||
market_price: 7.00
|
||||
goods_state: 1
|
||||
create_time: 2025-07-15 20:38:21+08:00
|
||||
update_time: 2025-11-10 18:40:07+08:00
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
tenant_goods_id: 2792128158191493
|
||||
tenant_id: 2790683160709957
|
||||
supplier_id: 0
|
||||
category_name: 饮料
|
||||
goods_category_id: 2790683528350539
|
||||
goods_second_category_id: 2790683528350540
|
||||
goods_name: 农夫山泉苏打水
|
||||
goods_number: 47
|
||||
unit: 瓶
|
||||
market_price: 6.00
|
||||
goods_state: 1
|
||||
create_time: 2025-07-15 20:39:40+08:00
|
||||
update_time: 2025-11-10 18:41:52+08:00
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
tenant_goods_id: 2792128793546629
|
||||
tenant_id: 2790683160709957
|
||||
supplier_id: 0
|
||||
category_name: 饮料
|
||||
goods_category_id: 2790683528350539
|
||||
goods_second_category_id: 2790683528350540
|
||||
goods_name: 椰汁
|
||||
goods_number: 48
|
||||
unit: 瓶
|
||||
market_price: 8.00
|
||||
goods_state: 1
|
||||
create_time: 2025-07-15 20:40:19+08:00
|
||||
update_time: 2025-11-10 18:42:13+08:00
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
tenant_goods_id: 2792129791594373
|
||||
tenant_id: 2790683160709957
|
||||
supplier_id: 0
|
||||
category_name: 饮料
|
||||
goods_category_id: 2790683528350539
|
||||
goods_second_category_id: 2790683528350540
|
||||
goods_name: 芬达
|
||||
goods_number: 49
|
||||
unit: 瓶
|
||||
market_price: 5.00
|
||||
goods_state: 1
|
||||
create_time: 2025-07-15 20:41:20+08:00
|
||||
update_time: 2025-11-10 18:42:31+08:00
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
tenant_goods_id: 2792130734133125
|
||||
tenant_id: 2790683160709957
|
||||
supplier_id: 0
|
||||
category_name: 饮料
|
||||
goods_category_id: 2790683528350539
|
||||
goods_second_category_id: 2790683528350540
|
||||
goods_name: 屈臣氏苏打水
|
||||
goods_number: 50
|
||||
unit: 瓶
|
||||
market_price: 8.00
|
||||
goods_state: 1
|
||||
create_time: 2025-07-15 20:42:18+08:00
|
||||
update_time: 2025-11-10 18:42:50+08:00
|
||||
is_delete: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
446
tmp/table_analysis/dim_tenant_goods_ex.txt
Normal file
446
tmp/table_analysis/dim_tenant_goods_ex.txt
Normal file
@@ -0,0 +1,446 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dim_tenant_goods_ex
|
||||
Primary Key: tenant_goods_id, scd2_start_time
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
tenant_goods_id: bigint | nullable=NO | PK
|
||||
remark_name: character varying(128) | nullable=YES |
|
||||
pinyin_initial: character varying(128) | nullable=YES |
|
||||
goods_cover: character varying(512) | nullable=YES |
|
||||
goods_bar_code: character varying(64) | nullable=YES |
|
||||
commodity_code: character varying(64) | nullable=YES |
|
||||
commodity_code_list: character varying(256) | nullable=YES |
|
||||
min_discount_price: numeric(18,2) | nullable=YES |
|
||||
cost_price: numeric(18,2) | nullable=YES |
|
||||
cost_price_type: integer | nullable=YES |
|
||||
able_discount: integer | nullable=YES |
|
||||
sale_channel: integer | nullable=YES |
|
||||
is_warehousing: integer | nullable=YES |
|
||||
is_in_site: boolean | nullable=YES |
|
||||
able_site_transfer: integer | nullable=YES |
|
||||
common_sale_royalty: integer | nullable=YES |
|
||||
point_sale_royalty: integer | nullable=YES |
|
||||
out_goods_id: bigint | nullable=YES |
|
||||
scd2_start_time: timestamp with time zone | nullable=NO | PK
|
||||
scd2_end_time: timestamp with time zone | nullable=YES |
|
||||
scd2_is_current: integer | nullable=YES |
|
||||
scd2_version: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
tenant_goods_id:
|
||||
Total: 171, Non-null: 171, Distinct: 171
|
||||
Top values:
|
||||
2792037812375429: 1
|
||||
2792038476746629: 1
|
||||
2792039804047237: 1
|
||||
2792044495523717: 1
|
||||
2792045494685573: 1
|
||||
2792056126328709: 1
|
||||
2792067181399941: 1
|
||||
2792070008164229: 1
|
||||
2792072218644357: 1
|
||||
2792077012225925: 1
|
||||
2792079352434565: 1
|
||||
2792081036562309: 1
|
||||
2792082388782981: 1
|
||||
2792083824283525: 1
|
||||
2792091011796869: 1
|
||||
|
||||
remark_name:
|
||||
Total: 171, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
pinyin_initial:
|
||||
Total: 171, Non-null: 171, Distinct: 170
|
||||
Top values:
|
||||
YD: 2
|
||||
KLN: 1
|
||||
HCTX·: 1
|
||||
PTPK: 1
|
||||
KY,KL: 1
|
||||
50JQBL,50GQBL: 1
|
||||
KAD: 1
|
||||
PTCW: 1
|
||||
HSNRM,GSNRM: 1
|
||||
RYX: 1
|
||||
YDF: 1
|
||||
DFSY,DFSX: 1
|
||||
GXFJZJ: 1
|
||||
XLYP: 1
|
||||
SZSSKXG: 1
|
||||
|
||||
goods_cover:
|
||||
Total: 171, Non-null: 171, Distinct: 130
|
||||
Top values:
|
||||
https://oss.ficoo.vip/admin/RWW8bM_1710125368666.jpg: 42
|
||||
https://oss.ficoo.vip/admin/GrDjXJ_1753204736744.jpg: 1
|
||||
https://oss.ficoo.vip/goods/501755142741105/175514274110534.jpg: 1
|
||||
https://oss.ficoo.vip/admin/nrDNCp_1765624656359.jpg: 1
|
||||
https://oss.ficoo.vip/admin/xHtt7E_1753203727919.jpg: 1
|
||||
https://oss.ficoo.vip/admin/yx3b8S_1753175562197.jpg: 1
|
||||
https://oss.ficoo.vip/admin/hWtAkK_1753175530886.jpg: 1
|
||||
https://oss.ficoo.vip/admin/21d4Y5_1754818991675.jpg: 1
|
||||
https://oss.ficoo.vip/admin/yzYj5B_1753203473330.jpg: 1
|
||||
https://oss.ficoo.vip/admin/YXR86w_1753203657997.jpg: 1
|
||||
https://oss.ficoo.vip/admin/5P1HjW_1753175040708.jpg: 1
|
||||
https://oss.ficoo.vip/admin/QC6hTw_1754818957205.jpg: 1
|
||||
https://oss.ficoo.vip/admin/nBPPG4_1753203441531.jpg: 1
|
||||
https://oss.ficoo.vip/admin/75yN2R_1721196107928.jpg: 1
|
||||
https://oss.ficoo.vip/admin/17r1dP_1721196142478.jpg: 1
|
||||
|
||||
goods_bar_code:
|
||||
Total: 171, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
commodity_code:
|
||||
Total: 171, Non-null: 171, Distinct: 131
|
||||
Top values:
|
||||
10000: 35
|
||||
100000: 7
|
||||
1000088: 1
|
||||
1000013: 1
|
||||
1234520: 1
|
||||
1234536: 1
|
||||
1000065: 1
|
||||
1234554: 1
|
||||
1234572: 1
|
||||
1234549: 1
|
||||
120000000: 1
|
||||
10000000: 1
|
||||
100008: 1
|
||||
1234560: 1
|
||||
10000019: 1
|
||||
|
||||
commodity_code_list:
|
||||
Total: 171, Non-null: 171, Distinct: 131
|
||||
Top values:
|
||||
10000: 35
|
||||
100000: 7
|
||||
1000088: 1
|
||||
1000013: 1
|
||||
1234520: 1
|
||||
1234536: 1
|
||||
1000065: 1
|
||||
1234554: 1
|
||||
1234572: 1
|
||||
1234549: 1
|
||||
120000000: 1
|
||||
10000000: 1
|
||||
100008: 1
|
||||
1234560: 1
|
||||
10000019: 1
|
||||
|
||||
cost_price_type:
|
||||
Total: 171, Non-null: 171, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 160
|
||||
2: 11
|
||||
|
||||
able_discount:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 171
|
||||
|
||||
sale_channel:
|
||||
Total: 171, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
is_warehousing:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 171
|
||||
|
||||
is_in_site:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 171
|
||||
|
||||
able_site_transfer:
|
||||
Total: 171, Non-null: 171, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 170
|
||||
0: 1
|
||||
|
||||
common_sale_royalty:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 171
|
||||
|
||||
point_sale_royalty:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 171
|
||||
|
||||
out_goods_id:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 171
|
||||
|
||||
scd2_is_current:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 171
|
||||
|
||||
scd2_version:
|
||||
Total: 171, Non-null: 171, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 171
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['tenant_goods_id', 'remark_name', 'pinyin_initial', 'goods_cover', 'goods_bar_code', 'commodity_code', 'commodity_code_list', 'min_discount_price', 'cost_price', 'cost_price_type', 'able_discount', 'sale_channel', 'is_warehousing', 'is_in_site', 'able_site_transfer', 'common_sale_royalty', 'point_sale_royalty', 'out_goods_id', 'scd2_start_time', 'scd2_end_time', 'scd2_is_current', 'scd2_version']
|
||||
|
||||
Row 1:
|
||||
tenant_goods_id: 2792139566649221
|
||||
remark_name: NULL
|
||||
pinyin_initial: ASM,ESM
|
||||
goods_cover: https://oss.ficoo.vip/admin/JSFCjn_1753175365140.jpg
|
||||
goods_bar_code: NULL
|
||||
commodity_code: 1234527
|
||||
commodity_code_list: 1234527
|
||||
min_discount_price: 0.00
|
||||
cost_price: 0.00
|
||||
cost_price_type: 1
|
||||
able_discount: 1
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
is_in_site: False
|
||||
able_site_transfer: 2
|
||||
common_sale_royalty: 0
|
||||
point_sale_royalty: 0
|
||||
out_goods_id: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 2:
|
||||
tenant_goods_id: 2792140384243589
|
||||
remark_name: NULL
|
||||
pinyin_initial: WLJ
|
||||
goods_cover: https://oss.ficoo.vip/admin/hWtAkK_1753175530886.jpg
|
||||
goods_bar_code: NULL
|
||||
commodity_code: 1234528
|
||||
commodity_code_list: 1234528
|
||||
min_discount_price: 0.00
|
||||
cost_price: 0.00
|
||||
cost_price_type: 1
|
||||
able_discount: 1
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
is_in_site: False
|
||||
able_site_transfer: 2
|
||||
common_sale_royalty: 0
|
||||
point_sale_royalty: 0
|
||||
out_goods_id: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 3:
|
||||
tenant_goods_id: 2792141587451781
|
||||
remark_name: NULL
|
||||
pinyin_initial: LC
|
||||
goods_cover: https://oss.ficoo.vip/admin/DhTxrF_1753175546868.jpg
|
||||
goods_bar_code: NULL
|
||||
commodity_code: 1234529
|
||||
commodity_code_list: 1234529
|
||||
min_discount_price: 0.00
|
||||
cost_price: 0.00
|
||||
cost_price_type: 1
|
||||
able_discount: 1
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
is_in_site: False
|
||||
able_site_transfer: 2
|
||||
common_sale_royalty: 0
|
||||
point_sale_royalty: 0
|
||||
out_goods_id: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 4:
|
||||
tenant_goods_id: 2792142450249605
|
||||
remark_name: NULL
|
||||
pinyin_initial: HN,GN
|
||||
goods_cover: https://oss.ficoo.vip/admin/yx3b8S_1753175562197.jpg
|
||||
goods_bar_code: NULL
|
||||
commodity_code: 1000010
|
||||
commodity_code_list: 1000010
|
||||
min_discount_price: 0.00
|
||||
cost_price: 0.00
|
||||
cost_price_type: 1
|
||||
able_discount: 1
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
is_in_site: False
|
||||
able_site_transfer: 2
|
||||
common_sale_royalty: 0
|
||||
point_sale_royalty: 0
|
||||
out_goods_id: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 5:
|
||||
tenant_goods_id: 2792143182647173
|
||||
remark_name: NULL
|
||||
pinyin_initial: WZNN
|
||||
goods_cover: https://oss.ficoo.vip/admin/6E8k66_1753174928971.jpg
|
||||
goods_bar_code: NULL
|
||||
commodity_code: 1234530
|
||||
commodity_code_list: 1234530
|
||||
min_discount_price: 0.00
|
||||
cost_price: 0.00
|
||||
cost_price_type: 1
|
||||
able_discount: 1
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
is_in_site: False
|
||||
able_site_transfer: 2
|
||||
common_sale_royalty: 0
|
||||
point_sale_royalty: 0
|
||||
out_goods_id: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 6:
|
||||
tenant_goods_id: 2792148060360581
|
||||
remark_name: NULL
|
||||
pinyin_initial: BHC,BGC
|
||||
goods_cover: https://oss.ficoo.vip/admin/f3b7e2_1753175389541.jpg
|
||||
goods_bar_code: NULL
|
||||
commodity_code: 1234531
|
||||
commodity_code_list: 1234531
|
||||
min_discount_price: 0.00
|
||||
cost_price: 0.00
|
||||
cost_price_type: 1
|
||||
able_discount: 1
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
is_in_site: False
|
||||
able_site_transfer: 2
|
||||
common_sale_royalty: 0
|
||||
point_sale_royalty: 0
|
||||
out_goods_id: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 7:
|
||||
tenant_goods_id: 2792149415268229
|
||||
remark_name: NULL
|
||||
pinyin_initial: SDL
|
||||
goods_cover: https://oss.ficoo.vip/admin/BKaiCy_1753174915653.jpg
|
||||
goods_bar_code: NULL
|
||||
commodity_code: 1234532
|
||||
commodity_code_list: 1234532
|
||||
min_discount_price: 0.00
|
||||
cost_price: 0.00
|
||||
cost_price_type: 1
|
||||
able_discount: 1
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
is_in_site: False
|
||||
able_site_transfer: 2
|
||||
common_sale_royalty: 0
|
||||
point_sale_royalty: 0
|
||||
out_goods_id: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 8:
|
||||
tenant_goods_id: 2792151077867397
|
||||
remark_name: NULL
|
||||
pinyin_initial: QS,KS
|
||||
goods_cover: https://oss.ficoo.vip/admin/yHGjQk_1753175402324.jpg
|
||||
goods_bar_code: NULL
|
||||
commodity_code: 1234533
|
||||
commodity_code_list: 1234533
|
||||
min_discount_price: 0.00
|
||||
cost_price: 0.00
|
||||
cost_price_type: 1
|
||||
able_discount: 1
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
is_in_site: False
|
||||
able_site_transfer: 2
|
||||
common_sale_royalty: 0
|
||||
point_sale_royalty: 0
|
||||
out_goods_id: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 9:
|
||||
tenant_goods_id: 2792152201432965
|
||||
remark_name: NULL
|
||||
pinyin_initial: YD
|
||||
goods_cover: https://oss.ficoo.vip/admin/kiMwJG_1753195462903.jpg
|
||||
goods_bar_code: NULL
|
||||
commodity_code: 10002
|
||||
commodity_code_list: 10002
|
||||
min_discount_price: 0.00
|
||||
cost_price: 0.00
|
||||
cost_price_type: 1
|
||||
able_discount: 1
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
is_in_site: False
|
||||
able_site_transfer: 2
|
||||
common_sale_royalty: 0
|
||||
point_sale_royalty: 0
|
||||
out_goods_id: 0
|
||||
scd2_start_time: 2025-12-14 21:20:28.731914+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
Row 10:
|
||||
tenant_goods_id: 2792152737648517
|
||||
remark_name: NULL
|
||||
pinyin_initial: HD
|
||||
goods_cover: https://oss.ficoo.vip/admin/RWW8bM_1710125368666.jpg
|
||||
goods_bar_code: NULL
|
||||
commodity_code: 10000
|
||||
commodity_code_list: 10000
|
||||
min_discount_price: 2.00
|
||||
cost_price: 0.00
|
||||
cost_price_type: 1
|
||||
able_discount: 1
|
||||
sale_channel: NULL
|
||||
is_warehousing: 1
|
||||
is_in_site: False
|
||||
able_site_transfer: 2
|
||||
common_sale_royalty: 0
|
||||
point_sale_royalty: 0
|
||||
out_goods_id: 0
|
||||
scd2_start_time: 2025-12-19 05:26:43.399836+08:00
|
||||
scd2_end_time: 9999-12-31 00:00:00+08:00
|
||||
scd2_is_current: 1
|
||||
scd2_version: 1
|
||||
|
||||
746
tmp/table_analysis/dwd_assistant_service_log.txt
Normal file
746
tmp/table_analysis/dwd_assistant_service_log.txt
Normal file
@@ -0,0 +1,746 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_assistant_service_log
|
||||
Primary Key: assistant_service_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
assistant_service_id: bigint | nullable=NO | PK
|
||||
order_trade_no: bigint | nullable=YES |
|
||||
order_settle_id: bigint | nullable=YES |
|
||||
order_pay_id: bigint | nullable=YES |
|
||||
order_assistant_id: bigint | nullable=YES |
|
||||
order_assistant_type: integer | nullable=YES |
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
site_table_id: bigint | nullable=YES |
|
||||
tenant_member_id: bigint | nullable=YES |
|
||||
system_member_id: bigint | nullable=YES |
|
||||
assistant_no: character varying(64) | nullable=YES |
|
||||
nickname: character varying(64) | nullable=YES |
|
||||
site_assistant_id: bigint | nullable=YES |
|
||||
user_id: bigint | nullable=YES |
|
||||
assistant_team_id: bigint | nullable=YES |
|
||||
person_org_id: bigint | nullable=YES |
|
||||
assistant_level: integer | nullable=YES |
|
||||
level_name: character varying(64) | nullable=YES |
|
||||
skill_id: bigint | nullable=YES |
|
||||
skill_name: character varying(64) | nullable=YES |
|
||||
ledger_unit_price: numeric(10,2) | nullable=YES |
|
||||
ledger_amount: numeric(10,2) | nullable=YES |
|
||||
projected_income: numeric(10,2) | nullable=YES |
|
||||
coupon_deduct_money: numeric(10,2) | nullable=YES |
|
||||
income_seconds: integer | nullable=YES |
|
||||
real_use_seconds: integer | nullable=YES |
|
||||
add_clock: integer | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
start_use_time: timestamp with time zone | nullable=YES |
|
||||
last_use_time: timestamp with time zone | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
assistant_service_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 5003
|
||||
Top values:
|
||||
3032992041225285: 1
|
||||
2807763140514565: 1
|
||||
2813495350102213: 1
|
||||
2970598340873413: 1
|
||||
2886802749753733: 1
|
||||
2997570454391301: 1
|
||||
2945303654697029: 1
|
||||
3051266277197509: 1
|
||||
3045664751453957: 1
|
||||
2945022155688069: 1
|
||||
2800772218849349: 1
|
||||
3063091679972997: 1
|
||||
3001775585283077: 1
|
||||
2820758378661957: 1
|
||||
2807425539770053: 1
|
||||
|
||||
order_trade_no:
|
||||
Total: 5003, Non-null: 5003, Distinct: 3658
|
||||
Top values:
|
||||
2861729359482757: 10
|
||||
2940718915358789: 9
|
||||
2950627610183941: 8
|
||||
2944889401395269: 8
|
||||
2984638433856133: 7
|
||||
2934966547269189: 7
|
||||
3000355202664837: 7
|
||||
2956250939576198: 6
|
||||
2874168570629765: 6
|
||||
2844591543274501: 6
|
||||
2997535222647173: 6
|
||||
2809175128066501: 6
|
||||
2906718015440517: 6
|
||||
2954869758986437: 6
|
||||
2974729399292741: 6
|
||||
|
||||
order_settle_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 3394
|
||||
Top values:
|
||||
2990834049419973: 12
|
||||
2861795646623493: 12
|
||||
2954937563646022: 9
|
||||
2969416781466821: 9
|
||||
2941370754092997: 9
|
||||
3046093693290245: 9
|
||||
3029225997715461: 8
|
||||
2922802873075141: 8
|
||||
2945530267174853: 8
|
||||
3050243203696325: 8
|
||||
2916522068413189: 8
|
||||
2907420664120965: 8
|
||||
2842013991014021: 8
|
||||
3000523189570053: 7
|
||||
2955208362444933: 7
|
||||
|
||||
order_pay_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
order_assistant_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 4999
|
||||
Top values:
|
||||
3057189656331973: 2
|
||||
3056740354852677: 2
|
||||
3056793880594245: 2
|
||||
3056793940723461: 2
|
||||
2825243313294597: 1
|
||||
2827416753818757: 1
|
||||
3063912935885637: 1
|
||||
2929727154587397: 1
|
||||
2898236580448581: 1
|
||||
2996161973850373: 1
|
||||
2994599470108933: 1
|
||||
2847451211418693: 1
|
||||
2877004536514501: 1
|
||||
2933668975478469: 1
|
||||
2998576256633221: 1
|
||||
|
||||
order_assistant_type:
|
||||
Total: 5003, Non-null: 5003, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 4402
|
||||
2: 601
|
||||
|
||||
tenant_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 5003
|
||||
|
||||
site_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 5003
|
||||
|
||||
site_table_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 74
|
||||
Top values:
|
||||
0: 502
|
||||
2793022145302597: 347
|
||||
2793022937911365: 278
|
||||
2793018776735877: 241
|
||||
2793020955840645: 218
|
||||
2793016660660357: 208
|
||||
2793018776604805: 189
|
||||
2793020259897413: 186
|
||||
2793023960551493: 163
|
||||
2791964216463493: 136
|
||||
2793023960682565: 116
|
||||
2956248279567557: 113
|
||||
2793018776703109: 105
|
||||
2793023960633413: 98
|
||||
2793021451292741: 89
|
||||
|
||||
tenant_member_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 111
|
||||
Top values:
|
||||
0: 2530
|
||||
2799207522600709: 369
|
||||
2799207363643141: 253
|
||||
2799207406946053: 210
|
||||
2799207359858437: 193
|
||||
2799207124305669: 136
|
||||
2799212491392773: 133
|
||||
2820625955784965: 108
|
||||
2799209806071557: 64
|
||||
2969257129938053: 62
|
||||
2799212430657285: 56
|
||||
2799207519176453: 53
|
||||
2799207342704389: 44
|
||||
2799207290996485: 33
|
||||
2980065690831173: 33
|
||||
|
||||
system_member_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 111
|
||||
Top values:
|
||||
0: 2530
|
||||
2799207521568517: 369
|
||||
2485293902352645: 253
|
||||
2799207405995781: 210
|
||||
2799207358777093: 193
|
||||
2799207123224325: 136
|
||||
2799212490426117: 133
|
||||
2820625954179333: 108
|
||||
2799209804416773: 64
|
||||
2644610908900421: 62
|
||||
2799212429444869: 56
|
||||
2799207518095109: 53
|
||||
2799207341557509: 44
|
||||
2980065689078085: 33
|
||||
2799207289947909: 33
|
||||
|
||||
assistant_no:
|
||||
Total: 5003, Non-null: 5003, Distinct: 40
|
||||
Top values:
|
||||
2: 437
|
||||
9: 330
|
||||
23: 323
|
||||
15: 319
|
||||
4: 296
|
||||
1: 279
|
||||
6: 265
|
||||
13: 254
|
||||
18: 249
|
||||
52: 215
|
||||
20: 205
|
||||
11: 204
|
||||
16: 200
|
||||
8: 195
|
||||
37: 160
|
||||
|
||||
nickname:
|
||||
Total: 5003, Non-null: 5003, Distinct: 61
|
||||
Top values:
|
||||
佳怡: 437
|
||||
婉婉: 323
|
||||
七七: 319
|
||||
球球: 298
|
||||
璇子: 296
|
||||
乔西: 265
|
||||
小燕: 264
|
||||
涛涛: 249
|
||||
小柔: 215
|
||||
苏苏: 205
|
||||
小敌: 184
|
||||
周周: 169
|
||||
阿清: 160
|
||||
千千: 159
|
||||
年糕: 142
|
||||
|
||||
site_assistant_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 4999
|
||||
Top values:
|
||||
3057189656331973: 2
|
||||
3056740354852677: 2
|
||||
3056793880594245: 2
|
||||
3056793940723461: 2
|
||||
2825243313294597: 1
|
||||
2827416753818757: 1
|
||||
3063912935885637: 1
|
||||
2929727154587397: 1
|
||||
2898236580448581: 1
|
||||
2996161973850373: 1
|
||||
2994599470108933: 1
|
||||
2847451211418693: 1
|
||||
2877004536514501: 1
|
||||
2933668975478469: 1
|
||||
2998576256633221: 1
|
||||
|
||||
user_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 61
|
||||
Top values:
|
||||
2793530479054917: 437
|
||||
2808873057388613: 323
|
||||
2793493698596997: 319
|
||||
2840060593211077: 298
|
||||
2793532503380037: 296
|
||||
2793363001282629: 265
|
||||
2643377426450373: 264
|
||||
2793486361251973: 249
|
||||
2799135414717509: 215
|
||||
2793489356181637: 205
|
||||
2793526116438085: 184
|
||||
2920786463868677: 169
|
||||
2964641017334597: 160
|
||||
2964640248253637: 159
|
||||
2861304460905541: 142
|
||||
|
||||
assistant_team_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2792011585884037: 3848
|
||||
2959085810992645: 1155
|
||||
|
||||
person_org_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 62
|
||||
Top values:
|
||||
2793530479431749: 437
|
||||
2808873057765445: 323
|
||||
2793493698990213: 319
|
||||
2840060593587909: 298
|
||||
2793532503756869: 296
|
||||
2793363001675845: 265
|
||||
2964673443203909: 264
|
||||
2793486361612421: 249
|
||||
2799135415094341: 215
|
||||
2793489356574853: 205
|
||||
2793526116798533: 184
|
||||
2920786464212741: 169
|
||||
2964641017760581: 160
|
||||
2964640248630469: 159
|
||||
2861304461265989: 142
|
||||
|
||||
assistant_level:
|
||||
Total: 5003, Non-null: 5003, Distinct: 5
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
20: 2429
|
||||
10: 1610
|
||||
40: 482
|
||||
30: 414
|
||||
8: 68
|
||||
|
||||
level_name:
|
||||
Total: 5003, Non-null: 5003, Distinct: 5
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
中级: 2429
|
||||
初级: 1610
|
||||
星级: 482
|
||||
高级: 414
|
||||
助教管理: 68
|
||||
|
||||
skill_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683529513797: 4369
|
||||
2790683529513798: 601
|
||||
3039912271463941: 33
|
||||
|
||||
skill_name:
|
||||
Total: 5003, Non-null: 3379, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
基础课: 2993
|
||||
附加课: 353
|
||||
包厢课: 33
|
||||
|
||||
income_seconds:
|
||||
Total: 5003, Non-null: 5003, Distinct: 514
|
||||
Top values:
|
||||
3600: 270
|
||||
7200: 174
|
||||
10800: 162
|
||||
7140: 109
|
||||
14400: 94
|
||||
3540: 81
|
||||
0: 79
|
||||
3480: 38
|
||||
3300: 34
|
||||
6300: 27
|
||||
2700: 26
|
||||
4560: 26
|
||||
10740: 26
|
||||
7080: 25
|
||||
6900: 24
|
||||
|
||||
real_use_seconds:
|
||||
Total: 5003, Non-null: 5003, Distinct: 3676
|
||||
Top values:
|
||||
0: 680
|
||||
3594: 10
|
||||
3600: 10
|
||||
7195: 9
|
||||
3601: 8
|
||||
7190: 8
|
||||
7193: 8
|
||||
7194: 8
|
||||
3592: 7
|
||||
3603: 7
|
||||
7200: 6
|
||||
7196: 6
|
||||
3593: 6
|
||||
3595: 6
|
||||
3588: 5
|
||||
|
||||
add_clock:
|
||||
Total: 5003, Non-null: 5003, Distinct: 60
|
||||
Top values:
|
||||
0: 4860
|
||||
600: 17
|
||||
3600: 8
|
||||
1200: 7
|
||||
1500: 6
|
||||
900: 6
|
||||
10800: 5
|
||||
300: 5
|
||||
180: 5
|
||||
7200: 4
|
||||
1800: 4
|
||||
120: 3
|
||||
240: 3
|
||||
2640: 3
|
||||
2700: 3
|
||||
|
||||
is_delete:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['assistant_service_id', 'order_trade_no', 'order_settle_id', 'order_pay_id', 'order_assistant_id', 'order_assistant_type', 'tenant_id', 'site_id', 'site_table_id', 'tenant_member_id', 'system_member_id', 'assistant_no', 'nickname', 'site_assistant_id', 'user_id', 'assistant_team_id', 'person_org_id', 'assistant_level', 'level_name', 'skill_id', 'skill_name', 'ledger_unit_price', 'ledger_amount', 'projected_income', 'coupon_deduct_money', 'income_seconds', 'real_use_seconds', 'add_clock', 'create_time', 'start_use_time', 'last_use_time', 'is_delete']
|
||||
|
||||
Row 1:
|
||||
assistant_service_id: 2957913441292165
|
||||
order_trade_no: 2957784612605829
|
||||
order_settle_id: 2957913171693253
|
||||
order_pay_id: 0
|
||||
order_assistant_id: 2957788717240005
|
||||
order_assistant_type: 1
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793020259897413
|
||||
tenant_member_id: 0
|
||||
system_member_id: 0
|
||||
assistant_no: 27
|
||||
nickname: 泡芙
|
||||
site_assistant_id: 2957788717240005
|
||||
user_id: 2946266868976453
|
||||
assistant_team_id: 2792011585884037
|
||||
person_org_id: 2946266869336901
|
||||
assistant_level: 10
|
||||
level_name: 初级
|
||||
skill_id: 2790683529513797
|
||||
skill_name: 基础课
|
||||
ledger_unit_price: 98.00
|
||||
ledger_amount: 206.67
|
||||
projected_income: 168.00
|
||||
coupon_deduct_money: 0.00
|
||||
income_seconds: 7560
|
||||
real_use_seconds: 7592
|
||||
add_clock: 0
|
||||
create_time: 2025-11-09 23:25:11+08:00
|
||||
start_use_time: 2025-11-09 21:18:18+08:00
|
||||
last_use_time: 2025-11-09 23:24:50+08:00
|
||||
is_delete: 0
|
||||
|
||||
Row 2:
|
||||
assistant_service_id: 2957902859292485
|
||||
order_trade_no: 2957733026106885
|
||||
order_settle_id: 2957900926045701
|
||||
order_pay_id: 0
|
||||
order_assistant_id: 2957782511161221
|
||||
order_assistant_type: 1
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793012902154373
|
||||
tenant_member_id: 0
|
||||
system_member_id: 0
|
||||
assistant_no: 3
|
||||
nickname: 素素
|
||||
site_assistant_id: 2957782511161221
|
||||
user_id: 2861303933095045
|
||||
assistant_team_id: 2792011585884037
|
||||
person_org_id: 2861303933471877
|
||||
assistant_level: 10
|
||||
level_name: 初级
|
||||
skill_id: 2790683529513797
|
||||
skill_name: 基础课
|
||||
ledger_unit_price: 98.00
|
||||
ledger_amount: 194.99
|
||||
projected_income: 158.67
|
||||
coupon_deduct_money: 0.00
|
||||
income_seconds: 7140
|
||||
real_use_seconds: 7163
|
||||
add_clock: 0
|
||||
create_time: 2025-11-09 23:14:25+08:00
|
||||
start_use_time: 2025-11-09 21:11:59+08:00
|
||||
last_use_time: 2025-11-09 23:12:26+08:00
|
||||
is_delete: 0
|
||||
|
||||
Row 3:
|
||||
assistant_service_id: 2957853948464645
|
||||
order_trade_no: 2957728112840581
|
||||
order_settle_id: 2957853635792773
|
||||
order_pay_id: 0
|
||||
order_assistant_id: 2957796885352261
|
||||
order_assistant_type: 1
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793012902367365
|
||||
tenant_member_id: 0
|
||||
system_member_id: 0
|
||||
assistant_no: 23
|
||||
nickname: 婉婉
|
||||
site_assistant_id: 2957796885352261
|
||||
user_id: 2808873057388613
|
||||
assistant_team_id: 2792011585884037
|
||||
person_org_id: 2808873057765445
|
||||
assistant_level: 10
|
||||
level_name: 初级
|
||||
skill_id: 2790683529513797
|
||||
skill_name: 基础课
|
||||
ledger_unit_price: 98.00
|
||||
ledger_amount: 98.08
|
||||
projected_income: 80.00
|
||||
coupon_deduct_money: 0.00
|
||||
income_seconds: 3600
|
||||
real_use_seconds: 3603
|
||||
add_clock: 600
|
||||
create_time: 2025-11-09 22:24:40+08:00
|
||||
start_use_time: 2025-11-09 21:26:36+08:00
|
||||
last_use_time: 2025-11-09 22:16:39+08:00
|
||||
is_delete: 0
|
||||
|
||||
Row 4:
|
||||
assistant_service_id: 2957814222769989
|
||||
order_trade_no: 2957792593448837
|
||||
order_settle_id: 2957813956382533
|
||||
order_pay_id: 0
|
||||
order_assistant_id: 2957757930852165
|
||||
order_assistant_type: 1
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793016660660357
|
||||
tenant_member_id: 2799207124305669
|
||||
system_member_id: 2799207123224325
|
||||
assistant_no: 9
|
||||
nickname: 球球
|
||||
site_assistant_id: 2957757930852165
|
||||
user_id: 2840060593211077
|
||||
assistant_team_id: 2792011585884037
|
||||
person_org_id: 2840060593587909
|
||||
assistant_level: 10
|
||||
level_name: 初级
|
||||
skill_id: 2790683529513797
|
||||
skill_name: 基础课
|
||||
ledger_unit_price: 98.00
|
||||
ledger_amount: 92.45
|
||||
projected_income: 74.67
|
||||
coupon_deduct_money: 0.00
|
||||
income_seconds: 3360
|
||||
real_use_seconds: 3396
|
||||
add_clock: 0
|
||||
create_time: 2025-11-09 21:44:15+08:00
|
||||
start_use_time: 2025-11-09 20:46:59+08:00
|
||||
last_use_time: 2025-11-09 21:43:35+08:00
|
||||
is_delete: 0
|
||||
|
||||
Row 5:
|
||||
assistant_service_id: 2957799364398981
|
||||
order_trade_no: 2957798748491653
|
||||
order_settle_id: 2957798751063941
|
||||
order_pay_id: 0
|
||||
order_assistant_id: 2957798749785989
|
||||
order_assistant_type: 2
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 0
|
||||
tenant_member_id: 2799207519176453
|
||||
system_member_id: 2799207518095109
|
||||
assistant_no: 7
|
||||
nickname: 柚子
|
||||
site_assistant_id: 2957798749785989
|
||||
user_id: 2946261384137541
|
||||
assistant_team_id: 2792011585884037
|
||||
person_org_id: 2946261384514373
|
||||
assistant_level: 20
|
||||
level_name: 中级
|
||||
skill_id: 2790683529513798
|
||||
skill_name: 附加课
|
||||
ledger_unit_price: 190.00
|
||||
ledger_amount: 1330.00
|
||||
projected_income: 798.00
|
||||
coupon_deduct_money: 0.00
|
||||
income_seconds: 25200
|
||||
real_use_seconds: 0
|
||||
add_clock: 0
|
||||
create_time: 2025-11-09 21:29:08+08:00
|
||||
start_use_time: 2025-11-09 21:28:31+08:00
|
||||
last_use_time: 2025-11-09 21:28:31+08:00
|
||||
is_delete: 0
|
||||
|
||||
Row 6:
|
||||
assistant_service_id: 2957786383437317
|
||||
order_trade_no: 2957651697635141
|
||||
order_settle_id: 2957786346884805
|
||||
order_pay_id: 0
|
||||
order_assistant_id: 2957651212029637
|
||||
order_assistant_type: 1
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793003806953541
|
||||
tenant_member_id: 0
|
||||
system_member_id: 0
|
||||
assistant_no: 16
|
||||
nickname: 周周
|
||||
site_assistant_id: 2957651212029637
|
||||
user_id: 2920786463868677
|
||||
assistant_team_id: 2792011585884037
|
||||
person_org_id: 2920786464212741
|
||||
assistant_level: 10
|
||||
level_name: 初级
|
||||
skill_id: 2790683529513797
|
||||
skill_name: 基础课
|
||||
ledger_unit_price: 98.00
|
||||
ledger_amount: 197.22
|
||||
projected_income: 160.00
|
||||
coupon_deduct_money: 0.00
|
||||
income_seconds: 7200
|
||||
real_use_seconds: 7245
|
||||
add_clock: 0
|
||||
create_time: 2025-11-09 21:15:56+08:00
|
||||
start_use_time: 2025-11-09 18:58:25+08:00
|
||||
last_use_time: 2025-11-09 20:59:20+08:00
|
||||
is_delete: 0
|
||||
|
||||
Row 7:
|
||||
assistant_service_id: 2957766039736005
|
||||
order_trade_no: 2957633522503173
|
||||
order_settle_id: 2957765945708229
|
||||
order_pay_id: 0
|
||||
order_assistant_id: 2957634005782213
|
||||
order_assistant_type: 1
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793017278632069
|
||||
tenant_member_id: 2799207406946053
|
||||
system_member_id: 2799207405995781
|
||||
assistant_no: 15
|
||||
nickname: 七七
|
||||
site_assistant_id: 2957634005782213
|
||||
user_id: 2793493698596997
|
||||
assistant_team_id: 2792011585884037
|
||||
person_org_id: 2793493698990213
|
||||
assistant_level: 20
|
||||
level_name: 中级
|
||||
skill_id: 2790683529513797
|
||||
skill_name: 基础课
|
||||
ledger_unit_price: 108.00
|
||||
ledger_amount: 240.51
|
||||
projected_income: 199.50
|
||||
coupon_deduct_money: 0.00
|
||||
income_seconds: 7980
|
||||
real_use_seconds: 8017
|
||||
add_clock: 0
|
||||
create_time: 2025-11-09 20:55:14+08:00
|
||||
start_use_time: 2025-11-09 18:40:55+08:00
|
||||
last_use_time: 2025-11-09 20:54:32+08:00
|
||||
is_delete: 0
|
||||
|
||||
Row 8:
|
||||
assistant_service_id: 2957747806555973
|
||||
order_trade_no: 2957747050778437
|
||||
order_settle_id: 2957747570364229
|
||||
order_pay_id: 0
|
||||
order_assistant_id: 2957632142364357
|
||||
order_assistant_type: 1
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2791964216463493
|
||||
tenant_member_id: 2955204541320325
|
||||
system_member_id: 2955204540009605
|
||||
assistant_no: 18
|
||||
nickname: 涛涛
|
||||
site_assistant_id: 2957632142364357
|
||||
user_id: 2793486361251973
|
||||
assistant_team_id: 2792011585884037
|
||||
person_org_id: 2793486361612421
|
||||
assistant_level: 20
|
||||
level_name: 中级
|
||||
skill_id: 2790683529513797
|
||||
skill_name: 基础课
|
||||
ledger_unit_price: 108.00
|
||||
ledger_amount: 206.82
|
||||
projected_income: 171.00
|
||||
coupon_deduct_money: 0.00
|
||||
income_seconds: 6840
|
||||
real_use_seconds: 6894
|
||||
add_clock: 0
|
||||
create_time: 2025-11-09 20:36:41+08:00
|
||||
start_use_time: 2025-11-09 18:39:01+08:00
|
||||
last_use_time: 2025-11-09 20:33:55+08:00
|
||||
is_delete: 0
|
||||
|
||||
Row 9:
|
||||
assistant_service_id: 2957675849895621
|
||||
order_trade_no: 2957576702300037
|
||||
order_settle_id: 2957675763060549
|
||||
order_pay_id: 0
|
||||
order_assistant_id: 2957580484988421
|
||||
order_assistant_type: 1
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793016660660357
|
||||
tenant_member_id: 2799207124305669
|
||||
system_member_id: 2799207123224325
|
||||
assistant_no: 17
|
||||
nickname: 奈千
|
||||
site_assistant_id: 2957580484988421
|
||||
user_id: 2841614135215621
|
||||
assistant_team_id: 2792011585884037
|
||||
person_org_id: 2841614135608837
|
||||
assistant_level: 20
|
||||
level_name: 中级
|
||||
skill_id: 2790683529513797
|
||||
skill_name: 基础课
|
||||
ledger_unit_price: 108.00
|
||||
ledger_amount: 180.78
|
||||
projected_income: 150.00
|
||||
coupon_deduct_money: 0.00
|
||||
income_seconds: 6000
|
||||
real_use_seconds: 6026
|
||||
add_clock: 240
|
||||
create_time: 2025-11-09 19:23:29+08:00
|
||||
start_use_time: 2025-11-09 17:46:28+08:00
|
||||
last_use_time: 2025-11-09 19:22:54+08:00
|
||||
is_delete: 0
|
||||
|
||||
Row 10:
|
||||
assistant_service_id: 2957620516851397
|
||||
order_trade_no: 2957496003612357
|
||||
order_settle_id: 2957620447858501
|
||||
order_pay_id: 0
|
||||
order_assistant_id: 2957498600492549
|
||||
order_assistant_type: 1
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793012902285445
|
||||
tenant_member_id: 2799207363643141
|
||||
system_member_id: 2485293902352645
|
||||
assistant_no: 16
|
||||
nickname: 周周
|
||||
site_assistant_id: 2957498600492549
|
||||
user_id: 2920786463868677
|
||||
assistant_team_id: 2792011585884037
|
||||
person_org_id: 2920786464212741
|
||||
assistant_level: 10
|
||||
level_name: 初级
|
||||
skill_id: 2790683529513797
|
||||
skill_name: 基础课
|
||||
ledger_unit_price: 98.00
|
||||
ledger_amount: 191.67
|
||||
projected_income: 156.00
|
||||
coupon_deduct_money: 0.00
|
||||
income_seconds: 7020
|
||||
real_use_seconds: 7041
|
||||
add_clock: 0
|
||||
create_time: 2025-11-09 18:27:12+08:00
|
||||
start_use_time: 2025-11-09 16:23:11+08:00
|
||||
last_use_time: 2025-11-09 18:20:32+08:00
|
||||
is_delete: 0
|
||||
|
||||
234
tmp/table_analysis/dwd_assistant_service_log_ex.txt
Normal file
234
tmp/table_analysis/dwd_assistant_service_log_ex.txt
Normal file
@@ -0,0 +1,234 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_assistant_service_log_ex
|
||||
Primary Key: assistant_service_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
assistant_service_id: bigint | nullable=NO | PK
|
||||
table_name: character varying(64) | nullable=YES |
|
||||
assistant_name: character varying(64) | nullable=YES |
|
||||
ledger_name: character varying(128) | nullable=YES |
|
||||
ledger_group_name: character varying(128) | nullable=YES |
|
||||
ledger_count: integer | nullable=YES |
|
||||
member_discount_amount: numeric(10,2) | nullable=YES |
|
||||
manual_discount_amount: numeric(10,2) | nullable=YES |
|
||||
service_money: numeric(10,2) | nullable=YES |
|
||||
returns_clock: integer | nullable=YES |
|
||||
ledger_start_time: timestamp with time zone | nullable=YES |
|
||||
ledger_end_time: timestamp with time zone | nullable=YES |
|
||||
ledger_status: integer | nullable=YES |
|
||||
is_confirm: integer | nullable=YES |
|
||||
is_single_order: integer | nullable=YES |
|
||||
is_not_responding: integer | nullable=YES |
|
||||
is_trash: integer | nullable=YES |
|
||||
trash_applicant_id: bigint | nullable=YES |
|
||||
trash_applicant_name: character varying(64) | nullable=YES |
|
||||
trash_reason: character varying(255) | nullable=YES |
|
||||
salesman_user_id: bigint | nullable=YES |
|
||||
salesman_name: character varying(64) | nullable=YES |
|
||||
salesman_org_id: bigint | nullable=YES |
|
||||
skill_grade: integer | nullable=YES |
|
||||
service_grade: integer | nullable=YES |
|
||||
composite_grade: numeric(5,2) | nullable=YES |
|
||||
sum_grade: numeric(10,2) | nullable=YES |
|
||||
get_grade_times: integer | nullable=YES |
|
||||
grade_status: integer | nullable=YES |
|
||||
composite_grade_time: timestamp with time zone | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
assistant_service_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 5003
|
||||
Top values:
|
||||
3032992041225285: 1
|
||||
2807763140514565: 1
|
||||
2813495350102213: 1
|
||||
2970598340873413: 1
|
||||
2886802749753733: 1
|
||||
2997570454391301: 1
|
||||
2945303654697029: 1
|
||||
3051266277197509: 1
|
||||
3045664751453957: 1
|
||||
2945022155688069: 1
|
||||
2800772218849349: 1
|
||||
3063091679972997: 1
|
||||
3001775585283077: 1
|
||||
2820758378661957: 1
|
||||
2807425539770053: 1
|
||||
|
||||
table_name:
|
||||
Total: 5003, Non-null: 4501, Distinct: 73
|
||||
Top values:
|
||||
888: 347
|
||||
TV: 278
|
||||
VIP5: 241
|
||||
666: 218
|
||||
C1: 208
|
||||
VIP1: 189
|
||||
S1: 186
|
||||
M1: 163
|
||||
A1: 136
|
||||
M4: 116
|
||||
发财: 113
|
||||
VIP3: 105
|
||||
M3: 98
|
||||
董事办: 89
|
||||
M8: 82
|
||||
|
||||
assistant_name:
|
||||
Total: 5003, Non-null: 5003, Distinct: 61
|
||||
Top values:
|
||||
陈嘉怡: 437
|
||||
张永英: 323
|
||||
邹绮: 319
|
||||
胡敏: 298
|
||||
谭璇: 296
|
||||
廖白洁: 265
|
||||
李小燕: 264
|
||||
陈淑涛: 249
|
||||
许雨嘉: 215
|
||||
王红苏: 205
|
||||
张庆: 184
|
||||
周佳怡: 169
|
||||
梁坚锖: 160
|
||||
张芳梅: 159
|
||||
李艳: 142
|
||||
|
||||
ledger_name:
|
||||
Total: 5003, Non-null: 5003, Distinct: 63
|
||||
Top values:
|
||||
2-佳怡: 437
|
||||
23-婉婉: 323
|
||||
15-七七: 319
|
||||
9-球球: 298
|
||||
4-璇子: 296
|
||||
6-乔西: 265
|
||||
1-小燕: 264
|
||||
18-涛涛: 249
|
||||
52-小柔: 215
|
||||
20-苏苏: 205
|
||||
8-小敌: 184
|
||||
16-周周: 169
|
||||
37-阿清: 160
|
||||
11-千千: 159
|
||||
21-年糕: 142
|
||||
|
||||
ledger_group_name:
|
||||
Total: 5003, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
ledger_count:
|
||||
Total: 5003, Non-null: 5003, Distinct: 3713
|
||||
Top values:
|
||||
3600: 219
|
||||
7200: 151
|
||||
10800: 139
|
||||
0: 79
|
||||
14400: 78
|
||||
18000: 15
|
||||
3594: 10
|
||||
7195: 9
|
||||
21600: 8
|
||||
7194: 8
|
||||
7193: 8
|
||||
7190: 8
|
||||
3603: 7
|
||||
36000: 7
|
||||
3601: 7
|
||||
|
||||
returns_clock:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
ledger_status:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 5003
|
||||
|
||||
is_confirm:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 5003
|
||||
|
||||
is_single_order:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 5003
|
||||
|
||||
is_not_responding:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
is_trash:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
trash_applicant_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
trash_applicant_name:
|
||||
Total: 5003, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
trash_reason:
|
||||
Total: 5003, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
salesman_user_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
salesman_name:
|
||||
Total: 5003, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
salesman_org_id:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
skill_grade:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
service_grade:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
get_grade_times:
|
||||
Total: 5003, Non-null: 5003, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 5003
|
||||
|
||||
grade_status:
|
||||
Total: 5003, Non-null: 5003, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 4787
|
||||
0: 216
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
No sample data available.
|
||||
307
tmp/table_analysis/dwd_assistant_trash_event.txt
Normal file
307
tmp/table_analysis/dwd_assistant_trash_event.txt
Normal file
@@ -0,0 +1,307 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_assistant_trash_event
|
||||
Primary Key: assistant_trash_event_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
assistant_trash_event_id: bigint | nullable=NO | PK
|
||||
site_id: bigint | nullable=YES
|
||||
table_id: bigint | nullable=YES
|
||||
table_area_id: bigint | nullable=YES
|
||||
assistant_no: character varying(32) | nullable=YES
|
||||
assistant_name: character varying(64) | nullable=YES
|
||||
charge_minutes_raw: integer | nullable=YES
|
||||
abolish_amount: numeric(18,2) | nullable=YES
|
||||
trash_reason: character varying(255) | nullable=YES
|
||||
create_time: timestamp with time zone | nullable=YES
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
assistant_trash_event_id:
|
||||
Total: 98, Non-null: 98, Distinct: 98
|
||||
Top values:
|
||||
3043026785240965: 1
|
||||
3003160811246469: 1
|
||||
3003233571771077: 1
|
||||
2997598724524613: 1
|
||||
2969416950123717: 1
|
||||
2975809439713221: 1
|
||||
3061771962043973: 1
|
||||
2991820437967429: 1
|
||||
3041480270497669: 1
|
||||
3042622933256072: 1
|
||||
2889961229945221: 1
|
||||
3061771963567685: 1
|
||||
3041480269170565: 1
|
||||
3022560812795909: 1
|
||||
3061771962486341: 1
|
||||
|
||||
site_id:
|
||||
Total: 98, Non-null: 98, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 98
|
||||
|
||||
table_id:
|
||||
Total: 98, Non-null: 98, Distinct: 35
|
||||
Top values:
|
||||
2793022145302597: 14
|
||||
2956248279567557: 8
|
||||
2793016660660357: 7
|
||||
2942056832061125: 6
|
||||
2793002673295493: 4
|
||||
2851642357976581: 4
|
||||
3004536233839429: 4
|
||||
2793017278582917: 3
|
||||
2793020259897413: 3
|
||||
2802282095561797: 3
|
||||
2793017278632069: 3
|
||||
2791964216463493: 3
|
||||
2956247996190021: 3
|
||||
2793023960551493: 3
|
||||
2793023960600645: 3
|
||||
|
||||
table_area_id:
|
||||
Total: 98, Non-null: 98, Distinct: 14
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2791963816579205: 16
|
||||
2791963855982661: 14
|
||||
2791963794329671: 11
|
||||
2956246442462533: 8
|
||||
2791963887030341: 7
|
||||
2791963807682693: 7
|
||||
2802006170324037: 7
|
||||
2791963825803397: 6
|
||||
2942056024575749: 6
|
||||
3004534627601285: 4
|
||||
2791963836207173: 4
|
||||
2956246429994309: 3
|
||||
2791963848527941: 3
|
||||
2791963864273029: 2
|
||||
|
||||
assistant_no:
|
||||
Total: 98, Non-null: 98, Distinct: 22
|
||||
Top values:
|
||||
七七: 15
|
||||
乔西: 10
|
||||
球球: 8
|
||||
璇子: 8
|
||||
千千: 6
|
||||
小侯: 6
|
||||
佳怡: 5
|
||||
婉婉: 5
|
||||
阿清: 5
|
||||
涛涛: 5
|
||||
周周: 4
|
||||
Amy: 4
|
||||
年糕: 3
|
||||
QQ: 2
|
||||
瑶瑶: 2
|
||||
|
||||
assistant_name:
|
||||
Total: 98, Non-null: 98, Distinct: 22
|
||||
Top values:
|
||||
七七: 15
|
||||
乔西: 10
|
||||
球球: 8
|
||||
璇子: 8
|
||||
千千: 6
|
||||
小侯: 6
|
||||
佳怡: 5
|
||||
婉婉: 5
|
||||
阿清: 5
|
||||
涛涛: 5
|
||||
周周: 4
|
||||
Amy: 4
|
||||
年糕: 3
|
||||
QQ: 2
|
||||
瑶瑶: 2
|
||||
|
||||
charge_minutes_raw:
|
||||
Total: 98, Non-null: 98, Distinct: 50
|
||||
Top values:
|
||||
0: 36
|
||||
3600: 7
|
||||
10800: 5
|
||||
6807: 2
|
||||
652: 2
|
||||
654: 2
|
||||
28187: 1
|
||||
12326: 1
|
||||
3602: 1
|
||||
10605: 1
|
||||
12330: 1
|
||||
214: 1
|
||||
222: 1
|
||||
14400: 1
|
||||
13581: 1
|
||||
|
||||
abolish_amount:
|
||||
Total: 98, Non-null: 98, Distinct: 50
|
||||
Top values:
|
||||
0.00: 36
|
||||
190.00: 7
|
||||
570.00: 5
|
||||
19.56: 2
|
||||
19.62: 2
|
||||
260.94: 2
|
||||
19.40: 1
|
||||
56.18: 1
|
||||
108.06: 1
|
||||
5.83: 1
|
||||
330.32: 1
|
||||
234.63: 1
|
||||
490.44: 1
|
||||
25.71: 1
|
||||
254.36: 1
|
||||
|
||||
trash_reason:
|
||||
Total: 98, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
create_time:
|
||||
Total: 98, Non-null: 98, Distinct: 73
|
||||
Top values:
|
||||
2026-01-22 08:15:32+08:00: 4
|
||||
2025-12-10 19:57:33+08:00: 3
|
||||
2025-10-01 00:27:29+08:00: 3
|
||||
2026-01-16 22:13:16+08:00: 3
|
||||
2026-01-08 01:16:57+08:00: 3
|
||||
2026-01-08 00:13:45+08:00: 3
|
||||
2025-12-31 01:34:05+08:00: 3
|
||||
2026-01-08 20:30:10+08:00: 3
|
||||
2025-11-28 01:18:25+08:00: 2
|
||||
2026-01-11 06:26:53+08:00: 2
|
||||
2025-12-31 01:30:38+08:00: 2
|
||||
2025-12-30 23:20:31+08:00: 2
|
||||
2025-12-30 23:00:18+08:00: 2
|
||||
2025-11-06 17:42:09+08:00: 2
|
||||
2025-12-10 19:56:42+08:00: 2
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['assistant_trash_event_id', 'site_id', 'table_id', 'table_area_id', 'assistant_no', 'assistant_name', 'charge_minutes_raw', 'abolish_amount', 'trash_reason', 'create_time']
|
||||
|
||||
Row 1:
|
||||
assistant_trash_event_id: 2957675849518789
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793016660660357
|
||||
table_area_id: 2791963816579205
|
||||
assistant_no: 泡芙
|
||||
assistant_name: 泡芙
|
||||
charge_minutes_raw: 214
|
||||
abolish_amount: 5.83
|
||||
trash_reason: NULL
|
||||
create_time: 2025-11-09 19:23:29+08:00
|
||||
|
||||
Row 2:
|
||||
assistant_trash_event_id: 2953329501898373
|
||||
site_id: 2790685415443269
|
||||
table_id: 2851642357976581
|
||||
table_area_id: 2802006170324037
|
||||
assistant_no: 婉婉
|
||||
assistant_name: 婉婉
|
||||
charge_minutes_raw: 10800
|
||||
abolish_amount: 570.00
|
||||
trash_reason: NULL
|
||||
create_time: 2025-11-06 17:42:09+08:00
|
||||
|
||||
Row 3:
|
||||
assistant_trash_event_id: 2953329502357125
|
||||
site_id: 2790685415443269
|
||||
table_id: 2851642357976581
|
||||
table_area_id: 2802006170324037
|
||||
assistant_no: 小柔
|
||||
assistant_name: 小柔
|
||||
charge_minutes_raw: 10800
|
||||
abolish_amount: 570.00
|
||||
trash_reason: NULL
|
||||
create_time: 2025-11-06 17:42:09+08:00
|
||||
|
||||
Row 4:
|
||||
assistant_trash_event_id: 2942452375932869
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793018776604805
|
||||
table_area_id: 2791963825803397
|
||||
assistant_no: 佳怡
|
||||
assistant_name: 佳怡
|
||||
charge_minutes_raw: 0
|
||||
abolish_amount: 0.00
|
||||
trash_reason: NULL
|
||||
create_time: 2025-10-30 01:17:22+08:00
|
||||
|
||||
Row 5:
|
||||
assistant_trash_event_id: 2941371032964997
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793021451292741
|
||||
table_area_id: 2791963848527941
|
||||
assistant_no: 璇子
|
||||
assistant_name: 璇子
|
||||
charge_minutes_raw: 0
|
||||
abolish_amount: 0.00
|
||||
trash_reason: NULL
|
||||
create_time: 2025-10-29 06:57:22+08:00
|
||||
|
||||
Row 6:
|
||||
assistant_trash_event_id: 2939676194180229
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793023960551493
|
||||
table_area_id: 2791963887030341
|
||||
assistant_no: 佳怡
|
||||
assistant_name: 佳怡
|
||||
charge_minutes_raw: 3602
|
||||
abolish_amount: 108.06
|
||||
trash_reason: NULL
|
||||
create_time: 2025-10-28 02:13:18+08:00
|
||||
|
||||
Row 7:
|
||||
assistant_trash_event_id: 2937959143262725
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793022145302597
|
||||
table_area_id: 2791963855982661
|
||||
assistant_no: 周周
|
||||
assistant_name: 周周
|
||||
charge_minutes_raw: 0
|
||||
abolish_amount: 0.00
|
||||
trash_reason: NULL
|
||||
create_time: 2025-10-26 21:06:37+08:00
|
||||
|
||||
Row 8:
|
||||
assistant_trash_event_id: 2936572806285765
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793017278451845
|
||||
table_area_id: 2791963816579205
|
||||
assistant_no: 璇子
|
||||
assistant_name: 璇子
|
||||
charge_minutes_raw: 0
|
||||
abolish_amount: 0.00
|
||||
trash_reason: NULL
|
||||
create_time: 2025-10-25 21:36:22+08:00
|
||||
|
||||
Row 9:
|
||||
assistant_trash_event_id: 2933593641256581
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793012902318213
|
||||
table_area_id: 2791963807682693
|
||||
assistant_no: 周周
|
||||
assistant_name: 周周
|
||||
charge_minutes_raw: 3600
|
||||
abolish_amount: 190.00
|
||||
trash_reason: NULL
|
||||
create_time: 2025-10-23 19:05:48+08:00
|
||||
|
||||
Row 10:
|
||||
assistant_trash_event_id: 2926594431305093
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793001904918661
|
||||
table_area_id: 2791963794329671
|
||||
assistant_no: 七七
|
||||
assistant_name: 七七
|
||||
charge_minutes_raw: 2379
|
||||
abolish_amount: 71.37
|
||||
trash_reason: NULL
|
||||
create_time: 2025-10-18 20:25:50+08:00
|
||||
|
||||
125
tmp/table_analysis/dwd_assistant_trash_event_ex.txt
Normal file
125
tmp/table_analysis/dwd_assistant_trash_event_ex.txt
Normal file
@@ -0,0 +1,125 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_assistant_trash_event_ex
|
||||
Primary Key: assistant_trash_event_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
assistant_trash_event_id: bigint | nullable=NO | PK
|
||||
table_name: character varying(64) | nullable=YES
|
||||
table_area_name: character varying(64) | nullable=YES
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
assistant_trash_event_id:
|
||||
Total: 98, Non-null: 98, Distinct: 98
|
||||
Top values:
|
||||
3043026785240965: 1
|
||||
3003160811246469: 1
|
||||
3003233571771077: 1
|
||||
2997598724524613: 1
|
||||
2969416950123717: 1
|
||||
2975809439713221: 1
|
||||
3061771962043973: 1
|
||||
2991820437967429: 1
|
||||
3041480270497669: 1
|
||||
3042622933256072: 1
|
||||
2889961229945221: 1
|
||||
3061771963567685: 1
|
||||
3041480269170565: 1
|
||||
3022560812795909: 1
|
||||
3061771962486341: 1
|
||||
|
||||
table_name:
|
||||
Total: 98, Non-null: 98, Distinct: 35
|
||||
Top values:
|
||||
888: 14
|
||||
发财: 8
|
||||
C1: 7
|
||||
M7: 6
|
||||
补时长5: 4
|
||||
A6: 4
|
||||
纯k: 4
|
||||
M8: 3
|
||||
补时长4: 3
|
||||
C5: 3
|
||||
M1: 3
|
||||
A1: 3
|
||||
S1: 3
|
||||
M2: 3
|
||||
C6: 3
|
||||
|
||||
table_area_name:
|
||||
Total: 98, Non-null: 98, Distinct: 14
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
C区: 16
|
||||
K包: 14
|
||||
A区: 11
|
||||
发财: 8
|
||||
B区: 7
|
||||
麻将房: 7
|
||||
补时长: 7
|
||||
VIP包厢: 6
|
||||
M7: 6
|
||||
幸会158: 4
|
||||
斯诺克区: 4
|
||||
666: 3
|
||||
M8: 3
|
||||
TV台: 2
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['assistant_trash_event_id', 'table_name', 'table_area_name']
|
||||
|
||||
Row 1:
|
||||
assistant_trash_event_id: 2957675849518789
|
||||
table_name: C1
|
||||
table_area_name: C区
|
||||
|
||||
Row 2:
|
||||
assistant_trash_event_id: 2953329501898373
|
||||
table_name: 补时长5
|
||||
table_area_name: 补时长
|
||||
|
||||
Row 3:
|
||||
assistant_trash_event_id: 2953329502357125
|
||||
table_name: 补时长5
|
||||
table_area_name: 补时长
|
||||
|
||||
Row 4:
|
||||
assistant_trash_event_id: 2942452375932869
|
||||
table_name: VIP1
|
||||
table_area_name: VIP包厢
|
||||
|
||||
Row 5:
|
||||
assistant_trash_event_id: 2941371032964997
|
||||
table_name: 董事办
|
||||
table_area_name: 666
|
||||
|
||||
Row 6:
|
||||
assistant_trash_event_id: 2939676194180229
|
||||
table_name: M1
|
||||
table_area_name: 麻将房
|
||||
|
||||
Row 7:
|
||||
assistant_trash_event_id: 2937959143262725
|
||||
table_name: 888
|
||||
table_area_name: K包
|
||||
|
||||
Row 8:
|
||||
assistant_trash_event_id: 2936572806285765
|
||||
table_name: C2
|
||||
table_area_name: C区
|
||||
|
||||
Row 9:
|
||||
assistant_trash_event_id: 2933593641256581
|
||||
table_name: B9
|
||||
table_area_name: B区
|
||||
|
||||
Row 10:
|
||||
assistant_trash_event_id: 2926594431305093
|
||||
table_name: A4
|
||||
table_area_name: A区
|
||||
|
||||
641
tmp/table_analysis/dwd_groupbuy_redemption.txt
Normal file
641
tmp/table_analysis/dwd_groupbuy_redemption.txt
Normal file
@@ -0,0 +1,641 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_groupbuy_redemption
|
||||
Primary Key: redemption_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
redemption_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES
|
||||
site_id: bigint | nullable=YES
|
||||
table_id: bigint | nullable=YES
|
||||
tenant_table_area_id: bigint | nullable=YES
|
||||
table_charge_seconds: integer | nullable=YES
|
||||
order_trade_no: bigint | nullable=YES
|
||||
order_settle_id: bigint | nullable=YES
|
||||
order_coupon_id: bigint | nullable=YES
|
||||
coupon_origin_id: bigint | nullable=YES
|
||||
promotion_activity_id: bigint | nullable=YES
|
||||
promotion_coupon_id: bigint | nullable=YES
|
||||
order_coupon_channel: integer | nullable=YES
|
||||
ledger_unit_price: numeric(18,2) | nullable=YES
|
||||
ledger_count: integer | nullable=YES
|
||||
ledger_amount: numeric(18,2) | nullable=YES
|
||||
coupon_money: numeric(18,2) | nullable=YES
|
||||
promotion_seconds: integer | nullable=YES
|
||||
coupon_code: character varying(64) | nullable=YES
|
||||
is_single_order: integer | nullable=YES
|
||||
is_delete: integer | nullable=YES
|
||||
ledger_name: character varying(128) | nullable=YES
|
||||
create_time: timestamp with time zone | nullable=YES
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
redemption_id:
|
||||
Total: 11420, Non-null: 11420, Distinct: 11420
|
||||
Top values:
|
||||
3060923562348165: 1
|
||||
3004203161768837: 1
|
||||
2966205249259270: 1
|
||||
3034076747647815: 1
|
||||
2997306276497925: 1
|
||||
2998948566665797: 1
|
||||
2903712823250309: 1
|
||||
2888149018757637: 1
|
||||
2925240126375365: 1
|
||||
2901239667805573: 1
|
||||
2991754480784069: 1
|
||||
2898184055064965: 1
|
||||
2906800959817093: 1
|
||||
2911052387272325: 1
|
||||
2947957977992837: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 11420, Non-null: 11420, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 11420
|
||||
|
||||
site_id:
|
||||
Total: 11420, Non-null: 11420, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 11420
|
||||
|
||||
table_id:
|
||||
Total: 11420, Non-null: 11420, Distinct: 52
|
||||
Top values:
|
||||
2793001695301765: 891
|
||||
2793001904918661: 858
|
||||
2793002509209733: 834
|
||||
2793002808987781: 774
|
||||
2793002896494725: 643
|
||||
2792521437958213: 641
|
||||
2791964216463493: 592
|
||||
2793002980429893: 581
|
||||
2793003066429509: 518
|
||||
2793003159474245: 459
|
||||
2793003243294789: 379
|
||||
2793003705192517: 363
|
||||
2793003420504133: 330
|
||||
2793003506815045: 325
|
||||
2793003618340933: 311
|
||||
|
||||
tenant_table_area_id:
|
||||
Total: 11420, Non-null: 11420, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2791960001957765: 9290
|
||||
2791960521691013: 1008
|
||||
2791961347968901: 963
|
||||
2791962314215301: 132
|
||||
2791961060364165: 25
|
||||
2791961709907845: 2
|
||||
|
||||
table_charge_seconds:
|
||||
Total: 11420, Non-null: 11420, Distinct: 935
|
||||
Top values:
|
||||
3600: 4926
|
||||
7200: 3596
|
||||
10800: 905
|
||||
14400: 448
|
||||
18000: 122
|
||||
21600: 35
|
||||
25200: 21
|
||||
0: 11
|
||||
28800: 10
|
||||
32400: 9
|
||||
14246: 5
|
||||
18002: 5
|
||||
3557: 5
|
||||
28865: 5
|
||||
36000: 5
|
||||
|
||||
order_trade_no:
|
||||
Total: 11420, Non-null: 11420, Distinct: 9002
|
||||
Top values:
|
||||
2896640137529669: 9
|
||||
3046483289245381: 7
|
||||
2960404365889029: 7
|
||||
2950549388167621: 7
|
||||
2933518896580293: 7
|
||||
2995425896140997: 6
|
||||
2988736415615685: 6
|
||||
3010113035667909: 6
|
||||
3022503741327173: 6
|
||||
3056668774319877: 5
|
||||
2966058297542533: 5
|
||||
2988471343811269: 5
|
||||
2936126717970117: 5
|
||||
3013944585375557: 5
|
||||
3017165091014085: 5
|
||||
|
||||
order_settle_id:
|
||||
Total: 11420, Non-null: 11420, Distinct: 8981
|
||||
Top values:
|
||||
2897184250857861: 9
|
||||
2950983888079045: 7
|
||||
2960853912375109: 7
|
||||
2933947273873157: 7
|
||||
3046994822776709: 7
|
||||
3022877752821829: 6
|
||||
3010469241112517: 6
|
||||
2995784954073221: 6
|
||||
2989106861920837: 6
|
||||
2885718987327941: 5
|
||||
2991705178491525: 5
|
||||
2966382754825989: 5
|
||||
3058288453257029: 5
|
||||
2936430866647557: 5
|
||||
3014255988690693: 5
|
||||
|
||||
order_coupon_id:
|
||||
Total: 11420, Non-null: 11420, Distinct: 11420
|
||||
Top values:
|
||||
2912050662049157: 1
|
||||
3035686494063685: 1
|
||||
3007213085870213: 1
|
||||
3045351598294725: 1
|
||||
2977135838496837: 1
|
||||
3003122635117509: 1
|
||||
2935091669730949: 1
|
||||
3055345093101445: 1
|
||||
2940535472083013: 1
|
||||
2946368690440261: 1
|
||||
3051209736849094: 1
|
||||
3058304733234949: 1
|
||||
2936602125863493: 1
|
||||
2967729593779909: 1
|
||||
3060624546892741: 1
|
||||
|
||||
coupon_origin_id:
|
||||
Total: 11420, Non-null: 11420, Distinct: 11419
|
||||
Top values:
|
||||
2976096723503173: 2
|
||||
3035686494063685: 1
|
||||
2935091669730949: 1
|
||||
3045351598294725: 1
|
||||
2977135838496837: 1
|
||||
3003122635117509: 1
|
||||
3007213085870213: 1
|
||||
3055345093101445: 1
|
||||
2940535472083013: 1
|
||||
2946368690440261: 1
|
||||
3051209736849094: 1
|
||||
3058304733234949: 1
|
||||
2936602125863493: 1
|
||||
2967729593779909: 1
|
||||
2912050662049157: 1
|
||||
|
||||
promotion_activity_id:
|
||||
Total: 11420, Non-null: 11420, Distinct: 11419
|
||||
Top values:
|
||||
2976096722765893: 2
|
||||
2914104143595141: 1
|
||||
2988640011946693: 1
|
||||
2957680199012165: 1
|
||||
2951880870397701: 1
|
||||
2884109377441222: 1
|
||||
2985826257373893: 1
|
||||
2980165642814917: 1
|
||||
3065139402591045: 1
|
||||
2938048205195653: 1
|
||||
2884046761627013: 1
|
||||
2997289465924101: 1
|
||||
2988527644363462: 1
|
||||
3049847933978309: 1
|
||||
3031136843485061: 1
|
||||
|
||||
promotion_coupon_id:
|
||||
Total: 11420, Non-null: 11420, Distinct: 26
|
||||
Top values:
|
||||
2798727423528005: 4761
|
||||
2798723640069125: 1517
|
||||
3030872476945477: 819
|
||||
2798729978514501: 707
|
||||
3031000036133445: 655
|
||||
2798728823213061: 541
|
||||
2798732571167749: 537
|
||||
2939215004469573: 398
|
||||
2861343275830405: 319
|
||||
2798898826300485: 251
|
||||
3030874716834757: 236
|
||||
3030874133269445: 148
|
||||
2798901295615045: 105
|
||||
2798713926290437: 101
|
||||
3030025905916997: 100
|
||||
|
||||
order_coupon_channel:
|
||||
Total: 11420, Non-null: 11420, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 10661
|
||||
2: 759
|
||||
|
||||
ledger_unit_price:
|
||||
Total: 11420, Non-null: 11420, Distinct: 15
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
29.90: 5146
|
||||
12.12: 1161
|
||||
11.11: 1112
|
||||
39.90: 1066
|
||||
69.90: 949
|
||||
59.90: 875
|
||||
20.26: 434
|
||||
19.90: 403
|
||||
128.00: 157
|
||||
9.90: 54
|
||||
198.00: 37
|
||||
35.90: 22
|
||||
888.00: 2
|
||||
208.00: 1
|
||||
0.00: 1
|
||||
|
||||
ledger_count:
|
||||
Total: 11420, Non-null: 11420, Distinct: 755
|
||||
Top values:
|
||||
3600: 8708
|
||||
7200: 1719
|
||||
14400: 92
|
||||
0: 17
|
||||
3547: 4
|
||||
3578: 4
|
||||
3569: 4
|
||||
3549: 4
|
||||
3557: 4
|
||||
3552: 4
|
||||
3560: 3
|
||||
3523: 3
|
||||
7171: 3
|
||||
7189: 3
|
||||
3561: 3
|
||||
|
||||
ledger_amount:
|
||||
Total: 11420, Non-null: 11420, Distinct: 795
|
||||
Top values:
|
||||
48.00: 7823
|
||||
96.00: 839
|
||||
68.00: 598
|
||||
116.00: 570
|
||||
136.00: 291
|
||||
58.00: 288
|
||||
192.00: 90
|
||||
196.00: 19
|
||||
0.00: 17
|
||||
47.29: 4
|
||||
47.32: 4
|
||||
47.36: 3
|
||||
47.71: 3
|
||||
47.65: 3
|
||||
37.23: 3
|
||||
|
||||
coupon_money:
|
||||
Total: 11420, Non-null: 11420, Distinct: 10
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
48.00: 8309
|
||||
116.00: 945
|
||||
96.00: 942
|
||||
68.00: 637
|
||||
58.00: 319
|
||||
288.00: 170
|
||||
136.00: 70
|
||||
188.00: 25
|
||||
1988.00: 2
|
||||
0.00: 1
|
||||
|
||||
promotion_seconds:
|
||||
Total: 11420, Non-null: 11420, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
3600: 9265
|
||||
7200: 2020
|
||||
14400: 134
|
||||
7170: 1
|
||||
|
||||
coupon_code:
|
||||
Total: 11420, Non-null: 11420, Distinct: 11419
|
||||
Top values:
|
||||
0104650682611: 2
|
||||
0108803395642: 1
|
||||
0103552306766: 1
|
||||
0103882790506: 1
|
||||
0100774310045: 1
|
||||
0101455615217: 1
|
||||
0108077486830: 1
|
||||
0104101546148: 1
|
||||
0102677108573: 1
|
||||
107173816222306: 1
|
||||
0101804079843: 1
|
||||
0110289923764: 1
|
||||
0106001230440: 1
|
||||
0102758206460: 1
|
||||
0104662112988: 1
|
||||
|
||||
is_single_order:
|
||||
Total: 11420, Non-null: 11420, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 11406
|
||||
0: 14
|
||||
|
||||
is_delete:
|
||||
Total: 11420, Non-null: 11420, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 11420
|
||||
|
||||
ledger_name:
|
||||
Total: 11420, Non-null: 11420, Distinct: 17
|
||||
Top values:
|
||||
全天A区中八一小时: 5580
|
||||
中八A区新人特惠一小时: 1517
|
||||
全天A区中八两小时: 943
|
||||
全天B区中八两小时: 689
|
||||
新人特惠一小时: 655
|
||||
全天斯诺克一小时: 637
|
||||
早场特惠一小时: 398
|
||||
斯诺克两小时: 326
|
||||
B区桌球一小时: 319
|
||||
新人特惠A区中八一小时: 105
|
||||
麻将 、掼蛋包厢四小时: 101
|
||||
午夜场9.9: 54
|
||||
助理教练竞技教学两小时: 38
|
||||
麻将包厢4小时: 30
|
||||
中八、斯诺克包厢两小时: 25
|
||||
|
||||
create_time:
|
||||
Total: 11420, Non-null: 11420, Distinct: 8981
|
||||
Top values:
|
||||
2025-09-28 01:48:18+08:00: 9
|
||||
2025-11-05 01:56:06+08:00: 7
|
||||
2025-11-12 01:16:25+08:00: 7
|
||||
2026-01-11 21:43:36+08:00: 7
|
||||
2025-10-24 01:05:44+08:00: 7
|
||||
2025-12-06 17:30:06+08:00: 6
|
||||
2025-12-25 20:50:35+08:00: 6
|
||||
2025-12-02 00:16:48+08:00: 6
|
||||
2025-12-17 02:28:04+08:00: 6
|
||||
2025-12-21 05:20:22+08:00: 5
|
||||
2026-01-19 03:56:00+08:00: 5
|
||||
2025-12-01 18:54:35+08:00: 5
|
||||
2025-10-24 17:02:13+08:00: 5
|
||||
2026-01-02 21:40:01+08:00: 5
|
||||
2025-11-15 02:08:14+08:00: 5
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['redemption_id', 'tenant_id', 'site_id', 'table_id', 'tenant_table_area_id', 'table_charge_seconds', 'order_trade_no', 'order_settle_id', 'order_coupon_id', 'coupon_origin_id', 'promotion_activity_id', 'promotion_coupon_id', 'order_coupon_channel', 'ledger_unit_price', 'ledger_count', 'ledger_amount', 'coupon_money', 'promotion_seconds', 'coupon_code', 'is_single_order', 'is_delete', 'ledger_name', 'create_time']
|
||||
|
||||
Row 1:
|
||||
redemption_id: 2957924029615941
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793003705192517
|
||||
tenant_table_area_id: 2791960001957765
|
||||
table_charge_seconds: 3600
|
||||
order_trade_no: 2957858167230149
|
||||
order_settle_id: 2957922914357125
|
||||
order_coupon_id: 2957858168229573
|
||||
coupon_origin_id: 2957858168229573
|
||||
promotion_activity_id: 2957858166460101
|
||||
promotion_coupon_id: 2798727423528005
|
||||
order_coupon_channel: 1
|
||||
ledger_unit_price: 29.90
|
||||
ledger_count: 3600
|
||||
ledger_amount: 48.00
|
||||
coupon_money: 48.00
|
||||
promotion_seconds: 3600
|
||||
coupon_code: 0107892475999
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
ledger_name: 全天A区中八一小时
|
||||
create_time: 2025-11-09 23:35:57+08:00
|
||||
|
||||
Row 2:
|
||||
redemption_id: 2957922693500805
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793001904918661
|
||||
tenant_table_area_id: 2791960001957765
|
||||
table_charge_seconds: 7200
|
||||
order_trade_no: 2957804588781445
|
||||
order_settle_id: 2957922677673797
|
||||
order_coupon_id: 2957804589698949
|
||||
coupon_origin_id: 2957804589698949
|
||||
promotion_activity_id: 2957804587388805
|
||||
promotion_coupon_id: 2798729978514501
|
||||
order_coupon_channel: 1
|
||||
ledger_unit_price: 59.90
|
||||
ledger_count: 7200
|
||||
ledger_amount: 96.00
|
||||
coupon_money: 96.00
|
||||
promotion_seconds: 7200
|
||||
coupon_code: 0103324135385
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
ledger_name: 全天A区中八两小时
|
||||
create_time: 2025-11-09 23:34:36+08:00
|
||||
|
||||
Row 3:
|
||||
redemption_id: 2957920279957381
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793002808987781
|
||||
tenant_table_area_id: 2791960001957765
|
||||
table_charge_seconds: 6429
|
||||
order_trade_no: 2957814644494149
|
||||
order_settle_id: 2957920006540997
|
||||
order_coupon_id: 2957814645362501
|
||||
coupon_origin_id: 2957814645362501
|
||||
promotion_activity_id: 2957814643822405
|
||||
promotion_coupon_id: 2798729978514501
|
||||
order_coupon_channel: 1
|
||||
ledger_unit_price: 59.90
|
||||
ledger_count: 6429
|
||||
ledger_amount: 85.72
|
||||
coupon_money: 96.00
|
||||
promotion_seconds: 7200
|
||||
coupon_code: 0103602658831
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
ledger_name: 全天A区中八两小时
|
||||
create_time: 2025-11-09 23:32:08+08:00
|
||||
|
||||
Row 4:
|
||||
redemption_id: 2957913927110469
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793002980429893
|
||||
tenant_table_area_id: 2791960001957765
|
||||
table_charge_seconds: 3600
|
||||
order_trade_no: 2957852541275653
|
||||
order_settle_id: 2957913909300741
|
||||
order_coupon_id: 2957852542144005
|
||||
coupon_origin_id: 2957852542144005
|
||||
promotion_activity_id: 2957852540358149
|
||||
promotion_coupon_id: 2798727423528005
|
||||
order_coupon_channel: 1
|
||||
ledger_unit_price: 29.90
|
||||
ledger_count: 3600
|
||||
ledger_amount: 48.00
|
||||
coupon_money: 48.00
|
||||
promotion_seconds: 3600
|
||||
coupon_code: 0107327197070
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
ledger_name: 全天A区中八一小时
|
||||
create_time: 2025-11-09 23:25:41+08:00
|
||||
|
||||
Row 5:
|
||||
redemption_id: 2957909372718789
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793002896494725
|
||||
tenant_table_area_id: 2791960001957765
|
||||
table_charge_seconds: 3600
|
||||
order_trade_no: 2957850075041477
|
||||
order_settle_id: 2957909354516357
|
||||
order_coupon_id: 2957850075942597
|
||||
coupon_origin_id: 2957850075942597
|
||||
promotion_activity_id: 2957850074205893
|
||||
promotion_coupon_id: 2798727423528005
|
||||
order_coupon_channel: 1
|
||||
ledger_unit_price: 29.90
|
||||
ledger_count: 3600
|
||||
ledger_amount: 48.00
|
||||
coupon_money: 48.00
|
||||
promotion_seconds: 3600
|
||||
coupon_code: 0109020831527
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
ledger_name: 全天A区中八一小时
|
||||
create_time: 2025-11-09 23:21:03+08:00
|
||||
|
||||
Row 6:
|
||||
redemption_id: 2957902860046150
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793012902154373
|
||||
tenant_table_area_id: 2791960521691013
|
||||
table_charge_seconds: 10247
|
||||
order_trade_no: 2957733026106885
|
||||
order_settle_id: 2957900926045701
|
||||
order_coupon_id: 2957826792869573
|
||||
coupon_origin_id: 2957826792869573
|
||||
promotion_activity_id: 2957826792689349
|
||||
promotion_coupon_id: 2861343275830405
|
||||
order_coupon_channel: 1
|
||||
ledger_unit_price: 39.90
|
||||
ledger_count: 3047
|
||||
ledger_amount: 49.09
|
||||
coupon_money: 58.00
|
||||
promotion_seconds: 3600
|
||||
coupon_code: 0102043579343
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
ledger_name: B区桌球一小时
|
||||
create_time: 2025-11-09 23:14:25+08:00
|
||||
|
||||
Row 7:
|
||||
redemption_id: 2957902860046149
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793012902154373
|
||||
tenant_table_area_id: 2791960521691013
|
||||
table_charge_seconds: 10247
|
||||
order_trade_no: 2957733026106885
|
||||
order_settle_id: 2957900926045701
|
||||
order_coupon_id: 2957733027155461
|
||||
coupon_origin_id: 2957733027155461
|
||||
promotion_activity_id: 2957733025467909
|
||||
promotion_coupon_id: 2798728823213061
|
||||
order_coupon_channel: 1
|
||||
ledger_unit_price: 69.90
|
||||
ledger_count: 7200
|
||||
ledger_amount: 116.00
|
||||
coupon_money: 116.00
|
||||
promotion_seconds: 7200
|
||||
coupon_code: 0102010287543
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
ledger_name: 全天B区中八两小时
|
||||
create_time: 2025-11-09 23:14:25+08:00
|
||||
|
||||
Row 8:
|
||||
redemption_id: 2957882052710277
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793003159474245
|
||||
tenant_table_area_id: 2791960001957765
|
||||
table_charge_seconds: 7200
|
||||
order_trade_no: 2957759254155141
|
||||
order_settle_id: 2957881991597573
|
||||
order_coupon_id: 2957759255072645
|
||||
coupon_origin_id: 2957759255072645
|
||||
promotion_activity_id: 2957759253532549
|
||||
promotion_coupon_id: 2798729978514501
|
||||
order_coupon_channel: 1
|
||||
ledger_unit_price: 59.90
|
||||
ledger_count: 7200
|
||||
ledger_amount: 96.00
|
||||
coupon_money: 96.00
|
||||
promotion_seconds: 7200
|
||||
coupon_code: 0108997331623
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
ledger_name: 全天A区中八两小时
|
||||
create_time: 2025-11-09 22:53:15+08:00
|
||||
|
||||
Row 9:
|
||||
redemption_id: 2957874957717381
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793003243294789
|
||||
tenant_table_area_id: 2791960001957765
|
||||
table_charge_seconds: 3600
|
||||
order_trade_no: 2957815796518725
|
||||
order_settle_id: 2957874940858245
|
||||
order_coupon_id: 2957815797436229
|
||||
coupon_origin_id: 2957815797436229
|
||||
promotion_activity_id: 2957815795896133
|
||||
promotion_coupon_id: 2798727423528005
|
||||
order_coupon_channel: 1
|
||||
ledger_unit_price: 29.90
|
||||
ledger_count: 3600
|
||||
ledger_amount: 48.00
|
||||
coupon_money: 48.00
|
||||
promotion_seconds: 3600
|
||||
coupon_code: 0102662046069
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
ledger_name: 全天A区中八一小时
|
||||
create_time: 2025-11-09 22:46:02+08:00
|
||||
|
||||
Row 10:
|
||||
redemption_id: 2957871647575749
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793001695301765
|
||||
tenant_table_area_id: 2791960001957765
|
||||
table_charge_seconds: 3600
|
||||
order_trade_no: 2957812436111237
|
||||
order_settle_id: 2957871630880261
|
||||
order_coupon_id: 2957812439093125
|
||||
coupon_origin_id: 2957812439093125
|
||||
promotion_activity_id: 2957812435259269
|
||||
promotion_coupon_id: 2798727423528005
|
||||
order_coupon_channel: 1
|
||||
ledger_unit_price: 29.90
|
||||
ledger_count: 3600
|
||||
ledger_amount: 48.00
|
||||
coupon_money: 48.00
|
||||
promotion_seconds: 3600
|
||||
coupon_code: 0108620441250
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
ledger_name: 全天A区中八一小时
|
||||
create_time: 2025-11-09 22:42:40+08:00
|
||||
|
||||
437
tmp/table_analysis/dwd_groupbuy_redemption_ex.txt
Normal file
437
tmp/table_analysis/dwd_groupbuy_redemption_ex.txt
Normal file
@@ -0,0 +1,437 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_groupbuy_redemption_ex
|
||||
Primary Key: redemption_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
redemption_id: bigint | nullable=NO | PK
|
||||
site_name: character varying(64) | nullable=YES
|
||||
table_name: character varying(64) | nullable=YES
|
||||
table_area_name: character varying(64) | nullable=YES
|
||||
order_pay_id: bigint | nullable=YES
|
||||
goods_option_price: numeric(18,2) | nullable=YES
|
||||
goods_promotion_money: numeric(18,2) | nullable=YES
|
||||
table_service_promotion_money: numeric(18,2) | nullable=YES
|
||||
assistant_promotion_money: numeric(18,2) | nullable=YES
|
||||
assistant_service_promotion_money: numeric(18,2) | nullable=YES
|
||||
reward_promotion_money: numeric(18,2) | nullable=YES
|
||||
recharge_promotion_money: numeric(18,2) | nullable=YES
|
||||
offer_type: integer | nullable=YES
|
||||
ledger_status: integer | nullable=YES
|
||||
operator_id: bigint | nullable=YES
|
||||
operator_name: character varying(64) | nullable=YES
|
||||
salesman_user_id: bigint | nullable=YES
|
||||
salesman_name: character varying(64) | nullable=YES
|
||||
salesman_role_id: bigint | nullable=YES
|
||||
salesman_org_id: bigint | nullable=YES
|
||||
ledger_group_name: character varying(128) | nullable=YES
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
redemption_id:
|
||||
Total: 11427, Non-null: 11427, Distinct: 11427
|
||||
Top values:
|
||||
3060923562348165: 1
|
||||
3004203161768837: 1
|
||||
2966205249259270: 1
|
||||
3034076747647815: 1
|
||||
2997306276497925: 1
|
||||
2998948566665797: 1
|
||||
2903712823250309: 1
|
||||
2888149018757637: 1
|
||||
2925240126375365: 1
|
||||
2901239667805573: 1
|
||||
2991754480784069: 1
|
||||
2898184055064965: 1
|
||||
2906800959817093: 1
|
||||
2911052387272325: 1
|
||||
2947957977992837: 1
|
||||
|
||||
site_name:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 11427
|
||||
|
||||
table_name:
|
||||
Total: 11427, Non-null: 11427, Distinct: 52
|
||||
Top values:
|
||||
A3: 892
|
||||
A4: 858
|
||||
A5: 835
|
||||
A7: 774
|
||||
A8: 643
|
||||
A2: 642
|
||||
A1: 593
|
||||
A9: 583
|
||||
A10: 518
|
||||
A11: 459
|
||||
A12: 379
|
||||
A17: 363
|
||||
A14: 330
|
||||
A15: 325
|
||||
A16: 311
|
||||
|
||||
table_area_name:
|
||||
Total: 11427, Non-null: 11427, Distinct: 9
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
A区: 9294
|
||||
B区: 998
|
||||
斯诺克区: 962
|
||||
麻将房: 137
|
||||
VIP包厢: 21
|
||||
K包: 8
|
||||
C区: 5
|
||||
补时长: 1
|
||||
M7: 1
|
||||
|
||||
order_pay_id:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 11427
|
||||
|
||||
goods_option_price:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0.00: 11427
|
||||
|
||||
goods_promotion_money:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0.00: 11427
|
||||
|
||||
table_service_promotion_money:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0.00: 11427
|
||||
|
||||
assistant_promotion_money:
|
||||
Total: 11427, Non-null: 11427, Distinct: 26
|
||||
Top values:
|
||||
0.00: 11389
|
||||
196.00: 6
|
||||
195.89: 3
|
||||
195.84: 3
|
||||
195.73: 2
|
||||
195.67: 2
|
||||
216.00: 2
|
||||
195.86: 2
|
||||
195.46: 1
|
||||
188.24: 1
|
||||
213.48: 1
|
||||
215.70: 1
|
||||
195.81: 1
|
||||
191.13: 1
|
||||
213.47: 1
|
||||
|
||||
assistant_service_promotion_money:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0.00: 11427
|
||||
|
||||
reward_promotion_money:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0.00: 11427
|
||||
|
||||
recharge_promotion_money:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0.00: 11427
|
||||
|
||||
offer_type:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 11427
|
||||
|
||||
ledger_status:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 11427
|
||||
|
||||
operator_id:
|
||||
Total: 11427, Non-null: 11427, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790687322443013: 11426
|
||||
2801909606452165: 1
|
||||
|
||||
operator_name:
|
||||
Total: 11427, Non-null: 11427, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
收银员:郑丽珊: 11426
|
||||
收银员:郑丽珍: 1
|
||||
|
||||
salesman_user_id:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 11427
|
||||
|
||||
salesman_name:
|
||||
Total: 11427, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
salesman_role_id:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 11427
|
||||
|
||||
salesman_org_id:
|
||||
Total: 11427, Non-null: 11427, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 11427
|
||||
|
||||
ledger_group_name:
|
||||
Total: 11427, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['redemption_id', 'site_name', 'table_name', 'table_area_name', 'order_pay_id', 'goods_option_price', 'goods_promotion_money', 'table_service_promotion_money', 'assistant_promotion_money', 'assistant_service_promotion_money', 'reward_promotion_money', 'recharge_promotion_money', 'offer_type', 'ledger_status', 'operator_id', 'operator_name', 'salesman_user_id', 'salesman_name', 'salesman_role_id', 'salesman_org_id', 'ledger_group_name']
|
||||
|
||||
Row 1:
|
||||
redemption_id: 2957924029615941
|
||||
site_name: 朗朗桌球
|
||||
table_name: A17
|
||||
table_area_name: A区
|
||||
order_pay_id: 0
|
||||
goods_option_price: 0.00
|
||||
goods_promotion_money: 0.00
|
||||
table_service_promotion_money: 0.00
|
||||
assistant_promotion_money: 0.00
|
||||
assistant_service_promotion_money: 0.00
|
||||
reward_promotion_money: 0.00
|
||||
recharge_promotion_money: 0.00
|
||||
offer_type: 1
|
||||
ledger_status: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
ledger_group_name: NULL
|
||||
|
||||
Row 2:
|
||||
redemption_id: 2957922693500805
|
||||
site_name: 朗朗桌球
|
||||
table_name: A4
|
||||
table_area_name: A区
|
||||
order_pay_id: 0
|
||||
goods_option_price: 0.00
|
||||
goods_promotion_money: 0.00
|
||||
table_service_promotion_money: 0.00
|
||||
assistant_promotion_money: 0.00
|
||||
assistant_service_promotion_money: 0.00
|
||||
reward_promotion_money: 0.00
|
||||
recharge_promotion_money: 0.00
|
||||
offer_type: 1
|
||||
ledger_status: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
ledger_group_name: NULL
|
||||
|
||||
Row 3:
|
||||
redemption_id: 2957920279957381
|
||||
site_name: 朗朗桌球
|
||||
table_name: A7
|
||||
table_area_name: A区
|
||||
order_pay_id: 0
|
||||
goods_option_price: 0.00
|
||||
goods_promotion_money: 0.00
|
||||
table_service_promotion_money: 0.00
|
||||
assistant_promotion_money: 0.00
|
||||
assistant_service_promotion_money: 0.00
|
||||
reward_promotion_money: 0.00
|
||||
recharge_promotion_money: 0.00
|
||||
offer_type: 1
|
||||
ledger_status: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
ledger_group_name: NULL
|
||||
|
||||
Row 4:
|
||||
redemption_id: 2957913927110469
|
||||
site_name: 朗朗桌球
|
||||
table_name: A9
|
||||
table_area_name: A区
|
||||
order_pay_id: 0
|
||||
goods_option_price: 0.00
|
||||
goods_promotion_money: 0.00
|
||||
table_service_promotion_money: 0.00
|
||||
assistant_promotion_money: 0.00
|
||||
assistant_service_promotion_money: 0.00
|
||||
reward_promotion_money: 0.00
|
||||
recharge_promotion_money: 0.00
|
||||
offer_type: 1
|
||||
ledger_status: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
ledger_group_name: NULL
|
||||
|
||||
Row 5:
|
||||
redemption_id: 2957909372718789
|
||||
site_name: 朗朗桌球
|
||||
table_name: A8
|
||||
table_area_name: A区
|
||||
order_pay_id: 0
|
||||
goods_option_price: 0.00
|
||||
goods_promotion_money: 0.00
|
||||
table_service_promotion_money: 0.00
|
||||
assistant_promotion_money: 0.00
|
||||
assistant_service_promotion_money: 0.00
|
||||
reward_promotion_money: 0.00
|
||||
recharge_promotion_money: 0.00
|
||||
offer_type: 1
|
||||
ledger_status: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
ledger_group_name: NULL
|
||||
|
||||
Row 6:
|
||||
redemption_id: 2957902860046150
|
||||
site_name: 朗朗桌球
|
||||
table_name: B5
|
||||
table_area_name: B区
|
||||
order_pay_id: 0
|
||||
goods_option_price: 0.00
|
||||
goods_promotion_money: 0.00
|
||||
table_service_promotion_money: 0.00
|
||||
assistant_promotion_money: 0.00
|
||||
assistant_service_promotion_money: 0.00
|
||||
reward_promotion_money: 0.00
|
||||
recharge_promotion_money: 0.00
|
||||
offer_type: 1
|
||||
ledger_status: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
ledger_group_name: NULL
|
||||
|
||||
Row 7:
|
||||
redemption_id: 2957902860046149
|
||||
site_name: 朗朗桌球
|
||||
table_name: B5
|
||||
table_area_name: B区
|
||||
order_pay_id: 0
|
||||
goods_option_price: 0.00
|
||||
goods_promotion_money: 0.00
|
||||
table_service_promotion_money: 0.00
|
||||
assistant_promotion_money: 0.00
|
||||
assistant_service_promotion_money: 0.00
|
||||
reward_promotion_money: 0.00
|
||||
recharge_promotion_money: 0.00
|
||||
offer_type: 1
|
||||
ledger_status: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
ledger_group_name: NULL
|
||||
|
||||
Row 8:
|
||||
redemption_id: 2957882052710277
|
||||
site_name: 朗朗桌球
|
||||
table_name: A11
|
||||
table_area_name: A区
|
||||
order_pay_id: 0
|
||||
goods_option_price: 0.00
|
||||
goods_promotion_money: 0.00
|
||||
table_service_promotion_money: 0.00
|
||||
assistant_promotion_money: 0.00
|
||||
assistant_service_promotion_money: 0.00
|
||||
reward_promotion_money: 0.00
|
||||
recharge_promotion_money: 0.00
|
||||
offer_type: 1
|
||||
ledger_status: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
ledger_group_name: NULL
|
||||
|
||||
Row 9:
|
||||
redemption_id: 2957874957717381
|
||||
site_name: 朗朗桌球
|
||||
table_name: A12
|
||||
table_area_name: A区
|
||||
order_pay_id: 0
|
||||
goods_option_price: 0.00
|
||||
goods_promotion_money: 0.00
|
||||
table_service_promotion_money: 0.00
|
||||
assistant_promotion_money: 0.00
|
||||
assistant_service_promotion_money: 0.00
|
||||
reward_promotion_money: 0.00
|
||||
recharge_promotion_money: 0.00
|
||||
offer_type: 1
|
||||
ledger_status: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
ledger_group_name: NULL
|
||||
|
||||
Row 10:
|
||||
redemption_id: 2957871647575749
|
||||
site_name: 朗朗桌球
|
||||
table_name: A3
|
||||
table_area_name: A区
|
||||
order_pay_id: 0
|
||||
goods_option_price: 0.00
|
||||
goods_promotion_money: 0.00
|
||||
table_service_promotion_money: 0.00
|
||||
assistant_promotion_money: 0.00
|
||||
assistant_service_promotion_money: 0.00
|
||||
reward_promotion_money: 0.00
|
||||
recharge_promotion_money: 0.00
|
||||
offer_type: 1
|
||||
ledger_status: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
ledger_group_name: NULL
|
||||
|
||||
432
tmp/table_analysis/dwd_member_balance_change.txt
Normal file
432
tmp/table_analysis/dwd_member_balance_change.txt
Normal file
@@ -0,0 +1,432 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_member_balance_change
|
||||
Primary Key: balance_change_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
balance_change_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
register_site_id: bigint | nullable=YES |
|
||||
tenant_member_id: bigint | nullable=YES |
|
||||
system_member_id: bigint | nullable=YES |
|
||||
tenant_member_card_id: bigint | nullable=YES |
|
||||
card_type_id: bigint | nullable=YES |
|
||||
card_type_name: character varying(32) | nullable=YES |
|
||||
member_name: character varying(64) | nullable=YES |
|
||||
member_mobile: character varying(20) | nullable=YES |
|
||||
balance_before: numeric(18,2) | nullable=YES |
|
||||
change_amount: numeric(18,2) | nullable=YES |
|
||||
balance_after: numeric(18,2) | nullable=YES |
|
||||
from_type: integer | nullable=YES |
|
||||
payment_method: integer | nullable=YES |
|
||||
change_time: timestamp with time zone | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
remark: character varying(255) | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
balance_change_id:
|
||||
Total: 4745, Non-null: 4745, Distinct: 4745
|
||||
Top values:
|
||||
2803564669930693: 1
|
||||
2903462915460485: 1
|
||||
2830174531963973: 1
|
||||
2955043181414661: 1
|
||||
3008791754705413: 1
|
||||
2857467495761733: 1
|
||||
2939340594416005: 1
|
||||
2951010696136837: 1
|
||||
3030232907139141: 1
|
||||
2802394731760837: 1
|
||||
2813556454443461: 1
|
||||
2806436244653957: 1
|
||||
3058422348711749: 1
|
||||
3057603406514501: 1
|
||||
2973479954155397: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 4745, Non-null: 4745, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 4745
|
||||
|
||||
site_id:
|
||||
Total: 4745, Non-null: 4745, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 4720
|
||||
0: 25
|
||||
|
||||
register_site_id:
|
||||
Total: 4745, Non-null: 4745, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 4745
|
||||
|
||||
tenant_member_id:
|
||||
Total: 4745, Non-null: 4745, Distinct: 256
|
||||
Top values:
|
||||
2799207522600709: 379
|
||||
2799207359858437: 325
|
||||
2799207363643141: 310
|
||||
2799207124305669: 228
|
||||
2799207406946053: 197
|
||||
2799207519176453: 156
|
||||
2820625955784965: 147
|
||||
2799209806071557: 125
|
||||
2799212491392773: 122
|
||||
2799212845565701: 121
|
||||
2799207290996485: 98
|
||||
2969257129938053: 94
|
||||
2799212430657285: 83
|
||||
2846153189592005: 82
|
||||
2799207370163973: 65
|
||||
|
||||
system_member_id:
|
||||
Total: 4745, Non-null: 4745, Distinct: 240
|
||||
Top values:
|
||||
2799207521568517: 379
|
||||
2799207358777093: 325
|
||||
2485293902352645: 310
|
||||
2799207123224325: 228
|
||||
2799207405995781: 197
|
||||
2799207518095109: 156
|
||||
2820625954179333: 147
|
||||
2799209804416773: 125
|
||||
2799212490426117: 122
|
||||
2799212844549893: 121
|
||||
2799207289947909: 98
|
||||
2644610908900421: 94
|
||||
2799212429444869: 83
|
||||
2846153188363205: 82
|
||||
2799207369180933: 65
|
||||
|
||||
tenant_member_card_id:
|
||||
Total: 4745, Non-null: 4745, Distinct: 457
|
||||
Top values:
|
||||
2799218552833797: 222
|
||||
2799217444914949: 199
|
||||
2799216572794629: 185
|
||||
2799215988246277: 157
|
||||
2807890878272261: 121
|
||||
2799217048848133: 105
|
||||
2820628725778629: 99
|
||||
2799219999295237: 94
|
||||
2800824360437893: 93
|
||||
2799217231906565: 93
|
||||
2799218773034757: 80
|
||||
2799219205424901: 73
|
||||
2815108067970885: 71
|
||||
2846153189837765: 67
|
||||
2807912860717893: 61
|
||||
|
||||
card_type_id:
|
||||
Total: 4745, Non-null: 4745, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2793249295533893: 2825
|
||||
2793266846533445: 1275
|
||||
2791990152417157: 482
|
||||
2794699703437125: 149
|
||||
2793306611533637: 7
|
||||
2791987095408517: 7
|
||||
|
||||
card_type_name:
|
||||
Total: 4745, Non-null: 4745, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
储值卡: 2825
|
||||
活动抵用券: 1275
|
||||
台费卡: 482
|
||||
酒水卡: 149
|
||||
年卡: 7
|
||||
月卡: 7
|
||||
|
||||
member_name:
|
||||
Total: 4745, Non-null: 4745, Distinct: 194
|
||||
Top values:
|
||||
轩哥: 379
|
||||
罗先生: 343
|
||||
葛先生: 310
|
||||
陈腾鑫: 228
|
||||
张先生: 207
|
||||
黄先生: 174
|
||||
夏: 156
|
||||
陈先生: 155
|
||||
江先生: 147
|
||||
陈德韩: 125
|
||||
蔡总: 122
|
||||
曾丹烨: 121
|
||||
小燕: 94
|
||||
李先生: 74
|
||||
林先生: 73
|
||||
|
||||
member_mobile:
|
||||
Total: 4745, Non-null: 4745, Distinct: 255
|
||||
Top values:
|
||||
18826267530: 379
|
||||
13924036996: 325
|
||||
13811638071: 310
|
||||
17817318218: 228
|
||||
13902258852: 197
|
||||
19120942851: 156
|
||||
18819484838: 147
|
||||
13431017864: 125
|
||||
15914338893: 122
|
||||
13922213242: 121
|
||||
15915782829: 98
|
||||
17802081334: 94
|
||||
13570163507: 83
|
||||
15818822109: 82
|
||||
18819262164: 65
|
||||
|
||||
from_type:
|
||||
Total: 4745, Non-null: 4745, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 3613
|
||||
4: 491
|
||||
3: 413
|
||||
9: 153
|
||||
2: 66
|
||||
7: 9
|
||||
|
||||
payment_method:
|
||||
Total: 4745, Non-null: 4745, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 3841
|
||||
3: 491
|
||||
4: 408
|
||||
2: 5
|
||||
|
||||
is_delete:
|
||||
Total: 4745, Non-null: 4745, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 4745
|
||||
|
||||
remark:
|
||||
Total: 4745, Non-null: 105, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
注销会员: 96
|
||||
充值退款: 9
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['balance_change_id', 'tenant_id', 'site_id', 'register_site_id', 'tenant_member_id', 'system_member_id', 'tenant_member_card_id', 'card_type_id', 'card_type_name', 'member_name', 'member_mobile', 'balance_before', 'change_amount', 'balance_after', 'from_type', 'payment_method', 'change_time', 'is_delete', 'remark']
|
||||
|
||||
Row 1:
|
||||
balance_change_id: 2957881605869253
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2799212845565701
|
||||
system_member_id: 2799212844549893
|
||||
tenant_member_card_id: 2799219999295237
|
||||
card_type_id: 2793249295533893
|
||||
card_type_name: 储值卡
|
||||
member_name: 曾丹烨
|
||||
member_mobile: 13922213242
|
||||
balance_before: 816.30
|
||||
change_amount: -120.00
|
||||
balance_after: 696.30
|
||||
from_type: 1
|
||||
payment_method: 0
|
||||
change_time: 2025-11-09 22:52:48+08:00
|
||||
is_delete: 0
|
||||
remark: NULL
|
||||
|
||||
Row 2:
|
||||
balance_change_id: 2957821969387205
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2799207363643141
|
||||
system_member_id: 2485293902352645
|
||||
tenant_member_card_id: 2799216572794629
|
||||
card_type_id: 2793249295533893
|
||||
card_type_name: 储值卡
|
||||
member_name: 葛先生
|
||||
member_mobile: 13811638071
|
||||
balance_before: 6745.27
|
||||
change_amount: -144.00
|
||||
balance_after: 6601.27
|
||||
from_type: 1
|
||||
payment_method: 0
|
||||
change_time: 2025-11-09 21:52:08+08:00
|
||||
is_delete: 0
|
||||
remark: NULL
|
||||
|
||||
Row 3:
|
||||
balance_change_id: 2957814218313541
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2799207124305669
|
||||
system_member_id: 2799207123224325
|
||||
tenant_member_card_id: 2799215988246277
|
||||
card_type_id: 2793249295533893
|
||||
card_type_name: 储值卡
|
||||
member_name: 陈腾鑫
|
||||
member_mobile: 17817318218
|
||||
balance_before: 293.20
|
||||
change_amount: -114.61
|
||||
balance_after: 178.59
|
||||
from_type: 1
|
||||
payment_method: 0
|
||||
change_time: 2025-11-09 21:44:15+08:00
|
||||
is_delete: 0
|
||||
remark: NULL
|
||||
|
||||
Row 4:
|
||||
balance_change_id: 2957799362285445
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2799207519176453
|
||||
system_member_id: 2799207518095109
|
||||
tenant_member_card_id: 2799217048848133
|
||||
card_type_id: 2793249295533893
|
||||
card_type_name: 储值卡
|
||||
member_name: 夏
|
||||
member_mobile: 19120942851
|
||||
balance_before: 1194.00
|
||||
change_amount: -1194.00
|
||||
balance_after: 0.00
|
||||
from_type: 1
|
||||
payment_method: 0
|
||||
change_time: 2025-11-09 21:29:08+08:00
|
||||
is_delete: 0
|
||||
remark: NULL
|
||||
|
||||
Row 5:
|
||||
balance_change_id: 2957788164099589
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2799207522600709
|
||||
system_member_id: 2799207521568517
|
||||
tenant_member_card_id: 2799217060235013
|
||||
card_type_id: 2794699703437125
|
||||
card_type_name: 酒水卡
|
||||
member_name: 轩哥
|
||||
member_mobile: 18826267530
|
||||
balance_before: 532.00
|
||||
change_amount: -41.00
|
||||
balance_after: 491.00
|
||||
from_type: 1
|
||||
payment_method: 0
|
||||
change_time: 2025-11-09 21:17:45+08:00
|
||||
is_delete: 0
|
||||
remark: NULL
|
||||
|
||||
Row 6:
|
||||
balance_change_id: 2957785618632197
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2799207356434181
|
||||
system_member_id: 2799207355336453
|
||||
tenant_member_card_id: 2799216538830597
|
||||
card_type_id: 2793249295533893
|
||||
card_type_name: 储值卡
|
||||
member_name: 吴生
|
||||
member_mobile: 13600453341
|
||||
balance_before: 2077.99
|
||||
change_amount: -199.10
|
||||
balance_after: 1878.89
|
||||
from_type: 1
|
||||
payment_method: 0
|
||||
change_time: 2025-11-09 21:15:09+08:00
|
||||
is_delete: 0
|
||||
remark: NULL
|
||||
|
||||
Row 7:
|
||||
balance_change_id: 2957766036278981
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2799207406946053
|
||||
system_member_id: 2799207405995781
|
||||
tenant_member_card_id: 2799217231906565
|
||||
card_type_id: 2793249295533893
|
||||
card_type_name: 储值卡
|
||||
member_name: 张先生
|
||||
member_mobile: 13902258852
|
||||
balance_before: 813.21
|
||||
change_amount: -240.51
|
||||
balance_after: 572.70
|
||||
from_type: 1
|
||||
payment_method: 0
|
||||
change_time: 2025-11-09 20:55:14+08:00
|
||||
is_delete: 0
|
||||
remark: NULL
|
||||
|
||||
Row 8:
|
||||
balance_change_id: 2957747803377477
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2955204541320325
|
||||
system_member_id: 2955204540009605
|
||||
tenant_member_card_id: 2955204541615237
|
||||
card_type_id: 2793249295533893
|
||||
card_type_name: 储值卡
|
||||
member_name: 胡先生
|
||||
member_mobile: 18620043391
|
||||
balance_before: 225.64
|
||||
change_amount: -206.82
|
||||
balance_after: 18.82
|
||||
from_type: 1
|
||||
payment_method: 0
|
||||
change_time: 2025-11-09 20:36:41+08:00
|
||||
is_delete: 0
|
||||
remark: NULL
|
||||
|
||||
Row 9:
|
||||
balance_change_id: 2957675844718277
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2799207124305669
|
||||
system_member_id: 2799207123224325
|
||||
tenant_member_card_id: 2799215988246277
|
||||
card_type_id: 2793249295533893
|
||||
card_type_name: 储值卡
|
||||
member_name: 陈腾鑫
|
||||
member_mobile: 17817318218
|
||||
balance_before: 481.98
|
||||
change_amount: -188.78
|
||||
balance_after: 293.20
|
||||
from_type: 1
|
||||
payment_method: 0
|
||||
change_time: 2025-11-09 19:23:29+08:00
|
||||
is_delete: 0
|
||||
remark: NULL
|
||||
|
||||
Row 10:
|
||||
balance_change_id: 2957620513558213
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
register_site_id: 2790685415443269
|
||||
tenant_member_id: 2799207363643141
|
||||
system_member_id: 2485293902352645
|
||||
tenant_member_card_id: 2799216572794629
|
||||
card_type_id: 2793249295533893
|
||||
card_type_name: 储值卡
|
||||
member_name: 葛先生
|
||||
member_mobile: 13811638071
|
||||
balance_before: 6968.94
|
||||
change_amount: -223.67
|
||||
balance_after: 6745.27
|
||||
from_type: 1
|
||||
payment_method: 0
|
||||
change_time: 2025-11-09 18:27:12+08:00
|
||||
is_delete: 0
|
||||
remark: NULL
|
||||
|
||||
152
tmp/table_analysis/dwd_member_balance_change_ex.txt
Normal file
152
tmp/table_analysis/dwd_member_balance_change_ex.txt
Normal file
@@ -0,0 +1,152 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_member_balance_change_ex
|
||||
Primary Key: balance_change_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
balance_change_id: bigint | nullable=NO | PK
|
||||
pay_site_name: character varying(64) | nullable=YES |
|
||||
register_site_name: character varying(64) | nullable=YES |
|
||||
refund_amount: numeric(18,2) | nullable=YES |
|
||||
operator_id: bigint | nullable=YES |
|
||||
operator_name: character varying(64) | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
balance_change_id:
|
||||
Total: 4745, Non-null: 4745, Distinct: 4745
|
||||
Top values:
|
||||
2803564669930693: 1
|
||||
2903462915460485: 1
|
||||
2830174531963973: 1
|
||||
2955043181414661: 1
|
||||
3008791754705413: 1
|
||||
2857467495761733: 1
|
||||
2939340594416005: 1
|
||||
2951010696136837: 1
|
||||
3030232907139141: 1
|
||||
2802394731760837: 1
|
||||
2813556454443461: 1
|
||||
2806436244653957: 1
|
||||
3058422348711749: 1
|
||||
3057603406514501: 1
|
||||
2973479954155397: 1
|
||||
|
||||
pay_site_name:
|
||||
Total: 4745, Non-null: 4720, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 4720
|
||||
|
||||
register_site_name:
|
||||
Total: 4745, Non-null: 4745, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 4745
|
||||
|
||||
operator_id:
|
||||
Total: 4745, Non-null: 4745, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790687322443013: 4477
|
||||
2790687633313029: 124
|
||||
2800459869441029: 115
|
||||
2800457030093701: 29
|
||||
|
||||
operator_name:
|
||||
Total: 4745, Non-null: 4745, Distinct: 6
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
收银员:郑丽珊: 4101
|
||||
店长:郑丽珊: 223
|
||||
管理员:郑丽珊: 153
|
||||
店长:蒋雨轩: 124
|
||||
店长:谢晓洪: 115
|
||||
店长:黄月柳: 29
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['balance_change_id', 'pay_site_name', 'register_site_name', 'refund_amount', 'operator_id', 'operator_name']
|
||||
|
||||
Row 1:
|
||||
balance_change_id: 2957881605869253
|
||||
pay_site_name: 朗朗桌球
|
||||
register_site_name: 朗朗桌球
|
||||
refund_amount: 0.00
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 2:
|
||||
balance_change_id: 2957821969387205
|
||||
pay_site_name: 朗朗桌球
|
||||
register_site_name: 朗朗桌球
|
||||
refund_amount: 0.00
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 3:
|
||||
balance_change_id: 2957814218313541
|
||||
pay_site_name: 朗朗桌球
|
||||
register_site_name: 朗朗桌球
|
||||
refund_amount: 0.00
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 4:
|
||||
balance_change_id: 2957799362285445
|
||||
pay_site_name: 朗朗桌球
|
||||
register_site_name: 朗朗桌球
|
||||
refund_amount: 0.00
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 5:
|
||||
balance_change_id: 2957788164099589
|
||||
pay_site_name: 朗朗桌球
|
||||
register_site_name: 朗朗桌球
|
||||
refund_amount: 0.00
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 6:
|
||||
balance_change_id: 2957785618632197
|
||||
pay_site_name: 朗朗桌球
|
||||
register_site_name: 朗朗桌球
|
||||
refund_amount: 0.00
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 7:
|
||||
balance_change_id: 2957766036278981
|
||||
pay_site_name: 朗朗桌球
|
||||
register_site_name: 朗朗桌球
|
||||
refund_amount: 0.00
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 8:
|
||||
balance_change_id: 2957747803377477
|
||||
pay_site_name: 朗朗桌球
|
||||
register_site_name: 朗朗桌球
|
||||
refund_amount: 0.00
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 9:
|
||||
balance_change_id: 2957675844718277
|
||||
pay_site_name: 朗朗桌球
|
||||
register_site_name: 朗朗桌球
|
||||
refund_amount: 0.00
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 10:
|
||||
balance_change_id: 2957620513558213
|
||||
pay_site_name: 朗朗桌球
|
||||
register_site_name: 朗朗桌球
|
||||
refund_amount: 0.00
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
229
tmp/table_analysis/dwd_payment.txt
Normal file
229
tmp/table_analysis/dwd_payment.txt
Normal file
@@ -0,0 +1,229 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_payment
|
||||
Primary Key: payment_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
payment_id: bigint | nullable=NO | PK
|
||||
site_id: bigint | nullable=YES |
|
||||
relate_type: integer | nullable=YES |
|
||||
relate_id: bigint | nullable=YES |
|
||||
pay_amount: numeric(18,2) | nullable=YES |
|
||||
pay_status: integer | nullable=YES |
|
||||
payment_method: integer | nullable=YES |
|
||||
online_pay_channel: integer | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
pay_time: timestamp with time zone | nullable=YES |
|
||||
pay_date: date | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
payment_id:
|
||||
Total: 22949, Non-null: 22949, Distinct: 22949
|
||||
Top values:
|
||||
2991645684585157: 1
|
||||
2885436211284421: 1
|
||||
2936530661706117: 1
|
||||
3002712859069189: 1
|
||||
2896551799310789: 1
|
||||
2974431657399173: 1
|
||||
2823002361743429: 1
|
||||
2812161588742661: 1
|
||||
2825060442868997: 1
|
||||
3050851949479813: 1
|
||||
2973341597272325: 1
|
||||
2910659174630981: 1
|
||||
2817727182556869: 1
|
||||
3020075928569349: 1
|
||||
2858331107903237: 1
|
||||
|
||||
site_id:
|
||||
Total: 22949, Non-null: 22949, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 22949
|
||||
|
||||
relate_type:
|
||||
Total: 22949, Non-null: 22949, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 22468
|
||||
5: 422
|
||||
1: 48
|
||||
6: 11
|
||||
|
||||
relate_id:
|
||||
Total: 22949, Non-null: 22949, Distinct: 22947
|
||||
Top values:
|
||||
2834080770102021: 2
|
||||
2948246513454661: 2
|
||||
2800957557606597: 1
|
||||
2976413737093189: 1
|
||||
2903740456422597: 1
|
||||
3016989267592773: 1
|
||||
3021547742021445: 1
|
||||
2927680632849861: 1
|
||||
2993181992014533: 1
|
||||
2947505138716229: 1
|
||||
2992745472101061: 1
|
||||
2993477589912261: 1
|
||||
2997829514791365: 1
|
||||
2854193189832517: 1
|
||||
2998670603291013: 1
|
||||
|
||||
pay_status:
|
||||
Total: 22949, Non-null: 22949, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 22949
|
||||
|
||||
payment_method:
|
||||
Total: 22949, Non-null: 22949, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 14397
|
||||
4: 8551
|
||||
1: 1
|
||||
|
||||
online_pay_channel:
|
||||
Total: 22949, Non-null: 22949, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 22949
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['payment_id', 'site_id', 'relate_type', 'relate_id', 'pay_amount', 'pay_status', 'payment_method', 'online_pay_channel', 'create_time', 'pay_time', 'pay_date']
|
||||
|
||||
Row 1:
|
||||
payment_id: 2957924026486597
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2957922914357125
|
||||
pay_amount: 10.00
|
||||
pay_status: 2
|
||||
payment_method: 4
|
||||
online_pay_channel: 0
|
||||
create_time: 2025-11-09 23:35:57+08:00
|
||||
pay_time: 2025-11-09 23:35:57+08:00
|
||||
pay_date: 2025-11-09
|
||||
|
||||
Row 2:
|
||||
payment_id: 2957922690600837
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2957922677673797
|
||||
pay_amount: 0.00
|
||||
pay_status: 2
|
||||
payment_method: 2
|
||||
online_pay_channel: 0
|
||||
create_time: 2025-11-09 23:34:36+08:00
|
||||
pay_time: 2025-11-09 23:34:36+08:00
|
||||
pay_date: 2025-11-09
|
||||
|
||||
Row 3:
|
||||
payment_id: 2957921519341061
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2957921502088901
|
||||
pay_amount: 0.00
|
||||
pay_status: 2
|
||||
payment_method: 2
|
||||
online_pay_channel: 0
|
||||
create_time: 2025-11-09 23:33:24+08:00
|
||||
pay_time: 2025-11-09 23:33:24+08:00
|
||||
pay_date: 2025-11-09
|
||||
|
||||
Row 4:
|
||||
payment_id: 2957920276959109
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2957920006540997
|
||||
pay_amount: 10.00
|
||||
pay_status: 2
|
||||
payment_method: 4
|
||||
online_pay_channel: 0
|
||||
create_time: 2025-11-09 23:32:08+08:00
|
||||
pay_time: 2025-11-09 23:32:08+08:00
|
||||
pay_date: 2025-11-09
|
||||
|
||||
Row 5:
|
||||
payment_id: 2957913923997509
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2957913909300741
|
||||
pay_amount: 0.00
|
||||
pay_status: 2
|
||||
payment_method: 2
|
||||
online_pay_channel: 0
|
||||
create_time: 2025-11-09 23:25:41+08:00
|
||||
pay_time: 2025-11-09 23:25:41+08:00
|
||||
pay_date: 2025-11-09
|
||||
|
||||
Row 6:
|
||||
payment_id: 2957913438015365
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2957913171693253
|
||||
pay_amount: 215.00
|
||||
pay_status: 2
|
||||
payment_method: 4
|
||||
online_pay_channel: 0
|
||||
create_time: 2025-11-09 23:25:11+08:00
|
||||
pay_time: 2025-11-09 23:25:11+08:00
|
||||
pay_date: 2025-11-09
|
||||
|
||||
Row 7:
|
||||
payment_id: 2957911880486597
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2957911858859909
|
||||
pay_amount: 6.00
|
||||
pay_status: 2
|
||||
payment_method: 4
|
||||
online_pay_channel: 0
|
||||
create_time: 2025-11-09 23:23:36+08:00
|
||||
pay_time: 2025-11-09 23:23:36+08:00
|
||||
pay_date: 2025-11-09
|
||||
|
||||
Row 8:
|
||||
payment_id: 2957909369671365
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2957909354516357
|
||||
pay_amount: 0.00
|
||||
pay_status: 2
|
||||
payment_method: 2
|
||||
online_pay_channel: 0
|
||||
create_time: 2025-11-09 23:21:03+08:00
|
||||
pay_time: 2025-11-09 23:21:03+08:00
|
||||
pay_date: 2025-11-09
|
||||
|
||||
Row 9:
|
||||
payment_id: 2957902855409477
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2957900926045701
|
||||
pay_amount: 195.00
|
||||
pay_status: 2
|
||||
payment_method: 4
|
||||
online_pay_channel: 0
|
||||
create_time: 2025-11-09 23:14:25+08:00
|
||||
pay_time: 2025-11-09 23:14:25+08:00
|
||||
pay_date: 2025-11-09
|
||||
|
||||
Row 10:
|
||||
payment_id: 2957886429597381
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2957886361276293
|
||||
pay_amount: 13.00
|
||||
pay_status: 2
|
||||
payment_method: 4
|
||||
online_pay_channel: 0
|
||||
create_time: 2025-11-09 22:57:42+08:00
|
||||
pay_time: 2025-11-09 22:57:42+08:00
|
||||
pay_date: 2025-11-09
|
||||
|
||||
543
tmp/table_analysis/dwd_platform_coupon_redemption.txt
Normal file
543
tmp/table_analysis/dwd_platform_coupon_redemption.txt
Normal file
@@ -0,0 +1,543 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_platform_coupon_redemption
|
||||
Primary Key: platform_coupon_redemption_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
platform_coupon_redemption_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES
|
||||
site_id: bigint | nullable=YES
|
||||
coupon_code: character varying(64) | nullable=YES
|
||||
coupon_channel: integer | nullable=YES
|
||||
coupon_name: character varying(200) | nullable=YES
|
||||
sale_price: numeric(10,2) | nullable=YES
|
||||
coupon_money: numeric(10,2) | nullable=YES
|
||||
coupon_free_time: integer | nullable=YES
|
||||
channel_deal_id: bigint | nullable=YES
|
||||
deal_id: bigint | nullable=YES
|
||||
group_package_id: bigint | nullable=YES
|
||||
site_order_id: bigint | nullable=YES
|
||||
table_id: bigint | nullable=YES
|
||||
certificate_id: character varying(64) | nullable=YES
|
||||
verify_id: character varying(64) | nullable=YES
|
||||
use_status: integer | nullable=YES
|
||||
is_delete: integer | nullable=YES
|
||||
create_time: timestamp with time zone | nullable=YES
|
||||
consume_time: timestamp with time zone | nullable=YES
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
platform_coupon_redemption_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 16977
|
||||
Top values:
|
||||
2865395956010949: 1
|
||||
3031136843485061: 1
|
||||
2985826257373893: 1
|
||||
2957680199012165: 1
|
||||
2866729510473605: 1
|
||||
2884109377441222: 1
|
||||
2830529949486213: 1
|
||||
2980165642814917: 1
|
||||
2876868256696133: 1
|
||||
2938048205195653: 1
|
||||
2866760389119877: 1
|
||||
2884046761627013: 1
|
||||
2875704758456005: 1
|
||||
2811893553563845: 1
|
||||
2886961661217093: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 16977
|
||||
|
||||
site_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 16977
|
||||
|
||||
coupon_code:
|
||||
Total: 16977, Non-null: 16977, Distinct: 16977
|
||||
Top values:
|
||||
0104662112988: 1
|
||||
0108077486830: 1
|
||||
7159695107: 1
|
||||
0102677108573: 1
|
||||
0110289923764: 1
|
||||
0106001230440: 1
|
||||
8797955595: 1
|
||||
0107732825096: 1
|
||||
0106374949747: 1
|
||||
0101455527851: 1
|
||||
0103745147309: 1
|
||||
9064393328: 1
|
||||
0103163718512: 1
|
||||
0101475874037: 1
|
||||
0109435599636: 1
|
||||
|
||||
coupon_channel:
|
||||
Total: 16977, Non-null: 16977, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 15901
|
||||
2: 1076
|
||||
|
||||
coupon_name:
|
||||
Total: 16977, Non-null: 16977, Distinct: 25
|
||||
Top values:
|
||||
【全天可用】中八桌球一小时(A区): 7951
|
||||
【全天可用】中八桌球两小时(A区): 1581
|
||||
【全天可用】中八桌球两小时(B区): 1156
|
||||
【全天可用】斯诺克一小时: 1025
|
||||
【早场特惠】中八桌球一小时(A区): 890
|
||||
1小时中八台球|【11月特惠】(A区): 786
|
||||
1小时中八台球|【12月特惠】(A区): 512
|
||||
【全天可用】中八桌球一小时(大厅A区): 437
|
||||
【全天可用】斯诺克两小时(畅打爽打): 378
|
||||
【双11特惠】中八桌球一小时(A区): 336
|
||||
【新人特惠】中八桌球一小时(A区): 305
|
||||
1小时中八台球|【年终特惠】(A区): 303
|
||||
1小时中八台球|【新年特惠】(A区): 296
|
||||
【全天可用】B区桌球一小时: 222
|
||||
【全天可用】麻将、掼蛋包厢四小时: 213
|
||||
|
||||
sale_price:
|
||||
Total: 16977, Non-null: 16977, Distinct: 15
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
29.90: 7951
|
||||
69.90: 1535
|
||||
59.90: 1515
|
||||
39.90: 1487
|
||||
19.90: 1302
|
||||
12.12: 1173
|
||||
11.11: 1122
|
||||
20.26: 437
|
||||
128.00: 258
|
||||
23.90: 61
|
||||
198.00: 57
|
||||
9.90: 54
|
||||
35.90: 22
|
||||
888.00: 2
|
||||
208.00: 1
|
||||
|
||||
coupon_money:
|
||||
Total: 16977, Non-null: 16977, Distinct: 10
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
48.00: 12099
|
||||
96.00: 1581
|
||||
116.00: 1534
|
||||
68.00: 1025
|
||||
58.00: 350
|
||||
288.00: 271
|
||||
136.00: 70
|
||||
188.00: 41
|
||||
196.00: 4
|
||||
1988.00: 2
|
||||
|
||||
coupon_free_time:
|
||||
Total: 16977, Non-null: 16977, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 16977
|
||||
|
||||
channel_deal_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 15
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1128411555: 8388
|
||||
1203035334: 2796
|
||||
1130465371: 1581
|
||||
1137872168: 1156
|
||||
1147633733: 1025
|
||||
1814707240811572: 694
|
||||
1370841337: 517
|
||||
1814983609169019: 378
|
||||
1134269810: 213
|
||||
1130443985: 70
|
||||
1173128804: 58
|
||||
1134850618: 54
|
||||
1126976372: 41
|
||||
1812429097416714: 4
|
||||
1137882866: 2
|
||||
|
||||
deal_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 13
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1345108507: 8388
|
||||
1364921087: 2796
|
||||
1346103574: 1581
|
||||
1347938899: 1156
|
||||
0: 1076
|
||||
1350374807: 1025
|
||||
1398374101: 517
|
||||
1347146296: 213
|
||||
1346105245: 70
|
||||
1356069478: 58
|
||||
1347208736: 54
|
||||
1344368192: 41
|
||||
1347948646: 2
|
||||
|
||||
group_package_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 16977
|
||||
|
||||
site_order_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 13513
|
||||
Top values:
|
||||
2896640137529669: 9
|
||||
2882404807067461: 7
|
||||
2960404365889029: 7
|
||||
2933518896580293: 7
|
||||
2950549388167621: 7
|
||||
3046483289245381: 7
|
||||
2988736415615685: 6
|
||||
3005658678970629: 6
|
||||
2995425896140997: 6
|
||||
2876549916315397: 6
|
||||
3010113035667909: 6
|
||||
2835922632345733: 6
|
||||
3022503741327173: 6
|
||||
2879867598424069: 6
|
||||
2932219861944005: 5
|
||||
|
||||
table_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 47
|
||||
Top values:
|
||||
2793001695301765: 1390
|
||||
2793001904918661: 1305
|
||||
2793002509209733: 1255
|
||||
2793002808987781: 1152
|
||||
2791964216463493: 996
|
||||
2793002896494725: 978
|
||||
2792521437958213: 954
|
||||
2793002980429893: 800
|
||||
2793003066429509: 705
|
||||
2793003159474245: 642
|
||||
2793003705192517: 531
|
||||
2793003243294789: 523
|
||||
2793003420504133: 485
|
||||
2793003618340933: 459
|
||||
2793003506815045: 451
|
||||
|
||||
certificate_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 16192
|
||||
Top values:
|
||||
4999021073090618688: 4
|
||||
4999021488107986299: 4
|
||||
4999021546698841467: 4
|
||||
5008024888256975412: 3
|
||||
5008024888050581051: 3
|
||||
5008029067000051413: 3
|
||||
5008028956849290560: 3
|
||||
5008024905853799988: 3
|
||||
5008028905479098688: 3
|
||||
4999021504063305980: 3
|
||||
4999021082737232757: 3
|
||||
4999021099899402560: 3
|
||||
4999021580027067644: 3
|
||||
5008029039359167540: 3
|
||||
4999021476451334625: 3
|
||||
|
||||
verify_id:
|
||||
Total: 16977, Non-null: 1076, Distinct: 1076
|
||||
Top values:
|
||||
7561390265727092755: 1
|
||||
7582938012141553698: 1
|
||||
7540287665518741545: 1
|
||||
7559895432191952959: 1
|
||||
7544277604736485402: 1
|
||||
7531308342535260223: 1
|
||||
7576587269093410831: 1
|
||||
7587385436620785716: 1
|
||||
7569129443738863668: 1
|
||||
7533949322728081443: 1
|
||||
7533196499174344719: 1
|
||||
7530595035776469035: 1
|
||||
7584640040509933618: 1
|
||||
7561394819768043547: 1
|
||||
7577671833093244947: 1
|
||||
|
||||
use_status:
|
||||
Total: 16977, Non-null: 16977, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 16940
|
||||
2: 37
|
||||
|
||||
is_delete:
|
||||
Total: 16977, Non-null: 16977, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 16977
|
||||
|
||||
create_time:
|
||||
Total: 16977, Non-null: 16977, Distinct: 16345
|
||||
Top values:
|
||||
2025-10-03 21:51:46+08:00: 3
|
||||
2025-09-17 15:13:50+08:00: 3
|
||||
2025-09-08 20:52:50+08:00: 3
|
||||
2025-10-01 20:23:41+08:00: 3
|
||||
2025-10-19 22:24:32+08:00: 3
|
||||
2025-09-07 20:24:49+08:00: 3
|
||||
2025-09-04 21:06:06+08:00: 3
|
||||
2025-12-19 15:52:06+08:00: 3
|
||||
2025-11-01 22:37:15+08:00: 3
|
||||
2025-11-26 19:52:18+08:00: 3
|
||||
2025-11-14 22:57:00+08:00: 3
|
||||
2025-10-24 22:27:03+08:00: 3
|
||||
2025-12-02 19:58:58+08:00: 3
|
||||
2025-10-04 22:09:19+08:00: 3
|
||||
2025-11-23 16:09:48+08:00: 3
|
||||
|
||||
consume_time:
|
||||
Total: 16977, Non-null: 16977, Distinct: 16345
|
||||
Top values:
|
||||
2025-09-28 16:15:19+08:00: 3
|
||||
2025-11-23 16:09:48+08:00: 3
|
||||
2025-09-27 21:50:08+08:00: 3
|
||||
2025-10-04 22:09:20+08:00: 3
|
||||
2025-09-04 21:06:07+08:00: 3
|
||||
2025-09-17 15:13:50+08:00: 3
|
||||
2025-09-08 20:52:51+08:00: 3
|
||||
2025-11-01 22:37:15+08:00: 3
|
||||
2025-12-02 19:58:59+08:00: 3
|
||||
2025-11-16 22:25:21+08:00: 3
|
||||
2025-10-19 22:24:32+08:00: 3
|
||||
2025-10-24 22:27:04+08:00: 3
|
||||
2025-09-07 20:24:49+08:00: 3
|
||||
2025-10-23 22:20:54+08:00: 3
|
||||
2025-12-12 14:15:27+08:00: 3
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['platform_coupon_redemption_id', 'tenant_id', 'site_id', 'coupon_code', 'coupon_channel', 'coupon_name', 'sale_price', 'coupon_money', 'coupon_free_time', 'channel_deal_id', 'deal_id', 'group_package_id', 'site_order_id', 'table_id', 'certificate_id', 'verify_id', 'use_status', 'is_delete', 'create_time', 'consume_time']
|
||||
|
||||
Row 1:
|
||||
platform_coupon_redemption_id: 2957929042218501
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
coupon_code: 0102701209726
|
||||
coupon_channel: 1
|
||||
coupon_name: 【全天可用】中八桌球一小时(A区)
|
||||
sale_price: 29.90
|
||||
coupon_money: 48.00
|
||||
coupon_free_time: 0
|
||||
channel_deal_id: 1128411555
|
||||
deal_id: 1345108507
|
||||
group_package_id: 0
|
||||
site_order_id: 2957929043037702
|
||||
table_id: 2793001904918661
|
||||
certificate_id: 5008024789379597447
|
||||
verify_id: NULL
|
||||
use_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 23:41:03+08:00
|
||||
consume_time: 2025-11-09 23:41:04+08:00
|
||||
|
||||
Row 2:
|
||||
platform_coupon_redemption_id: 2957927120064005
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
coupon_code: 0107134856270
|
||||
coupon_channel: 1
|
||||
coupon_name: 【全天可用】中八桌球一小时(A区)
|
||||
sale_price: 29.90
|
||||
coupon_money: 48.00
|
||||
coupon_free_time: 0
|
||||
channel_deal_id: 1128411555
|
||||
deal_id: 1345108507
|
||||
group_package_id: 0
|
||||
site_order_id: 2957927120686597
|
||||
table_id: 2793002808987781
|
||||
certificate_id: 5008024789527869112
|
||||
verify_id: NULL
|
||||
use_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 23:39:06+08:00
|
||||
consume_time: 2025-11-09 23:39:07+08:00
|
||||
|
||||
Row 3:
|
||||
platform_coupon_redemption_id: 2957925992500742
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
coupon_code: 0102503818571
|
||||
coupon_channel: 1
|
||||
coupon_name: 【全天可用】中八桌球一小时(A区)
|
||||
sale_price: 29.90
|
||||
coupon_money: 48.00
|
||||
coupon_free_time: 0
|
||||
channel_deal_id: 1128411555
|
||||
deal_id: 1345108507
|
||||
group_package_id: 0
|
||||
site_order_id: 2957925993631237
|
||||
table_id: 2793001695301765
|
||||
certificate_id: 5008024788830075711
|
||||
verify_id: NULL
|
||||
use_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 23:37:57+08:00
|
||||
consume_time: 2025-11-09 23:37:58+08:00
|
||||
|
||||
Row 4:
|
||||
platform_coupon_redemption_id: 2957925992500741
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
coupon_code: 0102346193371
|
||||
coupon_channel: 1
|
||||
coupon_name: 【全天可用】中八桌球一小时(A区)
|
||||
sale_price: 29.90
|
||||
coupon_money: 48.00
|
||||
coupon_free_time: 0
|
||||
channel_deal_id: 1128411555
|
||||
deal_id: 1345108507
|
||||
group_package_id: 0
|
||||
site_order_id: 2957925993631237
|
||||
table_id: 2793001695301765
|
||||
certificate_id: 5008024788830075711
|
||||
verify_id: NULL
|
||||
use_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 23:37:57+08:00
|
||||
consume_time: 2025-11-09 23:37:58+08:00
|
||||
|
||||
Row 5:
|
||||
platform_coupon_redemption_id: 2957916919909893
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
coupon_code: 0105699477383
|
||||
coupon_channel: 1
|
||||
coupon_name: 【全天可用】中八桌球一小时(A区)
|
||||
sale_price: 29.90
|
||||
coupon_money: 48.00
|
||||
coupon_free_time: 0
|
||||
channel_deal_id: 1128411555
|
||||
deal_id: 1345108507
|
||||
group_package_id: 0
|
||||
site_order_id: 2957738518564549
|
||||
table_id: 2793003066429509
|
||||
certificate_id: 5008024780690096954
|
||||
verify_id: NULL
|
||||
use_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 23:28:43+08:00
|
||||
consume_time: 2025-11-09 23:28:44+08:00
|
||||
|
||||
Row 6:
|
||||
platform_coupon_redemption_id: 2957861876944773
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
coupon_code: 0102463607371
|
||||
coupon_channel: 1
|
||||
coupon_name: 【全天可用】中八桌球两小时(A区)
|
||||
sale_price: 59.90
|
||||
coupon_money: 96.00
|
||||
coupon_free_time: 0
|
||||
channel_deal_id: 1130465371
|
||||
deal_id: 1346103574
|
||||
group_package_id: 0
|
||||
site_order_id: 2957861497179973
|
||||
table_id: 2793003618340933
|
||||
certificate_id: 5008024789317884748
|
||||
verify_id: NULL
|
||||
use_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 22:32:44+08:00
|
||||
consume_time: 2025-11-09 22:32:44+08:00
|
||||
|
||||
Row 7:
|
||||
platform_coupon_redemption_id: 2957858166460101
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
coupon_code: 0107892475999
|
||||
coupon_channel: 1
|
||||
coupon_name: 【全天可用】中八桌球一小时(A区)
|
||||
sale_price: 29.90
|
||||
coupon_money: 48.00
|
||||
coupon_free_time: 0
|
||||
channel_deal_id: 1128411555
|
||||
deal_id: 1345108507
|
||||
group_package_id: 0
|
||||
site_order_id: 2957858167230149
|
||||
table_id: 2793003705192517
|
||||
certificate_id: 5008024788917006239
|
||||
verify_id: NULL
|
||||
use_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 22:28:57+08:00
|
||||
consume_time: 2025-11-09 22:28:58+08:00
|
||||
|
||||
Row 8:
|
||||
platform_coupon_redemption_id: 2957852540358149
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
coupon_code: 0107327197070
|
||||
coupon_channel: 1
|
||||
coupon_name: 【全天可用】中八桌球一小时(A区)
|
||||
sale_price: 29.90
|
||||
coupon_money: 48.00
|
||||
coupon_free_time: 0
|
||||
channel_deal_id: 1128411555
|
||||
deal_id: 1345108507
|
||||
group_package_id: 0
|
||||
site_order_id: 2957852541275653
|
||||
table_id: 2793002980429893
|
||||
certificate_id: 5008024788664472487
|
||||
verify_id: NULL
|
||||
use_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 22:23:14+08:00
|
||||
consume_time: 2025-11-09 22:23:15+08:00
|
||||
|
||||
Row 9:
|
||||
platform_coupon_redemption_id: 2957850074205893
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
coupon_code: 0109020831527
|
||||
coupon_channel: 1
|
||||
coupon_name: 【全天可用】中八桌球一小时(A区)
|
||||
sale_price: 29.90
|
||||
coupon_money: 48.00
|
||||
coupon_free_time: 0
|
||||
channel_deal_id: 1128411555
|
||||
deal_id: 1345108507
|
||||
group_package_id: 0
|
||||
site_order_id: 2957850075041477
|
||||
table_id: 2793002896494725
|
||||
certificate_id: 5008024788716285174
|
||||
verify_id: NULL
|
||||
use_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 22:20:43+08:00
|
||||
consume_time: 2025-11-09 22:20:44+08:00
|
||||
|
||||
Row 10:
|
||||
platform_coupon_redemption_id: 2957848078339782
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
coupon_code: 0101731837724
|
||||
coupon_channel: 1
|
||||
coupon_name: 【全天可用】中八桌球一小时(A区)
|
||||
sale_price: 29.90
|
||||
coupon_money: 48.00
|
||||
coupon_free_time: 0
|
||||
channel_deal_id: 1128411555
|
||||
deal_id: 1345108507
|
||||
group_package_id: 0
|
||||
site_order_id: 2957848079290053
|
||||
table_id: 2792521437958213
|
||||
certificate_id: 5008024789213453495
|
||||
verify_id: NULL
|
||||
use_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 22:18:42+08:00
|
||||
consume_time: 2025-11-09 22:18:42+08:00
|
||||
|
||||
164
tmp/table_analysis/dwd_platform_coupon_redemption_ex.txt
Normal file
164
tmp/table_analysis/dwd_platform_coupon_redemption_ex.txt
Normal file
@@ -0,0 +1,164 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_platform_coupon_redemption_ex
|
||||
Primary Key: platform_coupon_redemption_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
platform_coupon_redemption_id: bigint | nullable=NO | PK
|
||||
coupon_cover: character varying(255) | nullable=YES
|
||||
coupon_remark: character varying(255) | nullable=YES
|
||||
groupon_type: integer | nullable=YES
|
||||
operator_id: bigint | nullable=YES
|
||||
operator_name: character varying(50) | nullable=YES
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
platform_coupon_redemption_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 16977
|
||||
Top values:
|
||||
2865395956010949: 1
|
||||
3031136843485061: 1
|
||||
2985826257373893: 1
|
||||
2957680199012165: 1
|
||||
2866729510473605: 1
|
||||
2884109377441222: 1
|
||||
2830529949486213: 1
|
||||
2980165642814917: 1
|
||||
2876868256696133: 1
|
||||
2938048205195653: 1
|
||||
2866760389119877: 1
|
||||
2884046761627013: 1
|
||||
2875704758456005: 1
|
||||
2811893553563845: 1
|
||||
2886961661217093: 1
|
||||
|
||||
coupon_cover:
|
||||
Total: 16977, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
coupon_remark:
|
||||
Total: 16977, Non-null: 1076, Distinct: 1060
|
||||
Top values:
|
||||
31fbb9ed-0236-4400-93a2-f7f789eacdd7||CgYIASAHKAESLgosaa1KWKwtqJMLQ3koqYj8WBAWc2r0VHvG11hD+i8OYG1RD4+ZgGPkhauYbXAaAA==,CgYIASAHKAESLgoslahjUW9A9/Xo9ygE32hoIlV3DnxcHDf/GAFzL3Cuy8OuJjseKYIZ9p2GVhcaAA==: 2
|
||||
0bf0c6c9-feac-4ec8-940c-a33a9523a4e7||CgYIASAHKAESLgos4abfngnQk8eLjpgBGf6jLOcXkOhP8TNjAtB1NbH47/nlt3Qt21vtXff/lQ8aAA==,CgYIASAHKAESLgosroRQivXSfCLfMb/j4P+rleb3EKOT762OFop1CqgBEn14kdEoewOghx5WijkaAA==: 2
|
||||
2719b84e-a584-42c9-a93a-cd8870e60b84||CgYIASAHKAESLgosP1cgM0vZzJsIirw7V+Pqw0nKzWeoLqXpHbZK8MZshR0Ys74ozEoUIXgI+RAaAA==,CgYIASAHKAESLgosUPlf9h7FDYfzYifQjRlHxaFq4qWaSx5jzXegIkVOnlcHauXknY2JqnA9Iu8aAA==: 2
|
||||
1fa35700-6f72-4099-9fd3-35321748b578||CgYIASAHKAESLgosC0GbZaL3+2vBqQIwWQUKaQCNK8eUOf6sDuLIzGwdKTCtljWGKMmD4RU2EbwaAA==,CgYIASAHKAESLgosjuzRte2TYdYPeJ18LleTKyB8taEHNV43JObTeFmsAAC/REOXiqiYmbvAi3oaAA==: 2
|
||||
e617b8e0-4c02-4795-83dc-f9e0c92d77e5||CgYIASAHKAESLgosjcyRiB6vzNUhcjA68ON/e6ZjsETURPYqudv2X7H8D8EH7c6iDAhhA6kQWkQaAA==,CgYIASAHKAESLgos6XqijF6SaBlksgnWZme8O7EcfcBtzzyTDN4QfqfShvozeeMcyJz46OFvTQEaAA==: 2
|
||||
0625300a-db35-42cf-9342-63acd729027d||CgYIASAHKAESLgosUbZi4/SkLe/N6DmVQv8qqYwieg46VO4rllffD/9QaZzB754oqHmGF4vd278aAA==,CgYIASAHKAESLgosueFVozH1kmvbLCWZxLtDpp1e+I5vf24ECVSK05Ir1NF0l1NGu5Z9HbPl80IaAA==: 2
|
||||
edb91233-f298-45bd-8f7c-2a9f73a77d92||CgYIASAHKAESLgoshbAEA+R9u/8Yb3YZD7Xy3+J/gwFcgwyq+cNqp0kZugRCtjKLs+OwPWFUhN4aAA==,CgYIASAHKAESLgosij8LJwyJTGtMECQzX5C2cJ+xxkpFRWlcC7Be0pxtWiAz5zghrL2tkvBj7xIaAA==: 2
|
||||
7673a2f7-490e-489f-9519-3f80fead293c||CgYIASAHKAESLgosn4ybMk8K+YWQoAglRJGkjZZdXo1TjtVIuVJosYrYMRqq8ZE2ll8CYYJuxEYaAA==,CgYIASAHKAESLgosZg3dtv1/AzRxNP3BegIuMPUkBYcZKMgAui5ZMSWQK1OKZfMg+jPpkDQlIKYaAA==: 2
|
||||
9ada05c0-c593-45cd-bcba-a9d0a85bff4c||CgYIASAHKAESLgosILxzvqsxK5EdG87wOx74T0zj6ooBpt0LpKGFoX2lNBT6a50kgLYFfPgRvUYaAA==,CgYIASAHKAESLgosO2TIKj9rstbNpcQ1MO39y/Tk0ldA4hoUj06nA5IQKKZtE1qMh0gJOTqa+ZIaAA==: 2
|
||||
ae98f848-0f26-4774-86bf-35c3f841dcef||CgYIASAHKAESLgos/Vo+GqrF1KE0qd4RHPdItKESZHJJ66CkuhD0a9Qh5QV+qtQO6ibhBf/ELBQaAA==,CgYIASAHKAESLgosFRk9cjXwKu+eFLfc5HT4pEg+SNsQcAg4oKa3ECgUFPZIEk+Alcy/5uAbamAaAA==: 2
|
||||
cf4916ed-fb32-4a4a-8ccf-d9975e2496b3||CgYIASAHKAESLgosaz+xQy6vHw3+pTnrRQ4EMr03JDMZIgUvuzCcM9YVI1K7dKL4NPLQdRz2tOMaAA==,CgYIASAHKAESLgosrapA8lNL7OqfqPJ0DL1FP8eqX0VbStmM8g5jlAm5OBikWvV0BV5NgSZ/q/gaAA==: 2
|
||||
526c658e-2ae6-44e3-bfc7-abdf03bab528||CgYIASAHKAESLgos5vufm565E2OK5uArPtjW7hV0wVhqSdP69jojA2b9ol+GzjcP2aUgkiV+VFAaAA==,CgYIASAHKAESLgosvF8XW1KzRPLi4YQvKRhBfaGTpam9Obti/3Vh4TfvLQPlnmn5P8Teblb13ysaAA==: 2
|
||||
0929b0f8-8b9d-42db-9aba-00dbc857380d||CgYIASAHKAESLgosl9Ki7h9jWsWp+eDjTlvp4Ler4cIq2VI6U0ofIBCotQXbo10nN0owVU+RQRUaAA==,CgYIASAHKAESLgosLDjzEEPPl4xIo97fRhP/ki3QH3LQ7CEZ2uQ/oOu4386vSJOH+tSBNj85EYwaAA==: 2
|
||||
d5508963-6922-4b93-b760-de3b6b1439c8||CgYIASAHKAESLgosqQH0/W7bZWtGVg0767I4PcyyREZOYUGevuoU2bC6medmivtljt2yp6Ub1LwaAA==,CgYIASAHKAESLgosbytF55bAjBMFW4kVJLmFmBOhQv/Z7sc9O7+xqZsBMOwQP8+/bGWJcY9u5owaAA==: 2
|
||||
f714511b-88fe-4cca-ace4-5495e64bb232||CgYIASAHKAESLgosm8hOHELfNpUU/naLYa1Mwh0WUAsPsqcY3v15KRCUMxlOZxjMV7dyMdoKUq8aAA==,CgYIASAHKAESLgosseuueCO+s7EyCnQc6gZKUPXRhWTTtXwHEcfOi3yX2fYngfgWJveHv2gSEYUaAA==: 2
|
||||
|
||||
groupon_type:
|
||||
Total: 16977, Non-null: 16977, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 16977
|
||||
|
||||
operator_id:
|
||||
Total: 16977, Non-null: 16977, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790687322443013: 16976
|
||||
2801909606452165: 1
|
||||
|
||||
operator_name:
|
||||
Total: 16977, Non-null: 16977, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
收银员:郑丽珊: 16968
|
||||
店长:郑丽珊: 8
|
||||
收银员:郑丽珍: 1
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['platform_coupon_redemption_id', 'coupon_cover', 'coupon_remark', 'groupon_type', 'operator_id', 'operator_name']
|
||||
|
||||
Row 1:
|
||||
platform_coupon_redemption_id: 2957929042218501
|
||||
coupon_cover: NULL
|
||||
coupon_remark: NULL
|
||||
groupon_type: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 2:
|
||||
platform_coupon_redemption_id: 2957927120064005
|
||||
coupon_cover: NULL
|
||||
coupon_remark: NULL
|
||||
groupon_type: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 3:
|
||||
platform_coupon_redemption_id: 2957925992500742
|
||||
coupon_cover: NULL
|
||||
coupon_remark: NULL
|
||||
groupon_type: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 4:
|
||||
platform_coupon_redemption_id: 2957925992500741
|
||||
coupon_cover: NULL
|
||||
coupon_remark: NULL
|
||||
groupon_type: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 5:
|
||||
platform_coupon_redemption_id: 2957916919909893
|
||||
coupon_cover: NULL
|
||||
coupon_remark: NULL
|
||||
groupon_type: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 6:
|
||||
platform_coupon_redemption_id: 2957861876944773
|
||||
coupon_cover: NULL
|
||||
coupon_remark: NULL
|
||||
groupon_type: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 7:
|
||||
platform_coupon_redemption_id: 2957858166460101
|
||||
coupon_cover: NULL
|
||||
coupon_remark: NULL
|
||||
groupon_type: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 8:
|
||||
platform_coupon_redemption_id: 2957852540358149
|
||||
coupon_cover: NULL
|
||||
coupon_remark: NULL
|
||||
groupon_type: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 9:
|
||||
platform_coupon_redemption_id: 2957850074205893
|
||||
coupon_cover: NULL
|
||||
coupon_remark: NULL
|
||||
groupon_type: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
Row 10:
|
||||
platform_coupon_redemption_id: 2957848078339782
|
||||
coupon_cover: NULL
|
||||
coupon_remark: NULL
|
||||
groupon_type: 1
|
||||
operator_id: 2790687322443013
|
||||
operator_name: 收银员:郑丽珊
|
||||
|
||||
406
tmp/table_analysis/dwd_recharge_order.txt
Normal file
406
tmp/table_analysis/dwd_recharge_order.txt
Normal file
@@ -0,0 +1,406 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_recharge_order
|
||||
Primary Key: recharge_order_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
recharge_order_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
member_id: bigint | nullable=YES |
|
||||
member_name_snapshot: text | nullable=YES |
|
||||
member_phone_snapshot: text | nullable=YES |
|
||||
tenant_member_card_id: bigint | nullable=YES |
|
||||
member_card_type_name: text | nullable=YES |
|
||||
settle_relate_id: bigint | nullable=YES |
|
||||
settle_type: integer | nullable=YES |
|
||||
settle_name: text | nullable=YES |
|
||||
is_first: integer | nullable=YES |
|
||||
pay_amount: numeric(18,2) | nullable=YES |
|
||||
refund_amount: numeric(18,2) | nullable=YES |
|
||||
point_amount: numeric(18,2) | nullable=YES |
|
||||
cash_amount: numeric(18,2) | nullable=YES |
|
||||
payment_method: integer | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
pay_time: timestamp with time zone | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
recharge_order_id:
|
||||
Total: 455, Non-null: 455, Distinct: 455
|
||||
Top values:
|
||||
2820575942133829: 1
|
||||
2854848858425093: 1
|
||||
2913844390610501: 1
|
||||
3005078168471557: 1
|
||||
2839291793787205: 1
|
||||
2995833615503621: 1
|
||||
3005099972970565: 1
|
||||
2952293091821189: 1
|
||||
2954877830662341: 1
|
||||
3038783509171397: 1
|
||||
2843295798890053: 1
|
||||
2827776994954437: 1
|
||||
2805121951074373: 1
|
||||
2955205277092101: 1
|
||||
2815107864956613: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 455
|
||||
|
||||
site_id:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 455
|
||||
|
||||
member_id:
|
||||
Total: 455, Non-null: 455, Distinct: 104
|
||||
Top values:
|
||||
2799207522600709: 54
|
||||
2799207359858437: 28
|
||||
2799212491392773: 25
|
||||
2799207124305669: 24
|
||||
2820625955784965: 21
|
||||
2799209806071557: 15
|
||||
2799207519176453: 13
|
||||
2799207363643141: 13
|
||||
2799207290996485: 13
|
||||
2799207342704389: 12
|
||||
2799207287523077: 11
|
||||
2799207599212293: 10
|
||||
2799207378798341: 10
|
||||
2995832745758917: 9
|
||||
2799212473452293: 8
|
||||
|
||||
member_name_snapshot:
|
||||
Total: 455, Non-null: 455, Distinct: 85
|
||||
Top values:
|
||||
轩哥: 54
|
||||
罗先生: 30
|
||||
蔡总: 25
|
||||
陈腾鑫: 24
|
||||
江先生: 21
|
||||
陈先生: 17
|
||||
陈德韩: 15
|
||||
夏: 13
|
||||
葛先生: 13
|
||||
叶先生: 12
|
||||
周先生: 12
|
||||
黄先生: 11
|
||||
汪先生: 11
|
||||
羊: 10
|
||||
小熊: 10
|
||||
|
||||
member_phone_snapshot:
|
||||
Total: 455, Non-null: 455, Distinct: 101
|
||||
Top values:
|
||||
18826267530: 54
|
||||
13924036996: 28
|
||||
15914338893: 25
|
||||
17817318218: 24
|
||||
18819484838: 21
|
||||
13431017864: 15
|
||||
15915782829: 13
|
||||
13811638071: 13
|
||||
19120942851: 13
|
||||
13826479539: 12
|
||||
13925126339: 11
|
||||
13927020145: 10
|
||||
18785445094: 10
|
||||
19350986822: 9
|
||||
17820474026: 8
|
||||
|
||||
tenant_member_card_id:
|
||||
Total: 455, Non-null: 455, Distinct: 104
|
||||
Top values:
|
||||
2799217444914949: 54
|
||||
2799218552833797: 28
|
||||
2799219205424901: 25
|
||||
2799215988246277: 24
|
||||
2820628725778629: 21
|
||||
2799218773034757: 15
|
||||
2799217048848133: 13
|
||||
2799216397240069: 13
|
||||
2799216572794629: 13
|
||||
2799216610576133: 12
|
||||
2799218289641221: 11
|
||||
2799216615507717: 10
|
||||
2799217260676869: 10
|
||||
2995832746102981: 9
|
||||
2799219182782213: 8
|
||||
|
||||
member_card_type_name:
|
||||
Total: 455, Non-null: 455, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
储值卡: 448
|
||||
月卡: 7
|
||||
|
||||
settle_relate_id:
|
||||
Total: 455, Non-null: 455, Distinct: 455
|
||||
Top values:
|
||||
2803661545442885: 1
|
||||
3039944741750533: 1
|
||||
3013266134322949: 1
|
||||
2836326391760965: 1
|
||||
3004683494312005: 1
|
||||
3013579608493701: 1
|
||||
3021353084536901: 1
|
||||
2941311378837445: 1
|
||||
3032781041421445: 1
|
||||
2833327170882757: 1
|
||||
2999105595558405: 1
|
||||
2999136861178245: 1
|
||||
2823523476212869: 1
|
||||
2818227237948997: 1
|
||||
3039974178473861: 1
|
||||
|
||||
settle_type:
|
||||
Total: 455, Non-null: 455, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
5: 446
|
||||
7: 9
|
||||
|
||||
settle_name:
|
||||
Total: 455, Non-null: 455, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
充值订单: 446
|
||||
充值撤销: 9
|
||||
|
||||
is_first:
|
||||
Total: 455, Non-null: 455, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 349
|
||||
1: 106
|
||||
|
||||
payment_method:
|
||||
Total: 455, Non-null: 455, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
4: 441
|
||||
1: 9
|
||||
2: 5
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['recharge_order_id', 'tenant_id', 'site_id', 'member_id', 'member_name_snapshot', 'member_phone_snapshot', 'tenant_member_card_id', 'member_card_type_name', 'settle_relate_id', 'settle_type', 'settle_name', 'is_first', 'pay_amount', 'refund_amount', 'point_amount', 'cash_amount', 'payment_method', 'create_time', 'pay_time']
|
||||
|
||||
Row 1:
|
||||
recharge_order_id: 2956757480820613
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
member_id: 2799207159990021
|
||||
member_name_snapshot: 邓飛
|
||||
member_phone_snapshot: 13600009597
|
||||
tenant_member_card_id: 2799216107980549
|
||||
member_card_type_name: 储值卡
|
||||
settle_relate_id: 2956757480443781
|
||||
settle_type: 5
|
||||
settle_name: 充值订单
|
||||
is_first: 2
|
||||
pay_amount: 1000.00
|
||||
refund_amount: 0.00
|
||||
point_amount: 1000.00
|
||||
cash_amount: 0.00
|
||||
payment_method: 4
|
||||
create_time: 2025-11-09 03:49:17+08:00
|
||||
pay_time: 2025-11-09 03:49:17+08:00
|
||||
|
||||
Row 2:
|
||||
recharge_order_id: 2956721495543301
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
member_id: 2955204541320325
|
||||
member_name_snapshot: 胡先生
|
||||
member_phone_snapshot: 18620043391
|
||||
tenant_member_card_id: 2955204541615237
|
||||
member_card_type_name: 储值卡
|
||||
settle_relate_id: 2956721495166469
|
||||
settle_type: 5
|
||||
settle_name: 充值订单
|
||||
is_first: 2
|
||||
pay_amount: 3000.00
|
||||
refund_amount: 0.00
|
||||
point_amount: 3000.00
|
||||
cash_amount: 0.00
|
||||
payment_method: 4
|
||||
create_time: 2025-11-09 03:12:40+08:00
|
||||
pay_time: 2025-11-09 03:12:41+08:00
|
||||
|
||||
Row 3:
|
||||
recharge_order_id: 2956701447835141
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
member_id: 2799207519176453
|
||||
member_name_snapshot: 夏
|
||||
member_phone_snapshot: 19120942851
|
||||
tenant_member_card_id: 2799217048848133
|
||||
member_card_type_name: 储值卡
|
||||
settle_relate_id: 2956701447507461
|
||||
settle_type: 5
|
||||
settle_name: 充值订单
|
||||
is_first: 2
|
||||
pay_amount: 3000.00
|
||||
refund_amount: 0.00
|
||||
point_amount: 3000.00
|
||||
cash_amount: 0.00
|
||||
payment_method: 4
|
||||
create_time: 2025-11-09 02:52:17+08:00
|
||||
pay_time: 2025-11-09 02:52:17+08:00
|
||||
|
||||
Row 4:
|
||||
recharge_order_id: 2955465501214917
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
member_id: 2799207522600709
|
||||
member_name_snapshot: 轩哥
|
||||
member_phone_snapshot: 18826267530
|
||||
tenant_member_card_id: 2799217444914949
|
||||
member_card_type_name: 储值卡
|
||||
settle_relate_id: 2955465500805317
|
||||
settle_type: 5
|
||||
settle_name: 充值订单
|
||||
is_first: 2
|
||||
pay_amount: 5000.00
|
||||
refund_amount: 0.00
|
||||
point_amount: 5000.00
|
||||
cash_amount: 0.00
|
||||
payment_method: 4
|
||||
create_time: 2025-11-08 05:55:01+08:00
|
||||
pay_time: 2025-11-08 05:55:01+08:00
|
||||
|
||||
Row 5:
|
||||
recharge_order_id: 2955205277092101
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
member_id: 2955204541320325
|
||||
member_name_snapshot: 胡先生
|
||||
member_phone_snapshot: 18620043391
|
||||
tenant_member_card_id: 2955204541615237
|
||||
member_card_type_name: 储值卡
|
||||
settle_relate_id: 2955205276682501
|
||||
settle_type: 5
|
||||
settle_name: 充值订单
|
||||
is_first: 1
|
||||
pay_amount: 5000.00
|
||||
refund_amount: 0.00
|
||||
point_amount: 5000.00
|
||||
cash_amount: 0.00
|
||||
payment_method: 4
|
||||
create_time: 2025-11-08 01:30:18+08:00
|
||||
pay_time: 2025-11-08 01:30:18+08:00
|
||||
|
||||
Row 6:
|
||||
recharge_order_id: 2955202288371845
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
member_id: 2799207378798341
|
||||
member_name_snapshot: 羊
|
||||
member_phone_snapshot: 18785445094
|
||||
tenant_member_card_id: 2799216615507717
|
||||
member_card_type_name: 储值卡
|
||||
settle_relate_id: 2955202288175237
|
||||
settle_type: 7
|
||||
settle_name: 充值撤销
|
||||
is_first: 2
|
||||
pay_amount: -5000.00
|
||||
refund_amount: 0.00
|
||||
point_amount: 0.00
|
||||
cash_amount: 0.00
|
||||
payment_method: 1
|
||||
create_time: 2025-11-08 01:27:15+08:00
|
||||
pay_time: 2025-11-08 01:27:15+08:00
|
||||
|
||||
Row 7:
|
||||
recharge_order_id: 2955171778824325
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
member_id: 2799207378798341
|
||||
member_name_snapshot: 羊
|
||||
member_phone_snapshot: 18785445094
|
||||
tenant_member_card_id: 2799216615507717
|
||||
member_card_type_name: 储值卡
|
||||
settle_relate_id: 2955171778627717
|
||||
settle_type: 7
|
||||
settle_name: 充值撤销
|
||||
is_first: 2
|
||||
pay_amount: -10000.00
|
||||
refund_amount: 0.00
|
||||
point_amount: 0.00
|
||||
cash_amount: 0.00
|
||||
payment_method: 1
|
||||
create_time: 2025-11-08 00:56:13+08:00
|
||||
pay_time: 2025-11-08 00:56:13+08:00
|
||||
|
||||
Row 8:
|
||||
recharge_order_id: 2955153378510917
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
member_id: 2799207378798341
|
||||
member_name_snapshot: 羊
|
||||
member_phone_snapshot: 18785445094
|
||||
tenant_member_card_id: 2799216615507717
|
||||
member_card_type_name: 储值卡
|
||||
settle_relate_id: 2955153378117701
|
||||
settle_type: 5
|
||||
settle_name: 充值订单
|
||||
is_first: 2
|
||||
pay_amount: 10000.00
|
||||
refund_amount: 10000.00
|
||||
point_amount: 10000.00
|
||||
cash_amount: 0.00
|
||||
payment_method: 4
|
||||
create_time: 2025-11-08 00:37:30+08:00
|
||||
pay_time: 2025-11-08 00:37:30+08:00
|
||||
|
||||
Row 9:
|
||||
recharge_order_id: 2955100358478085
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
member_id: 2799207124305669
|
||||
member_name_snapshot: 陈腾鑫
|
||||
member_phone_snapshot: 17817318218
|
||||
tenant_member_card_id: 2799215988246277
|
||||
member_card_type_name: 储值卡
|
||||
settle_relate_id: 2955100358117637
|
||||
settle_type: 5
|
||||
settle_name: 充值订单
|
||||
is_first: 2
|
||||
pay_amount: 1000.00
|
||||
refund_amount: 0.00
|
||||
point_amount: 1000.00
|
||||
cash_amount: 0.00
|
||||
payment_method: 4
|
||||
create_time: 2025-11-07 23:43:34+08:00
|
||||
pay_time: 2025-11-07 23:43:34+08:00
|
||||
|
||||
Row 10:
|
||||
recharge_order_id: 2955078217844933
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
member_id: 2799207378798341
|
||||
member_name_snapshot: 羊
|
||||
member_phone_snapshot: 18785445094
|
||||
tenant_member_card_id: 2799216615507717
|
||||
member_card_type_name: 储值卡
|
||||
settle_relate_id: 2955078217484485
|
||||
settle_type: 5
|
||||
settle_name: 充值订单
|
||||
is_first: 2
|
||||
pay_amount: 5000.00
|
||||
refund_amount: 5000.00
|
||||
point_amount: 5000.00
|
||||
cash_amount: 0.00
|
||||
payment_method: 4
|
||||
create_time: 2025-11-07 23:21:03+08:00
|
||||
pay_time: 2025-11-07 23:21:03+08:00
|
||||
|
||||
166
tmp/table_analysis/dwd_recharge_order_ex.txt
Normal file
166
tmp/table_analysis/dwd_recharge_order_ex.txt
Normal file
@@ -0,0 +1,166 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_recharge_order_ex
|
||||
Primary Key: recharge_order_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
recharge_order_id: bigint | nullable=NO | PK
|
||||
site_name_snapshot: text | nullable=YES |
|
||||
settle_status: integer | nullable=YES |
|
||||
is_bind_member: boolean | nullable=YES |
|
||||
is_activity: boolean | nullable=YES |
|
||||
is_use_coupon: boolean | nullable=YES |
|
||||
is_use_discount: boolean | nullable=YES |
|
||||
can_be_revoked: boolean | nullable=YES |
|
||||
online_amount: numeric(18,2) | nullable=YES |
|
||||
balance_amount: numeric(18,2) | nullable=YES |
|
||||
card_amount: numeric(18,2) | nullable=YES |
|
||||
coupon_amount: numeric(18,2) | nullable=YES |
|
||||
recharge_card_amount: numeric(18,2) | nullable=YES |
|
||||
gift_card_amount: numeric(18,2) | nullable=YES |
|
||||
prepay_money: numeric(18,2) | nullable=YES |
|
||||
consume_money: numeric(18,2) | nullable=YES |
|
||||
goods_money: numeric(18,2) | nullable=YES |
|
||||
real_goods_money: numeric(18,2) | nullable=YES |
|
||||
table_charge_money: numeric(18,2) | nullable=YES |
|
||||
service_money: numeric(18,2) | nullable=YES |
|
||||
activity_discount: numeric(18,2) | nullable=YES |
|
||||
all_coupon_discount: numeric(18,2) | nullable=YES |
|
||||
goods_promotion_money: numeric(18,2) | nullable=YES |
|
||||
assistant_promotion_money: numeric(18,2) | nullable=YES |
|
||||
assistant_pd_money: numeric(18,2) | nullable=YES |
|
||||
assistant_cx_money: numeric(18,2) | nullable=YES |
|
||||
assistant_manual_discount: numeric(18,2) | nullable=YES |
|
||||
coupon_sale_amount: numeric(18,2) | nullable=YES |
|
||||
member_discount_amount: numeric(18,2) | nullable=YES |
|
||||
point_discount_price: numeric(18,2) | nullable=YES |
|
||||
point_discount_cost: numeric(18,2) | nullable=YES |
|
||||
adjust_amount: numeric(18,2) | nullable=YES |
|
||||
rounding_amount: numeric(18,2) | nullable=YES |
|
||||
operator_id: bigint | nullable=YES |
|
||||
operator_name_snapshot: text | nullable=YES |
|
||||
salesman_user_id: bigint | nullable=YES |
|
||||
salesman_name: text | nullable=YES |
|
||||
order_remark: text | nullable=YES |
|
||||
table_id: integer | nullable=YES |
|
||||
serial_number: integer | nullable=YES |
|
||||
revoke_order_id: bigint | nullable=YES |
|
||||
revoke_order_name: text | nullable=YES |
|
||||
revoke_time: timestamp with time zone | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
recharge_order_id:
|
||||
Total: 455, Non-null: 455, Distinct: 455
|
||||
Top values:
|
||||
2917921298729925: 1
|
||||
2820575942133829: 1
|
||||
3013155050950085: 1
|
||||
2854848858425093: 1
|
||||
2913844390610501: 1
|
||||
2936177402742341: 1
|
||||
3005078168471557: 1
|
||||
3021353085454405: 1
|
||||
2839291793787205: 1
|
||||
2995833615503621: 1
|
||||
3005099972970565: 1
|
||||
2952293091821189: 1
|
||||
3053072921219077: 1
|
||||
2976185479891077: 1
|
||||
2954877830662341: 1
|
||||
|
||||
site_name_snapshot:
|
||||
Total: 455, Non-null: 374, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 374
|
||||
|
||||
settle_status:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 455
|
||||
|
||||
is_bind_member:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 455
|
||||
|
||||
is_activity:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 455
|
||||
|
||||
is_use_coupon:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 455
|
||||
|
||||
is_use_discount:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 455
|
||||
|
||||
can_be_revoked:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 455
|
||||
|
||||
operator_id:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790687322443013: 455
|
||||
|
||||
operator_name_snapshot:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
收银员:郑丽珊: 455
|
||||
|
||||
salesman_user_id:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 455
|
||||
|
||||
salesman_name:
|
||||
Total: 455, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
order_remark:
|
||||
Total: 455, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
table_id:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 455
|
||||
|
||||
serial_number:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 455
|
||||
|
||||
revoke_order_id:
|
||||
Total: 455, Non-null: 455, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 455
|
||||
|
||||
revoke_order_name:
|
||||
Total: 455, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
No sample data available.
|
||||
244
tmp/table_analysis/dwd_refund.txt
Normal file
244
tmp/table_analysis/dwd_refund.txt
Normal file
@@ -0,0 +1,244 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_refund
|
||||
Primary Key: refund_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
refund_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
relate_type: integer | nullable=YES |
|
||||
relate_id: bigint | nullable=YES |
|
||||
pay_amount: numeric(18,2) | nullable=YES |
|
||||
channel_fee: numeric(18,2) | nullable=YES |
|
||||
pay_time: timestamp with time zone | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
payment_method: integer | nullable=YES |
|
||||
member_id: bigint | nullable=YES |
|
||||
member_card_id: bigint | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
refund_id:
|
||||
Total: 45, Non-null: 45, Distinct: 45
|
||||
Top values:
|
||||
2899369734589381: 1
|
||||
2970732399348869: 1
|
||||
2985661358707397: 1
|
||||
2951883030513413: 1
|
||||
3038756832234821: 1
|
||||
2948269239095045: 1
|
||||
2967433935357637: 1
|
||||
3042871700817797: 1
|
||||
2931109065131653: 1
|
||||
2977293299926853: 1
|
||||
2919690732146181: 1
|
||||
3023410603902917: 1
|
||||
2990528572459717: 1
|
||||
3004097305612997: 1
|
||||
3005642933373061: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 45
|
||||
|
||||
site_id:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 45
|
||||
|
||||
relate_type:
|
||||
Total: 45, Non-null: 45, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 31
|
||||
5: 7
|
||||
1: 7
|
||||
|
||||
relate_id:
|
||||
Total: 45, Non-null: 45, Distinct: 44
|
||||
Top values:
|
||||
2948246513454661: 2
|
||||
2970731884121221: 1
|
||||
2990525684091525: 1
|
||||
2974815237903237: 1
|
||||
2899368952286213: 1
|
||||
3001688743250949: 1
|
||||
3010369794509318: 1
|
||||
3005642658105477: 1
|
||||
2968954827492229: 1
|
||||
2914030720124357: 1
|
||||
3046931113969541: 1
|
||||
2931108522378885: 1
|
||||
3063630706494661: 1
|
||||
2955078219057349: 1
|
||||
3022919500843077: 1
|
||||
|
||||
payment_method:
|
||||
Total: 45, Non-null: 45, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
4: 43
|
||||
2: 2
|
||||
|
||||
member_id:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 45
|
||||
|
||||
member_card_id:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 45
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['refund_id', 'tenant_id', 'site_id', 'relate_type', 'relate_id', 'pay_amount', 'channel_fee', 'pay_time', 'create_time', 'payment_method', 'member_id', 'member_card_id']
|
||||
|
||||
Row 1:
|
||||
refund_id: 2955202296416389
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
relate_type: 5
|
||||
relate_id: 2955078219057349
|
||||
pay_amount: -5000.00
|
||||
channel_fee: 0.00
|
||||
pay_time: 2025-11-08 01:27:16+08:00
|
||||
create_time: 2025-11-08 01:27:16+08:00
|
||||
payment_method: 4
|
||||
member_id: 0
|
||||
member_card_id: 0
|
||||
|
||||
Row 2:
|
||||
refund_id: 2955171790194821
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
relate_type: 5
|
||||
relate_id: 2955153380001861
|
||||
pay_amount: -10000.00
|
||||
channel_fee: 0.00
|
||||
pay_time: 2025-11-08 00:56:14+08:00
|
||||
create_time: 2025-11-08 00:56:14+08:00
|
||||
payment_method: 4
|
||||
member_id: 0
|
||||
member_card_id: 0
|
||||
|
||||
Row 3:
|
||||
refund_id: 2951883030513413
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2951881496577861
|
||||
pay_amount: -12.00
|
||||
channel_fee: 0.00
|
||||
pay_time: 2025-11-05 17:10:44+08:00
|
||||
create_time: 2025-11-05 17:10:44+08:00
|
||||
payment_method: 4
|
||||
member_id: 0
|
||||
member_card_id: 0
|
||||
|
||||
Row 4:
|
||||
refund_id: 2948959062542597
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2948934289967557
|
||||
pay_amount: -65.00
|
||||
channel_fee: 0.00
|
||||
pay_time: 2025-11-03 15:36:19+08:00
|
||||
create_time: 2025-11-03 15:36:19+08:00
|
||||
payment_method: 4
|
||||
member_id: 0
|
||||
member_card_id: 0
|
||||
|
||||
Row 5:
|
||||
refund_id: 2948630468005509
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2948246513454661
|
||||
pay_amount: -88.33
|
||||
channel_fee: 0.00
|
||||
pay_time: 2025-11-03 10:02:03+08:00
|
||||
create_time: 2025-11-03 10:02:03+08:00
|
||||
payment_method: 4
|
||||
member_id: 0
|
||||
member_card_id: 0
|
||||
|
||||
Row 6:
|
||||
refund_id: 2948269239095045
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2948246513454661
|
||||
pay_amount: -0.67
|
||||
channel_fee: 0.00
|
||||
pay_time: 2025-11-03 03:54:36+08:00
|
||||
create_time: 2025-11-03 03:54:36+08:00
|
||||
payment_method: 4
|
||||
member_id: 0
|
||||
member_card_id: 0
|
||||
|
||||
Row 7:
|
||||
refund_id: 2944743812581445
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
relate_type: 5
|
||||
relate_id: 2944743413958789
|
||||
pay_amount: -44000.00
|
||||
channel_fee: 0.00
|
||||
pay_time: 2025-10-31 16:08:21+08:00
|
||||
create_time: 2025-10-31 16:08:21+08:00
|
||||
payment_method: 4
|
||||
member_id: 0
|
||||
member_card_id: 0
|
||||
|
||||
Row 8:
|
||||
refund_id: 2931109065131653
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2931108522378885
|
||||
pay_amount: -10.00
|
||||
channel_fee: 0.00
|
||||
pay_time: 2025-10-22 00:58:22+08:00
|
||||
create_time: 2025-10-22 00:58:22+08:00
|
||||
payment_method: 4
|
||||
member_id: 0
|
||||
member_card_id: 0
|
||||
|
||||
Row 9:
|
||||
refund_id: 2921195994465669
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
relate_type: 2
|
||||
relate_id: 2920440691344901
|
||||
pay_amount: -2.00
|
||||
channel_fee: 0.00
|
||||
pay_time: 2025-10-15 00:54:16+08:00
|
||||
create_time: 2025-10-15 00:54:16+08:00
|
||||
payment_method: 4
|
||||
member_id: 0
|
||||
member_card_id: 0
|
||||
|
||||
Row 10:
|
||||
refund_id: 2919690732146181
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
relate_type: 5
|
||||
relate_id: 2919519811440261
|
||||
pay_amount: -3000.00
|
||||
channel_fee: 0.00
|
||||
pay_time: 2025-10-13 23:23:02+08:00
|
||||
create_time: 2025-10-13 23:23:02+08:00
|
||||
payment_method: 4
|
||||
member_id: 0
|
||||
member_card_id: 0
|
||||
|
||||
360
tmp/table_analysis/dwd_refund_ex.txt
Normal file
360
tmp/table_analysis/dwd_refund_ex.txt
Normal file
@@ -0,0 +1,360 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_refund_ex
|
||||
Primary Key: refund_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
refund_id: bigint | nullable=NO | PK
|
||||
tenant_name: character varying(64) | nullable=YES |
|
||||
pay_sn: bigint | nullable=YES |
|
||||
refund_amount: numeric(18,2) | nullable=YES |
|
||||
round_amount: numeric(18,2) | nullable=YES |
|
||||
balance_frozen_amount: numeric(18,2) | nullable=YES |
|
||||
card_frozen_amount: numeric(18,2) | nullable=YES |
|
||||
pay_status: integer | nullable=YES |
|
||||
action_type: integer | nullable=YES |
|
||||
is_revoke: integer | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
check_status: integer | nullable=YES |
|
||||
online_pay_channel: integer | nullable=YES |
|
||||
online_pay_type: integer | nullable=YES |
|
||||
pay_terminal: integer | nullable=YES |
|
||||
pay_config_id: integer | nullable=YES |
|
||||
cashier_point_id: integer | nullable=YES |
|
||||
operator_id: bigint | nullable=YES |
|
||||
channel_payer_id: character varying(128) | nullable=YES |
|
||||
channel_pay_no: character varying(128) | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
refund_id:
|
||||
Total: 45, Non-null: 45, Distinct: 45
|
||||
Top values:
|
||||
2955171790194821: 1
|
||||
3010370563410373: 1
|
||||
2967433935357637: 1
|
||||
3047989151893189: 1
|
||||
3042871700817797: 1
|
||||
2931109065131653: 1
|
||||
2977293299926853: 1
|
||||
2951883030513413: 1
|
||||
2919690732146181: 1
|
||||
3038756832234821: 1
|
||||
2888536816749061: 1
|
||||
3023410603902917: 1
|
||||
2990528572459717: 1
|
||||
3004097305612997: 1
|
||||
2948959062542597: 1
|
||||
|
||||
tenant_name:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 45
|
||||
|
||||
pay_sn:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 45
|
||||
|
||||
pay_status:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 45
|
||||
|
||||
action_type:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 45
|
||||
|
||||
is_revoke:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 45
|
||||
|
||||
is_delete:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 45
|
||||
|
||||
check_status:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 45
|
||||
|
||||
online_pay_channel:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 45
|
||||
|
||||
online_pay_type:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 45
|
||||
|
||||
pay_terminal:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 45
|
||||
|
||||
pay_config_id:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 45
|
||||
|
||||
cashier_point_id:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 45
|
||||
|
||||
operator_id:
|
||||
Total: 45, Non-null: 45, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 45
|
||||
|
||||
channel_payer_id:
|
||||
Total: 45, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
channel_pay_no:
|
||||
Total: 45, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['refund_id', 'tenant_name', 'pay_sn', 'refund_amount', 'round_amount', 'balance_frozen_amount', 'card_frozen_amount', 'pay_status', 'action_type', 'is_revoke', 'is_delete', 'check_status', 'online_pay_channel', 'online_pay_type', 'pay_terminal', 'pay_config_id', 'cashier_point_id', 'operator_id', 'channel_payer_id', 'channel_pay_no']
|
||||
|
||||
Row 1:
|
||||
refund_id: 2955202296416389
|
||||
tenant_name: 朗朗桌球
|
||||
pay_sn: 0
|
||||
refund_amount: 0.00
|
||||
round_amount: 0.00
|
||||
balance_frozen_amount: 0.00
|
||||
card_frozen_amount: 0.00
|
||||
pay_status: 2
|
||||
action_type: 2
|
||||
is_revoke: 0
|
||||
is_delete: 0
|
||||
check_status: 1
|
||||
online_pay_channel: 0
|
||||
online_pay_type: 0
|
||||
pay_terminal: 1
|
||||
pay_config_id: 0
|
||||
cashier_point_id: 0
|
||||
operator_id: 0
|
||||
channel_payer_id: NULL
|
||||
channel_pay_no: NULL
|
||||
|
||||
Row 2:
|
||||
refund_id: 2955171790194821
|
||||
tenant_name: 朗朗桌球
|
||||
pay_sn: 0
|
||||
refund_amount: 0.00
|
||||
round_amount: 0.00
|
||||
balance_frozen_amount: 0.00
|
||||
card_frozen_amount: 0.00
|
||||
pay_status: 2
|
||||
action_type: 2
|
||||
is_revoke: 0
|
||||
is_delete: 0
|
||||
check_status: 1
|
||||
online_pay_channel: 0
|
||||
online_pay_type: 0
|
||||
pay_terminal: 1
|
||||
pay_config_id: 0
|
||||
cashier_point_id: 0
|
||||
operator_id: 0
|
||||
channel_payer_id: NULL
|
||||
channel_pay_no: NULL
|
||||
|
||||
Row 3:
|
||||
refund_id: 2951883030513413
|
||||
tenant_name: 朗朗桌球
|
||||
pay_sn: 0
|
||||
refund_amount: 0.00
|
||||
round_amount: 0.00
|
||||
balance_frozen_amount: 0.00
|
||||
card_frozen_amount: 0.00
|
||||
pay_status: 2
|
||||
action_type: 2
|
||||
is_revoke: 0
|
||||
is_delete: 0
|
||||
check_status: 1
|
||||
online_pay_channel: 0
|
||||
online_pay_type: 0
|
||||
pay_terminal: 1
|
||||
pay_config_id: 0
|
||||
cashier_point_id: 0
|
||||
operator_id: 0
|
||||
channel_payer_id: NULL
|
||||
channel_pay_no: NULL
|
||||
|
||||
Row 4:
|
||||
refund_id: 2948959062542597
|
||||
tenant_name: 朗朗桌球
|
||||
pay_sn: 0
|
||||
refund_amount: 0.00
|
||||
round_amount: 0.00
|
||||
balance_frozen_amount: 0.00
|
||||
card_frozen_amount: 0.00
|
||||
pay_status: 2
|
||||
action_type: 2
|
||||
is_revoke: 0
|
||||
is_delete: 0
|
||||
check_status: 1
|
||||
online_pay_channel: 0
|
||||
online_pay_type: 0
|
||||
pay_terminal: 1
|
||||
pay_config_id: 0
|
||||
cashier_point_id: 0
|
||||
operator_id: 0
|
||||
channel_payer_id: NULL
|
||||
channel_pay_no: NULL
|
||||
|
||||
Row 5:
|
||||
refund_id: 2948630468005509
|
||||
tenant_name: 朗朗桌球
|
||||
pay_sn: 0
|
||||
refund_amount: 0.00
|
||||
round_amount: 0.00
|
||||
balance_frozen_amount: 0.00
|
||||
card_frozen_amount: 0.00
|
||||
pay_status: 2
|
||||
action_type: 2
|
||||
is_revoke: 0
|
||||
is_delete: 0
|
||||
check_status: 1
|
||||
online_pay_channel: 0
|
||||
online_pay_type: 0
|
||||
pay_terminal: 1
|
||||
pay_config_id: 0
|
||||
cashier_point_id: 0
|
||||
operator_id: 0
|
||||
channel_payer_id: NULL
|
||||
channel_pay_no: NULL
|
||||
|
||||
Row 6:
|
||||
refund_id: 2948269239095045
|
||||
tenant_name: 朗朗桌球
|
||||
pay_sn: 0
|
||||
refund_amount: 0.00
|
||||
round_amount: 0.00
|
||||
balance_frozen_amount: 0.00
|
||||
card_frozen_amount: 0.00
|
||||
pay_status: 2
|
||||
action_type: 2
|
||||
is_revoke: 0
|
||||
is_delete: 0
|
||||
check_status: 1
|
||||
online_pay_channel: 0
|
||||
online_pay_type: 0
|
||||
pay_terminal: 1
|
||||
pay_config_id: 0
|
||||
cashier_point_id: 0
|
||||
operator_id: 0
|
||||
channel_payer_id: NULL
|
||||
channel_pay_no: NULL
|
||||
|
||||
Row 7:
|
||||
refund_id: 2944743812581445
|
||||
tenant_name: 朗朗桌球
|
||||
pay_sn: 0
|
||||
refund_amount: 0.00
|
||||
round_amount: 0.00
|
||||
balance_frozen_amount: 0.00
|
||||
card_frozen_amount: 0.00
|
||||
pay_status: 2
|
||||
action_type: 2
|
||||
is_revoke: 0
|
||||
is_delete: 0
|
||||
check_status: 1
|
||||
online_pay_channel: 0
|
||||
online_pay_type: 0
|
||||
pay_terminal: 1
|
||||
pay_config_id: 0
|
||||
cashier_point_id: 0
|
||||
operator_id: 0
|
||||
channel_payer_id: NULL
|
||||
channel_pay_no: NULL
|
||||
|
||||
Row 8:
|
||||
refund_id: 2931109065131653
|
||||
tenant_name: 朗朗桌球
|
||||
pay_sn: 0
|
||||
refund_amount: 0.00
|
||||
round_amount: 0.00
|
||||
balance_frozen_amount: 0.00
|
||||
card_frozen_amount: 0.00
|
||||
pay_status: 2
|
||||
action_type: 2
|
||||
is_revoke: 0
|
||||
is_delete: 0
|
||||
check_status: 1
|
||||
online_pay_channel: 0
|
||||
online_pay_type: 0
|
||||
pay_terminal: 1
|
||||
pay_config_id: 0
|
||||
cashier_point_id: 0
|
||||
operator_id: 0
|
||||
channel_payer_id: NULL
|
||||
channel_pay_no: NULL
|
||||
|
||||
Row 9:
|
||||
refund_id: 2921195994465669
|
||||
tenant_name: 朗朗桌球
|
||||
pay_sn: 0
|
||||
refund_amount: 0.00
|
||||
round_amount: 0.00
|
||||
balance_frozen_amount: 0.00
|
||||
card_frozen_amount: 0.00
|
||||
pay_status: 2
|
||||
action_type: 2
|
||||
is_revoke: 0
|
||||
is_delete: 0
|
||||
check_status: 1
|
||||
online_pay_channel: 0
|
||||
online_pay_type: 0
|
||||
pay_terminal: 1
|
||||
pay_config_id: 0
|
||||
cashier_point_id: 0
|
||||
operator_id: 0
|
||||
channel_payer_id: NULL
|
||||
channel_pay_no: NULL
|
||||
|
||||
Row 10:
|
||||
refund_id: 2919690732146181
|
||||
tenant_name: 朗朗桌球
|
||||
pay_sn: 0
|
||||
refund_amount: 0.00
|
||||
round_amount: 0.00
|
||||
balance_frozen_amount: 0.00
|
||||
card_frozen_amount: 0.00
|
||||
pay_status: 2
|
||||
action_type: 2
|
||||
is_revoke: 0
|
||||
is_delete: 0
|
||||
check_status: 1
|
||||
online_pay_channel: 0
|
||||
online_pay_type: 0
|
||||
pay_terminal: 1
|
||||
pay_config_id: 0
|
||||
cashier_point_id: 0
|
||||
operator_id: 0
|
||||
channel_payer_id: NULL
|
||||
channel_pay_no: NULL
|
||||
|
||||
569
tmp/table_analysis/dwd_settlement_head.txt
Normal file
569
tmp/table_analysis/dwd_settlement_head.txt
Normal file
@@ -0,0 +1,569 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_settlement_head
|
||||
Primary Key: order_settle_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
order_settle_id: bigint | nullable=NO | PK
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
site_name: character varying(100) | nullable=YES |
|
||||
table_id: bigint | nullable=YES |
|
||||
settle_name: character varying(100) | nullable=YES |
|
||||
order_trade_no: bigint | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
pay_time: timestamp with time zone | nullable=YES |
|
||||
settle_type: integer | nullable=YES |
|
||||
revoke_order_id: bigint | nullable=YES |
|
||||
member_id: bigint | nullable=YES |
|
||||
member_name: character varying(100) | nullable=YES |
|
||||
member_phone: character varying(50) | nullable=YES |
|
||||
member_card_account_id: bigint | nullable=YES |
|
||||
member_card_type_name: character varying(100) | nullable=YES |
|
||||
is_bind_member: boolean | nullable=YES |
|
||||
member_discount_amount: numeric(18,2) | nullable=YES |
|
||||
consume_money: numeric(18,2) | nullable=YES |
|
||||
table_charge_money: numeric(18,2) | nullable=YES |
|
||||
goods_money: numeric(18,2) | nullable=YES |
|
||||
real_goods_money: numeric(18,2) | nullable=YES |
|
||||
assistant_pd_money: numeric(18,2) | nullable=YES |
|
||||
assistant_cx_money: numeric(18,2) | nullable=YES |
|
||||
adjust_amount: numeric(18,2) | nullable=YES |
|
||||
pay_amount: numeric(18,2) | nullable=YES |
|
||||
balance_amount: numeric(18,2) | nullable=YES |
|
||||
recharge_card_amount: numeric(18,2) | nullable=YES |
|
||||
gift_card_amount: numeric(18,2) | nullable=YES |
|
||||
coupon_amount: numeric(18,2) | nullable=YES |
|
||||
rounding_amount: numeric(18,2) | nullable=YES |
|
||||
point_amount: numeric(18,2) | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
order_settle_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 23366
|
||||
Top values:
|
||||
2800957557606597: 1
|
||||
2976413737093189: 1
|
||||
2999989561657733: 1
|
||||
2813089803389701: 1
|
||||
3016989267592773: 1
|
||||
3021547742021445: 1
|
||||
2993181992014533: 1
|
||||
2947505138716229: 1
|
||||
2992745472101061: 1
|
||||
2854193189832517: 1
|
||||
2993477589912261: 1
|
||||
2997829514791365: 1
|
||||
2870187561552133: 1
|
||||
2998670603291013: 1
|
||||
2927680632849861: 1
|
||||
|
||||
tenant_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 23366
|
||||
|
||||
site_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 23366
|
||||
|
||||
site_name:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 23366
|
||||
|
||||
table_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 75
|
||||
Top values:
|
||||
0: 5141
|
||||
2793001695301765: 1075
|
||||
2793001904918661: 1009
|
||||
2793002509209733: 1006
|
||||
2791964216463493: 930
|
||||
2793002808987781: 906
|
||||
2792521437958213: 840
|
||||
2793002896494725: 775
|
||||
2793002980429893: 659
|
||||
2793003066429509: 619
|
||||
2793003159474245: 505
|
||||
2793003705192517: 486
|
||||
2793003243294789: 463
|
||||
2793020259897413: 456
|
||||
2793003420504133: 418
|
||||
|
||||
settle_name:
|
||||
Total: 23366, Non-null: 23366, Distinct: 80
|
||||
Top values:
|
||||
商城订单: 5131
|
||||
A区 A3: 1075
|
||||
A区 A4: 1009
|
||||
A区 A5: 1006
|
||||
A区 A1: 930
|
||||
A区 A7: 906
|
||||
A区 A2: 840
|
||||
A区 A8: 775
|
||||
A区 A9: 659
|
||||
A区 A10: 619
|
||||
A区 A11: 505
|
||||
A区 A17: 486
|
||||
A区 A12: 463
|
||||
斯诺克区 S1: 456
|
||||
A区 A14: 418
|
||||
|
||||
order_trade_no:
|
||||
Total: 23366, Non-null: 23366, Distinct: 23336
|
||||
Top values:
|
||||
3027329290242053: 3
|
||||
2976235557292165: 2
|
||||
2994308597600517: 2
|
||||
2974729138770693: 2
|
||||
3015928035247749: 2
|
||||
2865908017401733: 2
|
||||
2933663025792581: 2
|
||||
2984046562511557: 2
|
||||
3064035456208069: 2
|
||||
3065441882573701: 2
|
||||
2997378605779525: 2
|
||||
2980515978873157: 2
|
||||
3056795414873989: 2
|
||||
2807676743111429: 2
|
||||
3015904480560645: 2
|
||||
|
||||
settle_type:
|
||||
Total: 23366, Non-null: 23366, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 18225
|
||||
3: 5131
|
||||
7: 9
|
||||
6: 1
|
||||
|
||||
revoke_order_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 23366
|
||||
|
||||
member_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 196
|
||||
Top values:
|
||||
0: 19344
|
||||
2799207363643141: 261
|
||||
2799207359858437: 250
|
||||
2799207522600709: 231
|
||||
2799207406946053: 175
|
||||
2799207124305669: 149
|
||||
2799207519176453: 138
|
||||
2799207403554565: 131
|
||||
2820625955784965: 119
|
||||
2799212845565701: 108
|
||||
2799207328155397: 104
|
||||
2799209806071557: 102
|
||||
2799207390349061: 87
|
||||
2799212430657285: 82
|
||||
2799207290996485: 82
|
||||
|
||||
member_name:
|
||||
Total: 23366, Non-null: 1798, Distinct: 100
|
||||
Top values:
|
||||
张先生: 111
|
||||
陈先生: 110
|
||||
夏: 102
|
||||
轩哥: 98
|
||||
陈德韩: 93
|
||||
黄先生: 62
|
||||
曾巧明: 58
|
||||
罗先生: 58
|
||||
江先生: 50
|
||||
周先生: 48
|
||||
郭先生: 43
|
||||
汪先生: 41
|
||||
易先生: 40
|
||||
刘先生: 40
|
||||
艾宇民: 39
|
||||
|
||||
member_phone:
|
||||
Total: 23366, Non-null: 1798, Distinct: 126
|
||||
Top values:
|
||||
19120942851: 102
|
||||
13902258852: 99
|
||||
18826267530: 98
|
||||
13431017864: 93
|
||||
15915782829: 77
|
||||
18688471488: 58
|
||||
13924036996: 55
|
||||
18819484838: 50
|
||||
13570163507: 44
|
||||
13825157225: 42
|
||||
13925126339: 41
|
||||
18689418682: 40
|
||||
15062279958: 39
|
||||
19927472465: 39
|
||||
13922213242: 38
|
||||
|
||||
member_card_account_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 23366
|
||||
|
||||
member_card_type_name:
|
||||
Total: 23366, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
is_bind_member:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['order_settle_id', 'tenant_id', 'site_id', 'site_name', 'table_id', 'settle_name', 'order_trade_no', 'create_time', 'pay_time', 'settle_type', 'revoke_order_id', 'member_id', 'member_name', 'member_phone', 'member_card_account_id', 'member_card_type_name', 'is_bind_member', 'member_discount_amount', 'consume_money', 'table_charge_money', 'goods_money', 'real_goods_money', 'assistant_pd_money', 'assistant_cx_money', 'adjust_amount', 'pay_amount', 'balance_amount', 'recharge_card_amount', 'gift_card_amount', 'coupon_amount', 'rounding_amount', 'point_amount']
|
||||
|
||||
Row 1:
|
||||
order_settle_id: 2957922914357125
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_name: 朗朗桌球
|
||||
table_id: 2793003705192517
|
||||
settle_name: A区 A17
|
||||
order_trade_no: 2957858167230149
|
||||
create_time: 2025-11-09 23:34:49+08:00
|
||||
pay_time: 2025-11-09 23:35:57+08:00
|
||||
settle_type: 1
|
||||
revoke_order_id: 0
|
||||
member_id: 0
|
||||
member_name: NULL
|
||||
member_phone: NULL
|
||||
member_card_account_id: 0
|
||||
member_card_type_name: NULL
|
||||
is_bind_member: False
|
||||
member_discount_amount: 0.00
|
||||
consume_money: 58.00
|
||||
table_charge_money: 48.00
|
||||
goods_money: 10.00
|
||||
real_goods_money: 10.00
|
||||
assistant_pd_money: 0.00
|
||||
assistant_cx_money: 0.00
|
||||
adjust_amount: 0.00
|
||||
pay_amount: 10.00
|
||||
balance_amount: 0.00
|
||||
recharge_card_amount: 0.00
|
||||
gift_card_amount: 0.00
|
||||
coupon_amount: 48.00
|
||||
rounding_amount: 0.00
|
||||
point_amount: 10.00
|
||||
|
||||
Row 2:
|
||||
order_settle_id: 2957922677673797
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_name: 朗朗桌球
|
||||
table_id: 2793001904918661
|
||||
settle_name: A区 A4
|
||||
order_trade_no: 2957804588781445
|
||||
create_time: 2025-11-09 23:34:35+08:00
|
||||
pay_time: 2025-11-09 23:34:36+08:00
|
||||
settle_type: 1
|
||||
revoke_order_id: 0
|
||||
member_id: 0
|
||||
member_name: NULL
|
||||
member_phone: NULL
|
||||
member_card_account_id: 0
|
||||
member_card_type_name: NULL
|
||||
is_bind_member: False
|
||||
member_discount_amount: 0.00
|
||||
consume_money: 96.00
|
||||
table_charge_money: 96.00
|
||||
goods_money: 0.00
|
||||
real_goods_money: 0.00
|
||||
assistant_pd_money: 0.00
|
||||
assistant_cx_money: 0.00
|
||||
adjust_amount: 0.00
|
||||
pay_amount: 0.00
|
||||
balance_amount: 0.00
|
||||
recharge_card_amount: 0.00
|
||||
gift_card_amount: 0.00
|
||||
coupon_amount: 96.00
|
||||
rounding_amount: 0.00
|
||||
point_amount: 0.00
|
||||
|
||||
Row 3:
|
||||
order_settle_id: 2957921502088901
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_name: 朗朗桌球
|
||||
table_id: 2791964216463493
|
||||
settle_name: A区 A1
|
||||
order_trade_no: 2957862075436549
|
||||
create_time: 2025-11-09 23:33:23+08:00
|
||||
pay_time: 2025-11-09 23:33:24+08:00
|
||||
settle_type: 1
|
||||
revoke_order_id: 0
|
||||
member_id: 0
|
||||
member_name: NULL
|
||||
member_phone: NULL
|
||||
member_card_account_id: 0
|
||||
member_card_type_name: NULL
|
||||
is_bind_member: False
|
||||
member_discount_amount: 0.00
|
||||
consume_money: 48.00
|
||||
table_charge_money: 48.00
|
||||
goods_money: 0.00
|
||||
real_goods_money: 0.00
|
||||
assistant_pd_money: 0.00
|
||||
assistant_cx_money: 0.00
|
||||
adjust_amount: 0.00
|
||||
pay_amount: 0.00
|
||||
balance_amount: 0.00
|
||||
recharge_card_amount: 0.00
|
||||
gift_card_amount: 0.00
|
||||
coupon_amount: 0.00
|
||||
rounding_amount: 0.00
|
||||
point_amount: 0.00
|
||||
|
||||
Row 4:
|
||||
order_settle_id: 2957920006540997
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_name: 朗朗桌球
|
||||
table_id: 2793002808987781
|
||||
settle_name: A区 A7
|
||||
order_trade_no: 2957814644494149
|
||||
create_time: 2025-11-09 23:31:52+08:00
|
||||
pay_time: 2025-11-09 23:32:08+08:00
|
||||
settle_type: 1
|
||||
revoke_order_id: 0
|
||||
member_id: 0
|
||||
member_name: NULL
|
||||
member_phone: NULL
|
||||
member_card_account_id: 0
|
||||
member_card_type_name: NULL
|
||||
is_bind_member: False
|
||||
member_discount_amount: 0.00
|
||||
consume_money: 95.72
|
||||
table_charge_money: 85.72
|
||||
goods_money: 10.00
|
||||
real_goods_money: 10.00
|
||||
assistant_pd_money: 0.00
|
||||
assistant_cx_money: 0.00
|
||||
adjust_amount: 0.00
|
||||
pay_amount: 10.00
|
||||
balance_amount: 0.00
|
||||
recharge_card_amount: 0.00
|
||||
gift_card_amount: 0.00
|
||||
coupon_amount: 85.72
|
||||
rounding_amount: 0.00
|
||||
point_amount: 10.00
|
||||
|
||||
Row 5:
|
||||
order_settle_id: 2957913909300741
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_name: 朗朗桌球
|
||||
table_id: 2793002980429893
|
||||
settle_name: A区 A9
|
||||
order_trade_no: 2957852541275653
|
||||
create_time: 2025-11-09 23:25:40+08:00
|
||||
pay_time: 2025-11-09 23:25:41+08:00
|
||||
settle_type: 1
|
||||
revoke_order_id: 0
|
||||
member_id: 0
|
||||
member_name: NULL
|
||||
member_phone: NULL
|
||||
member_card_account_id: 0
|
||||
member_card_type_name: NULL
|
||||
is_bind_member: False
|
||||
member_discount_amount: 0.00
|
||||
consume_money: 48.00
|
||||
table_charge_money: 48.00
|
||||
goods_money: 0.00
|
||||
real_goods_money: 0.00
|
||||
assistant_pd_money: 0.00
|
||||
assistant_cx_money: 0.00
|
||||
adjust_amount: 0.00
|
||||
pay_amount: 0.00
|
||||
balance_amount: 0.00
|
||||
recharge_card_amount: 0.00
|
||||
gift_card_amount: 0.00
|
||||
coupon_amount: 48.00
|
||||
rounding_amount: 0.00
|
||||
point_amount: 0.00
|
||||
|
||||
Row 6:
|
||||
order_settle_id: 2957913171693253
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_name: 朗朗桌球
|
||||
table_id: 2793020259897413
|
||||
settle_name: 斯诺克区 S1
|
||||
order_trade_no: 2957784612605829
|
||||
create_time: 2025-11-09 23:24:55+08:00
|
||||
pay_time: 2025-11-09 23:25:11+08:00
|
||||
settle_type: 1
|
||||
revoke_order_id: 0
|
||||
member_id: 0
|
||||
member_name: NULL
|
||||
member_phone: NULL
|
||||
member_card_account_id: 0
|
||||
member_card_type_name: NULL
|
||||
is_bind_member: False
|
||||
member_discount_amount: 0.00
|
||||
consume_money: 362.82
|
||||
table_charge_money: 148.15
|
||||
goods_money: 8.00
|
||||
real_goods_money: 8.00
|
||||
assistant_pd_money: 206.67
|
||||
assistant_cx_money: 0.00
|
||||
adjust_amount: 148.15
|
||||
pay_amount: 215.00
|
||||
balance_amount: 0.00
|
||||
recharge_card_amount: 0.00
|
||||
gift_card_amount: 0.00
|
||||
coupon_amount: 0.00
|
||||
rounding_amount: 0.33
|
||||
point_amount: 215.00
|
||||
|
||||
Row 7:
|
||||
order_settle_id: 2957911858859909
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_name: 朗朗桌球
|
||||
table_id: 0
|
||||
settle_name: 商城订单
|
||||
order_trade_no: 2957911856353157
|
||||
create_time: 2025-11-09 23:23:34+08:00
|
||||
pay_time: 2025-11-09 23:23:36+08:00
|
||||
settle_type: 3
|
||||
revoke_order_id: 0
|
||||
member_id: 0
|
||||
member_name: NULL
|
||||
member_phone: NULL
|
||||
member_card_account_id: 0
|
||||
member_card_type_name: NULL
|
||||
is_bind_member: False
|
||||
member_discount_amount: 0.00
|
||||
consume_money: 8.00
|
||||
table_charge_money: 0.00
|
||||
goods_money: 8.00
|
||||
real_goods_money: 6.00
|
||||
assistant_pd_money: 0.00
|
||||
assistant_cx_money: 0.00
|
||||
adjust_amount: 0.00
|
||||
pay_amount: 6.00
|
||||
balance_amount: 0.00
|
||||
recharge_card_amount: 0.00
|
||||
gift_card_amount: 0.00
|
||||
coupon_amount: 0.00
|
||||
rounding_amount: 0.00
|
||||
point_amount: 6.00
|
||||
|
||||
Row 8:
|
||||
order_settle_id: 2957909354516357
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_name: 朗朗桌球
|
||||
table_id: 2793002896494725
|
||||
settle_name: A区 A8
|
||||
order_trade_no: 2957850075041477
|
||||
create_time: 2025-11-09 23:21:02+08:00
|
||||
pay_time: 2025-11-09 23:21:03+08:00
|
||||
settle_type: 1
|
||||
revoke_order_id: 0
|
||||
member_id: 0
|
||||
member_name: NULL
|
||||
member_phone: NULL
|
||||
member_card_account_id: 0
|
||||
member_card_type_name: NULL
|
||||
is_bind_member: False
|
||||
member_discount_amount: 0.00
|
||||
consume_money: 48.00
|
||||
table_charge_money: 48.00
|
||||
goods_money: 0.00
|
||||
real_goods_money: 0.00
|
||||
assistant_pd_money: 0.00
|
||||
assistant_cx_money: 0.00
|
||||
adjust_amount: 0.00
|
||||
pay_amount: 0.00
|
||||
balance_amount: 0.00
|
||||
recharge_card_amount: 0.00
|
||||
gift_card_amount: 0.00
|
||||
coupon_amount: 48.00
|
||||
rounding_amount: 0.00
|
||||
point_amount: 0.00
|
||||
|
||||
Row 9:
|
||||
order_settle_id: 2957900926045701
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_name: 朗朗桌球
|
||||
table_id: 2793012902154373
|
||||
settle_name: B区 B5
|
||||
order_trade_no: 2957733026106885
|
||||
create_time: 2025-11-09 23:12:27+08:00
|
||||
pay_time: 2025-11-09 23:14:25+08:00
|
||||
settle_type: 1
|
||||
revoke_order_id: 0
|
||||
member_id: 0
|
||||
member_name: NULL
|
||||
member_phone: NULL
|
||||
member_card_account_id: 0
|
||||
member_card_type_name: NULL
|
||||
is_bind_member: False
|
||||
member_discount_amount: 0.00
|
||||
consume_money: 360.08
|
||||
table_charge_money: 165.09
|
||||
goods_money: 0.00
|
||||
real_goods_money: 0.00
|
||||
assistant_pd_money: 194.99
|
||||
assistant_cx_money: 0.00
|
||||
adjust_amount: 0.00
|
||||
pay_amount: 195.00
|
||||
balance_amount: 0.00
|
||||
recharge_card_amount: 0.00
|
||||
gift_card_amount: 0.00
|
||||
coupon_amount: 165.09
|
||||
rounding_amount: 0.01
|
||||
point_amount: 195.00
|
||||
|
||||
Row 10:
|
||||
order_settle_id: 2957886361276293
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_name: 朗朗桌球
|
||||
table_id: 0
|
||||
settle_name: 商城订单
|
||||
order_trade_no: 2957886358310789
|
||||
create_time: 2025-11-09 22:57:38+08:00
|
||||
pay_time: 2025-11-09 22:57:42+08:00
|
||||
settle_type: 3
|
||||
revoke_order_id: 0
|
||||
member_id: 0
|
||||
member_name: NULL
|
||||
member_phone: NULL
|
||||
member_card_account_id: 0
|
||||
member_card_type_name: NULL
|
||||
is_bind_member: False
|
||||
member_discount_amount: 0.00
|
||||
consume_money: 19.00
|
||||
table_charge_money: 0.00
|
||||
goods_money: 19.00
|
||||
real_goods_money: 19.00
|
||||
assistant_pd_money: 0.00
|
||||
assistant_cx_money: 0.00
|
||||
adjust_amount: 0.00
|
||||
pay_amount: 13.00
|
||||
balance_amount: 0.00
|
||||
recharge_card_amount: 0.00
|
||||
gift_card_amount: 0.00
|
||||
coupon_amount: 0.00
|
||||
rounding_amount: -6.00
|
||||
point_amount: 13.00
|
||||
|
||||
161
tmp/table_analysis/dwd_settlement_head_ex.txt
Normal file
161
tmp/table_analysis/dwd_settlement_head_ex.txt
Normal file
@@ -0,0 +1,161 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_settlement_head_ex
|
||||
Primary Key: order_settle_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
order_settle_id: bigint | nullable=NO | PK
|
||||
serial_number: integer | nullable=YES |
|
||||
settle_status: integer | nullable=YES |
|
||||
can_be_revoked: boolean | nullable=YES |
|
||||
revoke_order_name: character varying(100) | nullable=YES |
|
||||
revoke_time: timestamp with time zone | nullable=YES |
|
||||
is_first_order: boolean | nullable=YES |
|
||||
service_money: numeric(18,2) | nullable=YES |
|
||||
cash_amount: numeric(18,2) | nullable=YES |
|
||||
card_amount: numeric(18,2) | nullable=YES |
|
||||
online_amount: numeric(18,2) | nullable=YES |
|
||||
refund_amount: numeric(18,2) | nullable=YES |
|
||||
prepay_money: numeric(18,2) | nullable=YES |
|
||||
payment_method: integer | nullable=YES |
|
||||
coupon_sale_amount: numeric(18,2) | nullable=YES |
|
||||
all_coupon_discount: numeric(18,2) | nullable=YES |
|
||||
goods_promotion_money: numeric(18,2) | nullable=YES |
|
||||
assistant_promotion_money: numeric(18,2) | nullable=YES |
|
||||
activity_discount: numeric(18,2) | nullable=YES |
|
||||
assistant_manual_discount: numeric(18,2) | nullable=YES |
|
||||
point_discount_price: numeric(18,2) | nullable=YES |
|
||||
point_discount_cost: numeric(18,2) | nullable=YES |
|
||||
is_use_coupon: boolean | nullable=YES |
|
||||
is_use_discount: boolean | nullable=YES |
|
||||
is_activity: boolean | nullable=YES |
|
||||
operator_name: character varying(100) | nullable=YES |
|
||||
salesman_name: character varying(100) | nullable=YES |
|
||||
order_remark: character varying(255) | nullable=YES |
|
||||
operator_id: bigint | nullable=YES |
|
||||
salesman_user_id: bigint | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
order_settle_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 23366
|
||||
Top values:
|
||||
2800957557606597: 1
|
||||
2976413737093189: 1
|
||||
2999989561657733: 1
|
||||
2813089803389701: 1
|
||||
3016989267592773: 1
|
||||
3021547742021445: 1
|
||||
2993181992014533: 1
|
||||
2947505138716229: 1
|
||||
2992745472101061: 1
|
||||
2854193189832517: 1
|
||||
2993477589912261: 1
|
||||
2997829514791365: 1
|
||||
2870187561552133: 1
|
||||
2998670603291013: 1
|
||||
2927680632849861: 1
|
||||
|
||||
serial_number:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 23366
|
||||
|
||||
settle_status:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 23366
|
||||
|
||||
can_be_revoked:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
revoke_order_name:
|
||||
Total: 23366, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
is_first_order:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
payment_method:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 23366
|
||||
|
||||
is_use_coupon:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
is_use_discount:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
is_activity:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
operator_name:
|
||||
Total: 23366, Non-null: 23366, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
收银员:郑丽珊: 23361
|
||||
收银员:郑丽珍: 2
|
||||
教练:周蒙: 2
|
||||
店长:郑丽珊: 1
|
||||
|
||||
salesman_name:
|
||||
Total: 23366, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
order_remark:
|
||||
Total: 23366, Non-null: 154, Distinct: 54
|
||||
Top values:
|
||||
五折: 42
|
||||
轩哥: 24
|
||||
陈德韩: 7
|
||||
五折已收68: 5
|
||||
已收48: 4
|
||||
已收58: 4
|
||||
晖哥: 4
|
||||
五折 : 3
|
||||
蔡总: 3
|
||||
免台费: 3
|
||||
卡片: 3
|
||||
七折: 2
|
||||
游哥: 2
|
||||
已收96: 2
|
||||
廖总: 2
|
||||
|
||||
operator_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790687322443013: 23362
|
||||
2801909606452165: 2
|
||||
2794761849227077: 2
|
||||
|
||||
salesman_user_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 23366
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
No sample data available.
|
||||
536
tmp/table_analysis/dwd_store_goods_sale.txt
Normal file
536
tmp/table_analysis/dwd_store_goods_sale.txt
Normal file
@@ -0,0 +1,536 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_store_goods_sale
|
||||
Primary Key: store_goods_sale_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
store_goods_sale_id: bigint | nullable=NO | PK
|
||||
order_trade_no: bigint | nullable=YES |
|
||||
order_settle_id: bigint | nullable=YES |
|
||||
order_pay_id: bigint | nullable=YES |
|
||||
order_goods_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_goods_id: bigint | nullable=YES |
|
||||
tenant_goods_id: bigint | nullable=YES |
|
||||
tenant_goods_category_id: bigint | nullable=YES |
|
||||
tenant_goods_business_id: bigint | nullable=YES |
|
||||
site_table_id: bigint | nullable=YES |
|
||||
ledger_name: character varying(200) | nullable=YES |
|
||||
ledger_group_name: character varying(100) | nullable=YES |
|
||||
ledger_unit_price: numeric(18,2) | nullable=YES |
|
||||
ledger_count: integer | nullable=YES |
|
||||
ledger_amount: numeric(18,2) | nullable=YES |
|
||||
discount_price: numeric(18,2) | nullable=YES |
|
||||
real_goods_money: numeric(18,2) | nullable=YES |
|
||||
cost_money: numeric(18,2) | nullable=YES |
|
||||
ledger_status: integer | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
store_goods_sale_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 17563
|
||||
Top values:
|
||||
2809190478400005: 1
|
||||
2851880737673029: 1
|
||||
2952070493832965: 1
|
||||
2906954061366725: 1
|
||||
2938307239004613: 1
|
||||
3005756259240005: 1
|
||||
2974374115529669: 1
|
||||
2923856003171717: 1
|
||||
2943758441140037: 1
|
||||
2847298999880710: 1
|
||||
2833260565810374: 1
|
||||
2825241626758342: 1
|
||||
2856010572236613: 1
|
||||
2957977026269061: 1
|
||||
2830618359008327: 1
|
||||
|
||||
order_trade_no:
|
||||
Total: 17563, Non-null: 17563, Distinct: 7163
|
||||
Top values:
|
||||
2956250939576198: 113
|
||||
2973335525689669: 70
|
||||
2940718915358789: 67
|
||||
2974729399292741: 65
|
||||
2954923656038661: 64
|
||||
3010128962292229: 62
|
||||
2915223410297541: 62
|
||||
2934966547269189: 60
|
||||
2960724933463749: 59
|
||||
2984638433856133: 57
|
||||
2963357191196293: 55
|
||||
2984041538423493: 53
|
||||
2950627610183941: 51
|
||||
2970521489263493: 51
|
||||
2998767512832389: 49
|
||||
|
||||
order_settle_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 6933
|
||||
Top values:
|
||||
2990834049419973: 175
|
||||
2957976912760517: 113
|
||||
2959078619024901: 109
|
||||
2975809351223365: 74
|
||||
2916522068413189: 70
|
||||
2941370754092997: 67
|
||||
2988096687166021: 65
|
||||
2955465802696965: 64
|
||||
2961214006234629: 64
|
||||
3010830541031877: 62
|
||||
2907420664120965: 60
|
||||
2936162601535109: 60
|
||||
2985381586864773: 57
|
||||
2964115212390213: 55
|
||||
2954937563646022: 53
|
||||
|
||||
order_pay_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 17563
|
||||
|
||||
order_goods_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 9386
|
||||
Top values:
|
||||
0: 8178
|
||||
2976305009067845: 1
|
||||
2990206290809413: 1
|
||||
2945141923104773: 1
|
||||
2993381408098949: 1
|
||||
2943467742220357: 1
|
||||
2997717616118277: 1
|
||||
2916521024621573: 1
|
||||
2960567927000901: 1
|
||||
2936584761854533: 1
|
||||
2953388284528389: 1
|
||||
3000299343169989: 1
|
||||
2997629226715653: 1
|
||||
2969098168323205: 1
|
||||
2956254301916677: 1
|
||||
|
||||
site_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 17563
|
||||
|
||||
tenant_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 17563
|
||||
|
||||
site_goods_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 147
|
||||
Top values:
|
||||
2793026176012357: 2182
|
||||
2791953867886725: 1328
|
||||
2793026183041093: 1006
|
||||
2794695800934533: 925
|
||||
2793025849593925: 790
|
||||
2793026180993093: 632
|
||||
2793026184302661: 622
|
||||
2793026185154629: 516
|
||||
2793026176503877: 406
|
||||
2793026180501573: 387
|
||||
2793025845825605: 352
|
||||
2794695801409669: 338
|
||||
2793025862438981: 319
|
||||
2793026174865477: 304
|
||||
2868240313094021: 283
|
||||
|
||||
tenant_goods_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 147
|
||||
Top values:
|
||||
2792115932417925: 2182
|
||||
2791925230096261: 1328
|
||||
2792138158329733: 1006
|
||||
2793227755177797: 925
|
||||
2792171921870725: 790
|
||||
2792128158191493: 632
|
||||
2792142450249605: 622
|
||||
2792039804047237: 516
|
||||
2792116914442117: 406
|
||||
2792126853369733: 387
|
||||
2792152201432965: 352
|
||||
2793228842862405: 338
|
||||
2792099955609477: 319
|
||||
2792038476746629: 304
|
||||
2868227554610821: 283
|
||||
|
||||
tenant_goods_category_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 14
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683528350540: 9527
|
||||
2791948300259205: 2071
|
||||
2793218343257925: 1674
|
||||
2792063209623429: 1373
|
||||
2793221283104581: 1245
|
||||
2790683528350541: 787
|
||||
2793236829620037: 478
|
||||
2792035069284229: 206
|
||||
2790683528350534: 160
|
||||
2792050275864453: 37
|
||||
2790683528350536: 2
|
||||
2793221553489733: 1
|
||||
2790683528350538: 1
|
||||
2790683528350537: 1
|
||||
|
||||
tenant_goods_business_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 9
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683528317768: 10315
|
||||
2791932037238661: 2549
|
||||
2793217599407941: 1674
|
||||
2790683528317765: 1373
|
||||
2793220268902213: 1245
|
||||
2791931866402693: 206
|
||||
2790683528317766: 160
|
||||
2790683528317769: 37
|
||||
2790683528317767: 4
|
||||
|
||||
site_table_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 70
|
||||
Top values:
|
||||
0: 4753
|
||||
2793022145302597: 1232
|
||||
2956248279567557: 1084
|
||||
2793020955840645: 1044
|
||||
2793023960551493: 729
|
||||
2793021451292741: 610
|
||||
2793018776735877: 541
|
||||
2793022937911365: 489
|
||||
2793023960682565: 479
|
||||
2793023960633413: 334
|
||||
2793018776604805: 325
|
||||
2793023960731717: 266
|
||||
2793020259897413: 260
|
||||
2793018776703109: 205
|
||||
2793023960600645: 204
|
||||
|
||||
ledger_name:
|
||||
Total: 17563, Non-null: 17563, Distinct: 151
|
||||
Top values:
|
||||
哇哈哈矿泉水: 2182
|
||||
东方树叶: 1328
|
||||
可乐: 1006
|
||||
一次性手套: 925
|
||||
地道肠: 790
|
||||
农夫山泉苏打水: 632
|
||||
红牛: 622
|
||||
百威235毫升: 516
|
||||
轻上椰子水: 406
|
||||
东鹏特饮: 387
|
||||
鱼蛋: 352
|
||||
普通扑克: 338
|
||||
钻石荷花: 319
|
||||
水溶C: 304
|
||||
蜂蜜水: 283
|
||||
|
||||
ledger_group_name:
|
||||
Total: 17563, Non-null: 17563, Distinct: 9
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
酒水: 10315
|
||||
零食: 2549
|
||||
其他: 1674
|
||||
香烟: 1373
|
||||
小吃: 1245
|
||||
雪糕: 206
|
||||
槟榔: 160
|
||||
水果: 37
|
||||
器材: 4
|
||||
|
||||
ledger_count:
|
||||
Total: 17563, Non-null: 17563, Distinct: 24
|
||||
Top values:
|
||||
1: 12555
|
||||
2: 3058
|
||||
3: 669
|
||||
4: 466
|
||||
6: 250
|
||||
12: 249
|
||||
5: 117
|
||||
24: 72
|
||||
8: 44
|
||||
10: 29
|
||||
7: 22
|
||||
18: 7
|
||||
13: 4
|
||||
20: 4
|
||||
11: 3
|
||||
|
||||
ledger_status:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 17563
|
||||
|
||||
is_delete:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 17563
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['store_goods_sale_id', 'order_trade_no', 'order_settle_id', 'order_pay_id', 'order_goods_id', 'site_id', 'tenant_id', 'site_goods_id', 'tenant_goods_id', 'tenant_goods_category_id', 'tenant_goods_business_id', 'site_table_id', 'ledger_name', 'ledger_group_name', 'ledger_unit_price', 'ledger_count', 'ledger_amount', 'discount_price', 'real_goods_money', 'cost_money', 'ledger_status', 'is_delete', 'create_time']
|
||||
|
||||
Row 1:
|
||||
store_goods_sale_id: 2957924029550406
|
||||
order_trade_no: 2957858167230149
|
||||
order_settle_id: 2957922914357125
|
||||
order_pay_id: 0
|
||||
order_goods_id: 2957858456391557
|
||||
site_id: 2790685415443269
|
||||
tenant_id: 2790683160709957
|
||||
site_goods_id: 2793026176012357
|
||||
tenant_goods_id: 2792115932417925
|
||||
tenant_goods_category_id: 2790683528350540
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
site_table_id: 2793003705192517
|
||||
ledger_name: 哇哈哈矿泉水
|
||||
ledger_group_name: 酒水
|
||||
ledger_unit_price: 5.00
|
||||
ledger_count: 1
|
||||
ledger_amount: 5.00
|
||||
discount_price: 0.00
|
||||
real_goods_money: 5.00
|
||||
cost_money: 0.01
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 23:35:57+08:00
|
||||
|
||||
Row 2:
|
||||
store_goods_sale_id: 2957924029550405
|
||||
order_trade_no: 2957858167230149
|
||||
order_settle_id: 2957922914357125
|
||||
order_pay_id: 0
|
||||
order_goods_id: 2957858455998341
|
||||
site_id: 2790685415443269
|
||||
tenant_id: 2790683160709957
|
||||
site_goods_id: 2793026183041093
|
||||
tenant_goods_id: 2792138158329733
|
||||
tenant_goods_category_id: 2790683528350540
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
site_table_id: 2793003705192517
|
||||
ledger_name: 可乐
|
||||
ledger_group_name: 酒水
|
||||
ledger_unit_price: 5.00
|
||||
ledger_count: 1
|
||||
ledger_amount: 5.00
|
||||
discount_price: 0.00
|
||||
real_goods_money: 5.00
|
||||
cost_money: 0.00
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 23:35:57+08:00
|
||||
|
||||
Row 3:
|
||||
store_goods_sale_id: 2957920279908229
|
||||
order_trade_no: 2957814644494149
|
||||
order_settle_id: 2957920006540997
|
||||
order_pay_id: 0
|
||||
order_goods_id: 2957859847769925
|
||||
site_id: 2790685415443269
|
||||
tenant_id: 2790683160709957
|
||||
site_goods_id: 2793025849593925
|
||||
tenant_goods_id: 2792171921870725
|
||||
tenant_goods_category_id: 2793221283104581
|
||||
tenant_goods_business_id: 2793220268902213
|
||||
site_table_id: 2793002808987781
|
||||
ledger_name: 地道肠
|
||||
ledger_group_name: 小吃
|
||||
ledger_unit_price: 5.00
|
||||
ledger_count: 2
|
||||
ledger_amount: 10.00
|
||||
discount_price: 0.00
|
||||
real_goods_money: 10.00
|
||||
cost_money: 3.58
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 23:32:08+08:00
|
||||
|
||||
Row 4:
|
||||
store_goods_sale_id: 2957913441750917
|
||||
order_trade_no: 2957784612605829
|
||||
order_settle_id: 2957913171693253
|
||||
order_pay_id: 0
|
||||
order_goods_id: 2957786053578245
|
||||
site_id: 2790685415443269
|
||||
tenant_id: 2790683160709957
|
||||
site_goods_id: 2791953867886725
|
||||
tenant_goods_id: 2791925230096261
|
||||
tenant_goods_category_id: 2790683528350540
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
site_table_id: 2793020259897413
|
||||
ledger_name: 东方树叶
|
||||
ledger_group_name: 酒水
|
||||
ledger_unit_price: 8.00
|
||||
ledger_count: 1
|
||||
ledger_amount: 8.00
|
||||
discount_price: 0.00
|
||||
real_goods_money: 8.00
|
||||
cost_money: 0.00
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 23:25:11+08:00
|
||||
|
||||
Row 5:
|
||||
store_goods_sale_id: 2957911882845893
|
||||
order_trade_no: 2957911856353157
|
||||
order_settle_id: 2957911858859909
|
||||
order_pay_id: 0
|
||||
order_goods_id: 2957911857368965
|
||||
site_id: 2790685415443269
|
||||
tenant_id: 2790683160709957
|
||||
site_goods_id: 2793026183532613
|
||||
tenant_goods_id: 2792139566649221
|
||||
tenant_goods_category_id: 2790683528350540
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
site_table_id: 0
|
||||
ledger_name: 阿萨姆
|
||||
ledger_group_name: 酒水
|
||||
ledger_unit_price: 8.00
|
||||
ledger_count: 1
|
||||
ledger_amount: 8.00
|
||||
discount_price: 2.00
|
||||
real_goods_money: 6.00
|
||||
cost_money: 0.00
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 23:23:36+08:00
|
||||
|
||||
Row 6:
|
||||
store_goods_sale_id: 2957886432300741
|
||||
order_trade_no: 2957886358310789
|
||||
order_settle_id: 2957886361276293
|
||||
order_pay_id: 0
|
||||
order_goods_id: 2957886359900037
|
||||
site_id: 2790685415443269
|
||||
tenant_id: 2790683160709957
|
||||
site_goods_id: 2826003636177861
|
||||
tenant_goods_id: 2826003270470405
|
||||
tenant_goods_category_id: 2791948300259205
|
||||
tenant_goods_business_id: 2791932037238661
|
||||
site_table_id: 0
|
||||
ledger_name: 长寿街臭干子
|
||||
ledger_group_name: 零食
|
||||
ledger_unit_price: 2.00
|
||||
ledger_count: 2
|
||||
ledger_amount: 4.00
|
||||
discount_price: 0.00
|
||||
real_goods_money: 4.00
|
||||
cost_money: 0.00
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 22:57:42+08:00
|
||||
|
||||
Row 7:
|
||||
store_goods_sale_id: 2957886432284358
|
||||
order_trade_no: 2957886358310789
|
||||
order_settle_id: 2957886361276293
|
||||
order_pay_id: 0
|
||||
order_goods_id: 2957886359605125
|
||||
site_id: 2790685415443269
|
||||
tenant_id: 2790683160709957
|
||||
site_goods_id: 2793025849102405
|
||||
tenant_goods_id: 2792170827517829
|
||||
tenant_goods_category_id: 2793236829620037
|
||||
tenant_goods_business_id: 2791932037238661
|
||||
site_table_id: 0
|
||||
ledger_name: 火鸡面
|
||||
ledger_group_name: 零食
|
||||
ledger_unit_price: 10.00
|
||||
ledger_count: 1
|
||||
ledger_amount: 10.00
|
||||
discount_price: 0.00
|
||||
real_goods_money: 10.00
|
||||
cost_money: 0.00
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 22:57:42+08:00
|
||||
|
||||
Row 8:
|
||||
store_goods_sale_id: 2957886432284357
|
||||
order_trade_no: 2957886358310789
|
||||
order_settle_id: 2957886361276293
|
||||
order_pay_id: 0
|
||||
order_goods_id: 2957886359310213
|
||||
site_id: 2790685415443269
|
||||
tenant_id: 2790683160709957
|
||||
site_goods_id: 2793025849593925
|
||||
tenant_goods_id: 2792171921870725
|
||||
tenant_goods_category_id: 2793221283104581
|
||||
tenant_goods_business_id: 2793220268902213
|
||||
site_table_id: 0
|
||||
ledger_name: 地道肠
|
||||
ledger_group_name: 小吃
|
||||
ledger_unit_price: 5.00
|
||||
ledger_count: 1
|
||||
ledger_amount: 5.00
|
||||
discount_price: 0.00
|
||||
real_goods_money: 5.00
|
||||
cost_money: 1.79
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 22:57:42+08:00
|
||||
|
||||
Row 9:
|
||||
store_goods_sale_id: 2957853948939781
|
||||
order_trade_no: 2957728112840581
|
||||
order_settle_id: 2957853635792773
|
||||
order_pay_id: 0
|
||||
order_goods_id: 2957730790313861
|
||||
site_id: 2790685415443269
|
||||
tenant_id: 2790683160709957
|
||||
site_goods_id: 2793025849593925
|
||||
tenant_goods_id: 2792171921870725
|
||||
tenant_goods_category_id: 2793221283104581
|
||||
tenant_goods_business_id: 2793220268902213
|
||||
site_table_id: 2793012902367365
|
||||
ledger_name: 地道肠
|
||||
ledger_group_name: 小吃
|
||||
ledger_unit_price: 5.00
|
||||
ledger_count: 1
|
||||
ledger_amount: 5.00
|
||||
discount_price: 0.00
|
||||
real_goods_money: 5.00
|
||||
cost_money: 1.79
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 22:24:40+08:00
|
||||
|
||||
Row 10:
|
||||
store_goods_sale_id: 2957853948923397
|
||||
order_trade_no: 2957728112840581
|
||||
order_settle_id: 2957853635792773
|
||||
order_pay_id: 0
|
||||
order_goods_id: 2957730789887877
|
||||
site_id: 2790685415443269
|
||||
tenant_id: 2790683160709957
|
||||
site_goods_id: 2791953867886725
|
||||
tenant_goods_id: 2791925230096261
|
||||
tenant_goods_category_id: 2790683528350540
|
||||
tenant_goods_business_id: 2790683528317768
|
||||
site_table_id: 2793012902367365
|
||||
ledger_name: 东方树叶
|
||||
ledger_group_name: 酒水
|
||||
ledger_unit_price: 8.00
|
||||
ledger_count: 1
|
||||
ledger_amount: 8.00
|
||||
discount_price: 0.00
|
||||
real_goods_money: 8.00
|
||||
cost_money: 0.00
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
create_time: 2025-11-09 22:24:40+08:00
|
||||
|
||||
482
tmp/table_analysis/dwd_store_goods_sale_ex.txt
Normal file
482
tmp/table_analysis/dwd_store_goods_sale_ex.txt
Normal file
@@ -0,0 +1,482 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_store_goods_sale_ex
|
||||
Primary Key: store_goods_sale_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
store_goods_sale_id: bigint | nullable=NO | PK
|
||||
legacy_order_goods_id: bigint | nullable=YES |
|
||||
site_name: text | nullable=YES |
|
||||
legacy_site_id: bigint | nullable=YES |
|
||||
goods_remark: text | nullable=YES |
|
||||
option_value_name: text | nullable=YES |
|
||||
operator_name: text | nullable=YES |
|
||||
open_salesman_flag: integer | nullable=YES |
|
||||
salesman_user_id: bigint | nullable=YES |
|
||||
salesman_name: text | nullable=YES |
|
||||
salesman_role_id: bigint | nullable=YES |
|
||||
salesman_org_id: bigint | nullable=YES |
|
||||
discount_money: numeric(18,2) | nullable=YES |
|
||||
returns_number: integer | nullable=YES |
|
||||
coupon_deduct_money: numeric(18,2) | nullable=YES |
|
||||
member_discount_amount: numeric(18,2) | nullable=YES |
|
||||
point_discount_money: numeric(18,2) | nullable=YES |
|
||||
point_discount_money_cost: numeric(18,2) | nullable=YES |
|
||||
package_coupon_id: bigint | nullable=YES |
|
||||
order_coupon_id: bigint | nullable=YES |
|
||||
member_coupon_id: bigint | nullable=YES |
|
||||
option_price: numeric(18,2) | nullable=YES |
|
||||
option_member_discount_money: numeric(18,2) | nullable=YES |
|
||||
option_coupon_deduct_money: numeric(18,2) | nullable=YES |
|
||||
push_money: numeric(18,2) | nullable=YES |
|
||||
is_single_order: integer | nullable=YES |
|
||||
sales_type: integer | nullable=YES |
|
||||
operator_id: bigint | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
store_goods_sale_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 17563
|
||||
Top values:
|
||||
2800121045255813: 1
|
||||
2800177654154629: 1
|
||||
2800177654154630: 1
|
||||
2800183502440453: 1
|
||||
2800215932798981: 1
|
||||
2800317000320901: 1
|
||||
2800320956221317: 1
|
||||
2800343416604741: 1
|
||||
2800348155381829: 1
|
||||
2800353094305797: 1
|
||||
2800353215072133: 1
|
||||
2800360636794885: 1
|
||||
2800363077912517: 1
|
||||
2800372000393221: 1
|
||||
2800383251105733: 1
|
||||
|
||||
legacy_order_goods_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 17563
|
||||
|
||||
site_name:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
朗朗桌球: 17563
|
||||
|
||||
legacy_site_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 11683
|
||||
2790685415443269: 5880
|
||||
|
||||
goods_remark:
|
||||
Total: 17563, Non-null: 12819, Distinct: 144
|
||||
Top values:
|
||||
哇哈哈矿泉水: 1697
|
||||
东方树叶: 1012
|
||||
可乐: 709
|
||||
一次性手套: 546
|
||||
地道肠: 540
|
||||
红牛: 529
|
||||
百威235毫升: 459
|
||||
农夫山泉苏打水: 442
|
||||
轻上椰子水: 353
|
||||
普通扑克: 296
|
||||
蜂蜜水: 252
|
||||
钻石荷花: 228
|
||||
鱼蛋: 225
|
||||
哇哈哈AD钙奶: 222
|
||||
水溶C: 208
|
||||
|
||||
option_value_name:
|
||||
Total: 17563, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
operator_name:
|
||||
Total: 17563, Non-null: 17563, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
收银员:郑丽珊: 17562
|
||||
收银员:郑丽珍: 1
|
||||
|
||||
open_salesman_flag:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 17563
|
||||
|
||||
salesman_user_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 17563
|
||||
|
||||
salesman_name:
|
||||
Total: 17563, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
salesman_role_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 17563
|
||||
|
||||
salesman_org_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 17563
|
||||
|
||||
returns_number:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 17563
|
||||
|
||||
package_coupon_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 17563
|
||||
|
||||
order_coupon_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 17563
|
||||
|
||||
member_coupon_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 17563
|
||||
|
||||
is_single_order:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 17563
|
||||
|
||||
sales_type:
|
||||
Total: 17563, Non-null: 17563, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 17563
|
||||
|
||||
operator_id:
|
||||
Total: 17563, Non-null: 17563, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790687322443013: 17562
|
||||
2801909606452165: 1
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['store_goods_sale_id', 'legacy_order_goods_id', 'site_name', 'legacy_site_id', 'goods_remark', 'option_value_name', 'operator_name', 'open_salesman_flag', 'salesman_user_id', 'salesman_name', 'salesman_role_id', 'salesman_org_id', 'discount_money', 'returns_number', 'coupon_deduct_money', 'member_discount_amount', 'point_discount_money', 'point_discount_money_cost', 'package_coupon_id', 'order_coupon_id', 'member_coupon_id', 'option_price', 'option_member_discount_money', 'option_coupon_deduct_money', 'push_money', 'is_single_order', 'sales_type', 'operator_id']
|
||||
|
||||
Row 1:
|
||||
store_goods_sale_id: 2956022966241350
|
||||
legacy_order_goods_id: 0
|
||||
site_name: 朗朗桌球
|
||||
legacy_site_id: 0
|
||||
goods_remark: 鸡翅三个一份
|
||||
option_value_name: NULL
|
||||
operator_name: 收银员:郑丽珊
|
||||
open_salesman_flag: 2
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
discount_money: 0.00
|
||||
returns_number: 0
|
||||
coupon_deduct_money: 0.00
|
||||
member_discount_amount: 0.00
|
||||
point_discount_money: 0.00
|
||||
point_discount_money_cost: 0.00
|
||||
package_coupon_id: 0
|
||||
order_coupon_id: 0
|
||||
member_coupon_id: 0
|
||||
option_price: 0.00
|
||||
option_member_discount_money: 0.00
|
||||
option_coupon_deduct_money: 0.00
|
||||
push_money: 0.00
|
||||
is_single_order: 1
|
||||
sales_type: 1
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 2:
|
||||
store_goods_sale_id: 2858856281016070
|
||||
legacy_order_goods_id: 0
|
||||
site_name: 朗朗桌球
|
||||
legacy_site_id: 2790685415443269
|
||||
goods_remark: NULL
|
||||
option_value_name: NULL
|
||||
operator_name: 收银员:郑丽珊
|
||||
open_salesman_flag: 2
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
discount_money: 0.00
|
||||
returns_number: 0
|
||||
coupon_deduct_money: 0.00
|
||||
member_discount_amount: 0.00
|
||||
point_discount_money: 0.00
|
||||
point_discount_money_cost: 0.00
|
||||
package_coupon_id: 0
|
||||
order_coupon_id: 0
|
||||
member_coupon_id: 0
|
||||
option_price: 0.00
|
||||
option_member_discount_money: 0.00
|
||||
option_coupon_deduct_money: 0.00
|
||||
push_money: 0.00
|
||||
is_single_order: 1
|
||||
sales_type: 1
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 3:
|
||||
store_goods_sale_id: 2858856281016069
|
||||
legacy_order_goods_id: 0
|
||||
site_name: 朗朗桌球
|
||||
legacy_site_id: 2790685415443269
|
||||
goods_remark: NULL
|
||||
option_value_name: NULL
|
||||
operator_name: 收银员:郑丽珊
|
||||
open_salesman_flag: 2
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
discount_money: 0.00
|
||||
returns_number: 0
|
||||
coupon_deduct_money: 0.00
|
||||
member_discount_amount: 0.00
|
||||
point_discount_money: 0.00
|
||||
point_discount_money_cost: 0.00
|
||||
package_coupon_id: 0
|
||||
order_coupon_id: 0
|
||||
member_coupon_id: 0
|
||||
option_price: 0.00
|
||||
option_member_discount_money: 0.00
|
||||
option_coupon_deduct_money: 0.00
|
||||
push_money: 0.00
|
||||
is_single_order: 1
|
||||
sales_type: 1
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 4:
|
||||
store_goods_sale_id: 2858856280999685
|
||||
legacy_order_goods_id: 0
|
||||
site_name: 朗朗桌球
|
||||
legacy_site_id: 2790685415443269
|
||||
goods_remark: NULL
|
||||
option_value_name: NULL
|
||||
operator_name: 收银员:郑丽珊
|
||||
open_salesman_flag: 2
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
discount_money: 0.00
|
||||
returns_number: 0
|
||||
coupon_deduct_money: 0.00
|
||||
member_discount_amount: 0.00
|
||||
point_discount_money: 0.00
|
||||
point_discount_money_cost: 0.00
|
||||
package_coupon_id: 0
|
||||
order_coupon_id: 0
|
||||
member_coupon_id: 0
|
||||
option_price: 0.00
|
||||
option_member_discount_money: 0.00
|
||||
option_coupon_deduct_money: 0.00
|
||||
push_money: 0.00
|
||||
is_single_order: 1
|
||||
sales_type: 1
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 5:
|
||||
store_goods_sale_id: 2858852495181765
|
||||
legacy_order_goods_id: 0
|
||||
site_name: 朗朗桌球
|
||||
legacy_site_id: 2790685415443269
|
||||
goods_remark: NULL
|
||||
option_value_name: NULL
|
||||
operator_name: 收银员:郑丽珊
|
||||
open_salesman_flag: 2
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
discount_money: 0.00
|
||||
returns_number: 0
|
||||
coupon_deduct_money: 0.00
|
||||
member_discount_amount: 0.00
|
||||
point_discount_money: 0.00
|
||||
point_discount_money_cost: 0.00
|
||||
package_coupon_id: 0
|
||||
order_coupon_id: 0
|
||||
member_coupon_id: 0
|
||||
option_price: 0.00
|
||||
option_member_discount_money: 0.00
|
||||
option_coupon_deduct_money: 0.00
|
||||
push_money: 0.00
|
||||
is_single_order: 1
|
||||
sales_type: 1
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 6:
|
||||
store_goods_sale_id: 2858838793062085
|
||||
legacy_order_goods_id: 0
|
||||
site_name: 朗朗桌球
|
||||
legacy_site_id: 2790685415443269
|
||||
goods_remark: NULL
|
||||
option_value_name: NULL
|
||||
operator_name: 收银员:郑丽珊
|
||||
open_salesman_flag: 2
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
discount_money: 0.00
|
||||
returns_number: 0
|
||||
coupon_deduct_money: 0.00
|
||||
member_discount_amount: 0.00
|
||||
point_discount_money: 0.00
|
||||
point_discount_money_cost: 0.00
|
||||
package_coupon_id: 0
|
||||
order_coupon_id: 0
|
||||
member_coupon_id: 0
|
||||
option_price: 0.00
|
||||
option_member_discount_money: 0.00
|
||||
option_coupon_deduct_money: 0.00
|
||||
push_money: 0.00
|
||||
is_single_order: 1
|
||||
sales_type: 1
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 7:
|
||||
store_goods_sale_id: 2858811441825477
|
||||
legacy_order_goods_id: 0
|
||||
site_name: 朗朗桌球
|
||||
legacy_site_id: 2790685415443269
|
||||
goods_remark: NULL
|
||||
option_value_name: NULL
|
||||
operator_name: 收银员:郑丽珊
|
||||
open_salesman_flag: 2
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
discount_money: 0.00
|
||||
returns_number: 0
|
||||
coupon_deduct_money: 0.00
|
||||
member_discount_amount: 0.00
|
||||
point_discount_money: 0.00
|
||||
point_discount_money_cost: 0.00
|
||||
package_coupon_id: 0
|
||||
order_coupon_id: 0
|
||||
member_coupon_id: 0
|
||||
option_price: 0.00
|
||||
option_member_discount_money: 0.00
|
||||
option_coupon_deduct_money: 0.00
|
||||
push_money: 0.00
|
||||
is_single_order: 1
|
||||
sales_type: 1
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 8:
|
||||
store_goods_sale_id: 2858800638674693
|
||||
legacy_order_goods_id: 0
|
||||
site_name: 朗朗桌球
|
||||
legacy_site_id: 2790685415443269
|
||||
goods_remark: NULL
|
||||
option_value_name: NULL
|
||||
operator_name: 收银员:郑丽珊
|
||||
open_salesman_flag: 2
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
discount_money: 0.00
|
||||
returns_number: 0
|
||||
coupon_deduct_money: 0.00
|
||||
member_discount_amount: 0.00
|
||||
point_discount_money: 0.00
|
||||
point_discount_money_cost: 0.00
|
||||
package_coupon_id: 0
|
||||
order_coupon_id: 0
|
||||
member_coupon_id: 0
|
||||
option_price: 0.00
|
||||
option_member_discount_money: 0.00
|
||||
option_coupon_deduct_money: 0.00
|
||||
push_money: 0.00
|
||||
is_single_order: 1
|
||||
sales_type: 1
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 9:
|
||||
store_goods_sale_id: 2858800638641925
|
||||
legacy_order_goods_id: 0
|
||||
site_name: 朗朗桌球
|
||||
legacy_site_id: 2790685415443269
|
||||
goods_remark: NULL
|
||||
option_value_name: NULL
|
||||
operator_name: 收银员:郑丽珊
|
||||
open_salesman_flag: 2
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
discount_money: 0.00
|
||||
returns_number: 0
|
||||
coupon_deduct_money: 0.00
|
||||
member_discount_amount: 0.00
|
||||
point_discount_money: 0.00
|
||||
point_discount_money_cost: 0.00
|
||||
package_coupon_id: 0
|
||||
order_coupon_id: 0
|
||||
member_coupon_id: 0
|
||||
option_price: 0.00
|
||||
option_member_discount_money: 0.00
|
||||
option_coupon_deduct_money: 0.00
|
||||
push_money: 0.00
|
||||
is_single_order: 1
|
||||
sales_type: 1
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 10:
|
||||
store_goods_sale_id: 2858800638314245
|
||||
legacy_order_goods_id: 0
|
||||
site_name: 朗朗桌球
|
||||
legacy_site_id: 2790685415443269
|
||||
goods_remark: NULL
|
||||
option_value_name: NULL
|
||||
operator_name: 收银员:郑丽珊
|
||||
open_salesman_flag: 2
|
||||
salesman_user_id: 0
|
||||
salesman_name: NULL
|
||||
salesman_role_id: 0
|
||||
salesman_org_id: 0
|
||||
discount_money: 0.00
|
||||
returns_number: 0
|
||||
coupon_deduct_money: 0.00
|
||||
member_discount_amount: 0.00
|
||||
point_discount_money: 0.00
|
||||
point_discount_money_cost: 0.00
|
||||
package_coupon_id: 0
|
||||
order_coupon_id: 0
|
||||
member_coupon_id: 0
|
||||
option_price: 0.00
|
||||
option_member_discount_money: 0.00
|
||||
option_coupon_deduct_money: 0.00
|
||||
push_money: 0.00
|
||||
is_single_order: 1
|
||||
sales_type: 1
|
||||
operator_id: 2790687322443013
|
||||
|
||||
321
tmp/table_analysis/dwd_table_fee_adjust.txt
Normal file
321
tmp/table_analysis/dwd_table_fee_adjust.txt
Normal file
@@ -0,0 +1,321 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_table_fee_adjust
|
||||
Primary Key: table_fee_adjust_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
table_fee_adjust_id: bigint | nullable=NO | PK
|
||||
order_trade_no: bigint | nullable=YES |
|
||||
order_settle_id: bigint | nullable=YES |
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
table_id: bigint | nullable=YES |
|
||||
table_area_id: bigint | nullable=YES |
|
||||
table_area_name: character varying(64) | nullable=YES |
|
||||
tenant_table_area_id: bigint | nullable=YES |
|
||||
ledger_amount: numeric(18,2) | nullable=YES |
|
||||
ledger_status: integer | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
adjust_time: timestamp with time zone | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
table_fee_adjust_id:
|
||||
Total: 2849, Non-null: 2849, Distinct: 2849
|
||||
Top values:
|
||||
3064246571944837: 1
|
||||
2809440958499333: 1
|
||||
3017593903318661: 1
|
||||
3009294538409925: 1
|
||||
2993477712792197: 1
|
||||
3034392506993733: 1
|
||||
2965973253473989: 1
|
||||
2888562792286597: 1
|
||||
3008956284275205: 1
|
||||
3067055412186053: 1
|
||||
3050243960702725: 1
|
||||
2920573008315781: 1
|
||||
3002014301228037: 1
|
||||
3002075645856581: 1
|
||||
2960693282836357: 1
|
||||
|
||||
order_trade_no:
|
||||
Total: 2849, Non-null: 2849, Distinct: 2801
|
||||
Top values:
|
||||
2851655631671109: 3
|
||||
2831755508780165: 3
|
||||
2970029122997381: 3
|
||||
2831772820049093: 3
|
||||
2948091267387013: 3
|
||||
2954869758986437: 2
|
||||
2990547445273157: 2
|
||||
2970521489263493: 2
|
||||
3029974310012997: 2
|
||||
2836209539582277: 2
|
||||
3056795414873989: 2
|
||||
3054107856719045: 2
|
||||
2810434861500869: 2
|
||||
3060857267505733: 2
|
||||
2980688405924165: 2
|
||||
|
||||
order_settle_id:
|
||||
Total: 2849, Non-null: 2849, Distinct: 2515
|
||||
Top values:
|
||||
2985297809476293: 7
|
||||
2959261151989445: 5
|
||||
2890024064813381: 5
|
||||
2933889434896133: 5
|
||||
2802093505628229: 5
|
||||
2823425434258501: 5
|
||||
3050243203696325: 4
|
||||
2826430466378821: 4
|
||||
2973323104635077: 4
|
||||
2990834049419973: 4
|
||||
3041336658364101: 4
|
||||
2842013991014021: 4
|
||||
2983454744515141: 4
|
||||
2946626600634501: 4
|
||||
3046093693290245: 3
|
||||
|
||||
tenant_id:
|
||||
Total: 2849, Non-null: 2849, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 2849
|
||||
|
||||
site_id:
|
||||
Total: 2849, Non-null: 2849, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 2849
|
||||
|
||||
table_id:
|
||||
Total: 2849, Non-null: 2849, Distinct: 74
|
||||
Top values:
|
||||
2793022937911365: 206
|
||||
2793020259897413: 182
|
||||
2793018776735877: 170
|
||||
2793023960633413: 157
|
||||
2793023960682565: 102
|
||||
2793023960551493: 99
|
||||
2793022145302597: 83
|
||||
2791964216463493: 79
|
||||
2802006434630661: 75
|
||||
2793020955840645: 70
|
||||
2851642357976581: 62
|
||||
2793016660660357: 55
|
||||
2802282095561797: 55
|
||||
2793020259946565: 54
|
||||
2851642813353477: 54
|
||||
|
||||
table_area_id:
|
||||
Total: 2849, Non-null: 2849, Distinct: 16
|
||||
Top values:
|
||||
2791962314215301: 455
|
||||
2791960001957765: 375
|
||||
2791960521691013: 342
|
||||
2801978934053829: 331
|
||||
2791961347968901: 308
|
||||
2791961060364165: 307
|
||||
2791960850435973: 207
|
||||
2791962068946821: 206
|
||||
2791961709907845: 107
|
||||
2791961598955397: 101
|
||||
2942054283414597: 35
|
||||
2956244810877893: 32
|
||||
2956243120376773: 30
|
||||
3004534168259333: 9
|
||||
2944826806683269: 3
|
||||
|
||||
table_area_name:
|
||||
Total: 2849, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
tenant_table_area_id:
|
||||
Total: 2849, Non-null: 2849, Distinct: 16
|
||||
Top values:
|
||||
2791962314215301: 455
|
||||
2791960001957765: 375
|
||||
2791960521691013: 342
|
||||
2801978934053829: 331
|
||||
2791961347968901: 308
|
||||
2791961060364165: 307
|
||||
2791960850435973: 207
|
||||
2791962068946821: 206
|
||||
2791961709907845: 107
|
||||
2791961598955397: 101
|
||||
2942054283414597: 35
|
||||
2956244810877893: 32
|
||||
2956243120376773: 30
|
||||
3004534168259333: 9
|
||||
2944826806683269: 3
|
||||
|
||||
ledger_status:
|
||||
Total: 2849, Non-null: 2849, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 2801
|
||||
0: 48
|
||||
|
||||
is_delete:
|
||||
Total: 2849, Non-null: 2849, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 2849
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['table_fee_adjust_id', 'order_trade_no', 'order_settle_id', 'tenant_id', 'site_id', 'table_id', 'table_area_id', 'table_area_name', 'tenant_table_area_id', 'ledger_amount', 'ledger_status', 'is_delete', 'adjust_time']
|
||||
|
||||
Row 1:
|
||||
table_fee_adjust_id: 2957913441881989
|
||||
order_trade_no: 2957784612605829
|
||||
order_settle_id: 2957913171693253
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793020259897413
|
||||
table_area_id: 2791961347968901
|
||||
table_area_name: NULL
|
||||
tenant_table_area_id: 2791961347968901
|
||||
ledger_amount: 148.15
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
adjust_time: 2025-11-09 23:25:11+08:00
|
||||
|
||||
Row 2:
|
||||
table_fee_adjust_id: 2957881608900293
|
||||
order_trade_no: 2957564999110149
|
||||
order_settle_id: 2957881518788421
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793023960633413
|
||||
table_area_id: 2791962314215301
|
||||
table_area_name: NULL
|
||||
tenant_table_area_id: 2791962314215301
|
||||
ledger_amount: 120.00
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
adjust_time: 2025-11-09 22:52:48+08:00
|
||||
|
||||
Row 3:
|
||||
table_fee_adjust_id: 2957814223867717
|
||||
order_trade_no: 2957792593448837
|
||||
order_settle_id: 2957813956382533
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793016660660357
|
||||
table_area_id: 2791960850435973
|
||||
table_area_name: NULL
|
||||
tenant_table_area_id: 2791960850435973
|
||||
ledger_amount: 24.18
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
adjust_time: 2025-11-09 21:44:15+08:00
|
||||
|
||||
Row 4:
|
||||
table_fee_adjust_id: 2957814223818565
|
||||
order_trade_no: 2957757804416901
|
||||
order_settle_id: 2957813956382533
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2791964216463493
|
||||
table_area_id: 2791960001957765
|
||||
table_area_name: NULL
|
||||
tenant_table_area_id: 2791960001957765
|
||||
ledger_amount: 14.16
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
adjust_time: 2025-11-09 21:44:15+08:00
|
||||
|
||||
Row 5:
|
||||
table_fee_adjust_id: 2957809022848517
|
||||
order_trade_no: 2957637918707525
|
||||
order_settle_id: 2957808874803077
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793012902203525
|
||||
table_area_id: 2791960521691013
|
||||
table_area_name: NULL
|
||||
tenant_table_area_id: 2791960521691013
|
||||
ledger_amount: 18.00
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
adjust_time: 2025-11-09 21:38:58+08:00
|
||||
|
||||
Row 6:
|
||||
table_fee_adjust_id: 2957786384502277
|
||||
order_trade_no: 2957651697635141
|
||||
order_settle_id: 2957786346884805
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793003806953541
|
||||
table_area_id: 2791960001957765
|
||||
table_area_name: NULL
|
||||
tenant_table_area_id: 2791960001957765
|
||||
ledger_amount: 96.27
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
adjust_time: 2025-11-09 21:15:56+08:00
|
||||
|
||||
Row 7:
|
||||
table_fee_adjust_id: 2957752919379845
|
||||
order_trade_no: 2957748356140741
|
||||
order_settle_id: 2957752895754053
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793020259897413
|
||||
table_area_id: 2791961347968901
|
||||
table_area_name: NULL
|
||||
tenant_table_area_id: 2791961347968901
|
||||
ledger_amount: 5.08
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
adjust_time: 2025-11-09 20:41:53+08:00
|
||||
|
||||
Row 8:
|
||||
table_fee_adjust_id: 2957675850501829
|
||||
order_trade_no: 2957576702300037
|
||||
order_settle_id: 2957675763060549
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793016660660357
|
||||
table_area_id: 2791960850435973
|
||||
table_area_name: NULL
|
||||
tenant_table_area_id: 2791960850435973
|
||||
ledger_amount: 113.64
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
adjust_time: 2025-11-09 19:23:29+08:00
|
||||
|
||||
Row 9:
|
||||
table_fee_adjust_id: 2957593928126277
|
||||
order_trade_no: 2957543598772037
|
||||
order_settle_id: 2957593881104261
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793022937911365
|
||||
table_area_id: 2791962068946821
|
||||
table_area_name: NULL
|
||||
tenant_table_area_id: 2791962068946821
|
||||
ledger_amount: 28.11
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
adjust_time: 2025-11-09 18:00:09+08:00
|
||||
|
||||
Row 10:
|
||||
table_fee_adjust_id: 2957537445105541
|
||||
order_trade_no: 2957281196167045
|
||||
order_settle_id: 2957537402621637
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
table_id: 2793023960633413
|
||||
table_area_id: 2791962314215301
|
||||
table_area_name: NULL
|
||||
tenant_table_area_id: 2791962314215301
|
||||
ledger_amount: 120.00
|
||||
ledger_status: 1
|
||||
is_delete: 0
|
||||
adjust_time: 2025-11-09 17:02:42+08:00
|
||||
|
||||
182
tmp/table_analysis/dwd_table_fee_adjust_ex.txt
Normal file
182
tmp/table_analysis/dwd_table_fee_adjust_ex.txt
Normal file
@@ -0,0 +1,182 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_table_fee_adjust_ex
|
||||
Primary Key: table_fee_adjust_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
table_fee_adjust_id: bigint | nullable=NO | PK
|
||||
adjust_type: integer | nullable=YES |
|
||||
ledger_count: integer | nullable=YES |
|
||||
ledger_name: character varying(128) | nullable=YES |
|
||||
applicant_name: character varying(64) | nullable=YES |
|
||||
operator_name: character varying(64) | nullable=YES |
|
||||
applicant_id: bigint | nullable=YES |
|
||||
operator_id: bigint | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
table_fee_adjust_id:
|
||||
Total: 2849, Non-null: 2849, Distinct: 2849
|
||||
Top values:
|
||||
3064246571944837: 1
|
||||
2809440958499333: 1
|
||||
3017593903318661: 1
|
||||
3009294538409925: 1
|
||||
2993477712792197: 1
|
||||
3034392506993733: 1
|
||||
2965973253473989: 1
|
||||
2888562792286597: 1
|
||||
3008956284275205: 1
|
||||
3067055412186053: 1
|
||||
3050243960702725: 1
|
||||
2920573008315781: 1
|
||||
3002014301228037: 1
|
||||
3002075645856581: 1
|
||||
2960693282836357: 1
|
||||
|
||||
adjust_type:
|
||||
Total: 2849, Non-null: 2849, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 2849
|
||||
|
||||
ledger_count:
|
||||
Total: 2849, Non-null: 2849, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 2849
|
||||
|
||||
ledger_name:
|
||||
Total: 2849, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
applicant_name:
|
||||
Total: 2849, Non-null: 2849, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
收银员:郑丽珊: 2849
|
||||
|
||||
operator_name:
|
||||
Total: 2849, Non-null: 2849, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
收银员:郑丽珊: 2849
|
||||
|
||||
applicant_id:
|
||||
Total: 2849, Non-null: 2849, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790687322443013: 2849
|
||||
|
||||
operator_id:
|
||||
Total: 2849, Non-null: 2849, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790687322443013: 2849
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['table_fee_adjust_id', 'adjust_type', 'ledger_count', 'ledger_name', 'applicant_name', 'operator_name', 'applicant_id', 'operator_id']
|
||||
|
||||
Row 1:
|
||||
table_fee_adjust_id: 2957913441881989
|
||||
adjust_type: 1
|
||||
ledger_count: 1
|
||||
ledger_name: NULL
|
||||
applicant_name: 收银员:郑丽珊
|
||||
operator_name: 收银员:郑丽珊
|
||||
applicant_id: 2790687322443013
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 2:
|
||||
table_fee_adjust_id: 2957881608900293
|
||||
adjust_type: 1
|
||||
ledger_count: 1
|
||||
ledger_name: NULL
|
||||
applicant_name: 收银员:郑丽珊
|
||||
operator_name: 收银员:郑丽珊
|
||||
applicant_id: 2790687322443013
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 3:
|
||||
table_fee_adjust_id: 2957814223867717
|
||||
adjust_type: 1
|
||||
ledger_count: 1
|
||||
ledger_name: NULL
|
||||
applicant_name: 收银员:郑丽珊
|
||||
operator_name: 收银员:郑丽珊
|
||||
applicant_id: 2790687322443013
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 4:
|
||||
table_fee_adjust_id: 2957814223818565
|
||||
adjust_type: 1
|
||||
ledger_count: 1
|
||||
ledger_name: NULL
|
||||
applicant_name: 收银员:郑丽珊
|
||||
operator_name: 收银员:郑丽珊
|
||||
applicant_id: 2790687322443013
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 5:
|
||||
table_fee_adjust_id: 2957809022848517
|
||||
adjust_type: 1
|
||||
ledger_count: 1
|
||||
ledger_name: NULL
|
||||
applicant_name: 收银员:郑丽珊
|
||||
operator_name: 收银员:郑丽珊
|
||||
applicant_id: 2790687322443013
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 6:
|
||||
table_fee_adjust_id: 2957786384502277
|
||||
adjust_type: 1
|
||||
ledger_count: 1
|
||||
ledger_name: NULL
|
||||
applicant_name: 收银员:郑丽珊
|
||||
operator_name: 收银员:郑丽珊
|
||||
applicant_id: 2790687322443013
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 7:
|
||||
table_fee_adjust_id: 2957752919379845
|
||||
adjust_type: 1
|
||||
ledger_count: 1
|
||||
ledger_name: NULL
|
||||
applicant_name: 收银员:郑丽珊
|
||||
operator_name: 收银员:郑丽珊
|
||||
applicant_id: 2790687322443013
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 8:
|
||||
table_fee_adjust_id: 2957675850501829
|
||||
adjust_type: 1
|
||||
ledger_count: 1
|
||||
ledger_name: NULL
|
||||
applicant_name: 收银员:郑丽珊
|
||||
operator_name: 收银员:郑丽珊
|
||||
applicant_id: 2790687322443013
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 9:
|
||||
table_fee_adjust_id: 2957593928126277
|
||||
adjust_type: 1
|
||||
ledger_count: 1
|
||||
ledger_name: NULL
|
||||
applicant_name: 收银员:郑丽珊
|
||||
operator_name: 收银员:郑丽珊
|
||||
applicant_id: 2790687322443013
|
||||
operator_id: 2790687322443013
|
||||
|
||||
Row 10:
|
||||
table_fee_adjust_id: 2957537445105541
|
||||
adjust_type: 1
|
||||
ledger_count: 1
|
||||
ledger_name: NULL
|
||||
applicant_name: 收银员:郑丽珊
|
||||
operator_name: 收银员:郑丽珊
|
||||
applicant_id: 2790687322443013
|
||||
operator_id: 2790687322443013
|
||||
|
||||
597
tmp/table_analysis/dwd_table_fee_log.txt
Normal file
597
tmp/table_analysis/dwd_table_fee_log.txt
Normal file
@@ -0,0 +1,597 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_table_fee_log
|
||||
Primary Key: table_fee_log_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
table_fee_log_id: bigint | nullable=NO | PK
|
||||
order_trade_no: bigint | nullable=YES |
|
||||
order_settle_id: bigint | nullable=YES |
|
||||
order_pay_id: bigint | nullable=YES |
|
||||
tenant_id: bigint | nullable=YES |
|
||||
site_id: bigint | nullable=YES |
|
||||
site_table_id: bigint | nullable=YES |
|
||||
site_table_area_id: bigint | nullable=YES |
|
||||
site_table_area_name: character varying(64) | nullable=YES |
|
||||
tenant_table_area_id: bigint | nullable=YES |
|
||||
member_id: bigint | nullable=YES |
|
||||
ledger_name: character varying(64) | nullable=YES |
|
||||
ledger_unit_price: numeric(18,2) | nullable=YES |
|
||||
ledger_count: integer | nullable=YES |
|
||||
ledger_amount: numeric(18,2) | nullable=YES |
|
||||
real_table_charge_money: numeric(18,2) | nullable=YES |
|
||||
coupon_promotion_amount: numeric(18,2) | nullable=YES |
|
||||
member_discount_amount: numeric(18,2) | nullable=YES |
|
||||
adjust_amount: numeric(18,2) | nullable=YES |
|
||||
real_table_use_seconds: integer | nullable=YES |
|
||||
add_clock_seconds: integer | nullable=YES |
|
||||
start_use_time: timestamp with time zone | nullable=YES |
|
||||
ledger_end_time: timestamp with time zone | nullable=YES |
|
||||
create_time: timestamp with time zone | nullable=YES |
|
||||
ledger_status: integer | nullable=YES |
|
||||
is_single_order: integer | nullable=YES |
|
||||
is_delete: integer | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
table_fee_log_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 18386
|
||||
Top values:
|
||||
2897193251719557: 1
|
||||
2893935585020421: 1
|
||||
2906552039376453: 1
|
||||
2851661190713157: 1
|
||||
2936533613791813: 1
|
||||
2890835850152453: 1
|
||||
2847609203805253: 1
|
||||
2916908961123333: 1
|
||||
2983183886160581: 1
|
||||
2820543392057349: 1
|
||||
2946311480395845: 1
|
||||
2888126009035269: 1
|
||||
3007558006097989: 1
|
||||
2916821234994181: 1
|
||||
3019966811522501: 1
|
||||
|
||||
order_trade_no:
|
||||
Total: 18386, Non-null: 18386, Distinct: 18383
|
||||
Top values:
|
||||
3056793707677445: 2
|
||||
3056795414873989: 2
|
||||
3056739120465797: 2
|
||||
3024540226750533: 1
|
||||
3007427703621637: 1
|
||||
2852917643398853: 1
|
||||
3006788825450629: 1
|
||||
2940445841379141: 1
|
||||
2977196476385221: 1
|
||||
2974691030586245: 1
|
||||
2985657512940101: 1
|
||||
3063831565503365: 1
|
||||
3041539249555333: 1
|
||||
2995680885133509: 1
|
||||
3063804395604933: 1
|
||||
|
||||
order_settle_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 17418
|
||||
Top values:
|
||||
2990834049419973: 10
|
||||
2890024064813381: 9
|
||||
2988030668589701: 8
|
||||
2985297809476293: 7
|
||||
2959078619024901: 7
|
||||
2959261151989445: 7
|
||||
2940861764620357: 6
|
||||
2996296638500997: 5
|
||||
2973323104635077: 5
|
||||
2802093505628229: 5
|
||||
2933889434896133: 5
|
||||
2851726398656261: 5
|
||||
3038949978147525: 5
|
||||
3038784012766405: 5
|
||||
2937959061506629: 5
|
||||
|
||||
order_pay_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 18386
|
||||
|
||||
tenant_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790683160709957: 18386
|
||||
|
||||
site_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790685415443269: 18386
|
||||
|
||||
site_table_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 74
|
||||
Top values:
|
||||
2793001695301765: 1050
|
||||
2793002509209733: 984
|
||||
2793001904918661: 980
|
||||
2791964216463493: 897
|
||||
2793002808987781: 888
|
||||
2792521437958213: 837
|
||||
2793002896494725: 767
|
||||
2793002980429893: 643
|
||||
2793003066429509: 614
|
||||
2793003159474245: 491
|
||||
2793020259897413: 489
|
||||
2793003705192517: 475
|
||||
2793003243294789: 444
|
||||
2793003420504133: 405
|
||||
2793003506815045: 383
|
||||
|
||||
site_table_area_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 16
|
||||
Top values:
|
||||
2791963794329671: 11222
|
||||
2791963807682693: 2227
|
||||
2791963836207173: 1371
|
||||
2791963887030341: 909
|
||||
2791963816579205: 795
|
||||
2802006170324037: 540
|
||||
2791963825803397: 519
|
||||
2791963864273029: 305
|
||||
2791963855982661: 183
|
||||
2791963848527941: 143
|
||||
2942056024575749: 63
|
||||
2956246429994309: 55
|
||||
2956246442462533: 37
|
||||
3004534627601285: 12
|
||||
2944827794098053: 4
|
||||
|
||||
site_table_area_name:
|
||||
Total: 18386, Non-null: 18386, Distinct: 18
|
||||
Top values:
|
||||
A区: 11222
|
||||
B区: 2227
|
||||
斯诺克区: 1371
|
||||
麻将房: 909
|
||||
C区: 795
|
||||
补时长: 540
|
||||
VIP包厢: 519
|
||||
TV台: 305
|
||||
666: 143
|
||||
888: 95
|
||||
K包: 88
|
||||
M8: 55
|
||||
M7: 54
|
||||
发财: 37
|
||||
幸会158: 12
|
||||
|
||||
tenant_table_area_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 16
|
||||
Top values:
|
||||
2791960001957765: 11222
|
||||
2791960521691013: 2227
|
||||
2791961347968901: 1371
|
||||
2791962314215301: 909
|
||||
2791960850435973: 795
|
||||
2801978934053829: 540
|
||||
2791961060364165: 519
|
||||
2791962068946821: 305
|
||||
2791961709907845: 183
|
||||
2791961598955397: 143
|
||||
2942054283414597: 63
|
||||
2956243120376773: 55
|
||||
2956244810877893: 37
|
||||
3004534168259333: 12
|
||||
2944826806683269: 4
|
||||
|
||||
member_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 183
|
||||
Top values:
|
||||
0: 15146
|
||||
2799207363643141: 263
|
||||
2799207522600709: 228
|
||||
2799207359858437: 200
|
||||
2799207124305669: 188
|
||||
2799207406946053: 149
|
||||
2799207403554565: 128
|
||||
2799212845565701: 108
|
||||
2799207328155397: 93
|
||||
2799207352715013: 84
|
||||
2799212491392773: 82
|
||||
2969257129938053: 81
|
||||
2799207390349061: 80
|
||||
2799209806071557: 76
|
||||
2799212430657285: 61
|
||||
|
||||
ledger_name:
|
||||
Total: 18386, Non-null: 18386, Distinct: 76
|
||||
Top values:
|
||||
A3: 1050
|
||||
A5: 984
|
||||
A4: 980
|
||||
A1: 897
|
||||
A7: 888
|
||||
A2: 837
|
||||
A8: 767
|
||||
A9: 643
|
||||
A10: 614
|
||||
A11: 491
|
||||
S1: 489
|
||||
A17: 475
|
||||
A12: 444
|
||||
A14: 405
|
||||
A15: 383
|
||||
|
||||
ledger_count:
|
||||
Total: 18386, Non-null: 18386, Distinct: 5105
|
||||
Top values:
|
||||
3600: 7213
|
||||
7200: 3573
|
||||
0: 489
|
||||
10800: 453
|
||||
14400: 323
|
||||
18000: 79
|
||||
1800: 38
|
||||
21600: 27
|
||||
5400: 9
|
||||
7205: 7
|
||||
1200: 7
|
||||
36000: 6
|
||||
7202: 6
|
||||
3336: 5
|
||||
3552: 5
|
||||
|
||||
real_table_use_seconds:
|
||||
Total: 18386, Non-null: 18386, Distinct: 5203
|
||||
Top values:
|
||||
3600: 6880
|
||||
7200: 3517
|
||||
0: 489
|
||||
10800: 440
|
||||
14400: 314
|
||||
18000: 75
|
||||
60: 46
|
||||
1800: 37
|
||||
21600: 24
|
||||
66: 23
|
||||
65: 22
|
||||
3601: 16
|
||||
8: 15
|
||||
5: 12
|
||||
7201: 12
|
||||
|
||||
add_clock_seconds:
|
||||
Total: 18386, Non-null: 18386, Distinct: 57
|
||||
Top values:
|
||||
0: 18115
|
||||
60: 92
|
||||
7200: 36
|
||||
600: 17
|
||||
10800: 16
|
||||
1800: 10
|
||||
18000: 9
|
||||
3600: 8
|
||||
120: 5
|
||||
480: 5
|
||||
1200: 5
|
||||
2400: 4
|
||||
6000: 3
|
||||
900: 3
|
||||
7320: 3
|
||||
|
||||
ledger_status:
|
||||
Total: 18386, Non-null: 18386, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 18386
|
||||
|
||||
is_single_order:
|
||||
Total: 18386, Non-null: 18386, Distinct: 2
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
1: 17747
|
||||
0: 639
|
||||
|
||||
is_delete:
|
||||
Total: 18386, Non-null: 18386, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 18386
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['table_fee_log_id', 'order_trade_no', 'order_settle_id', 'order_pay_id', 'tenant_id', 'site_id', 'site_table_id', 'site_table_area_id', 'site_table_area_name', 'tenant_table_area_id', 'member_id', 'ledger_name', 'ledger_unit_price', 'ledger_count', 'ledger_amount', 'real_table_charge_money', 'coupon_promotion_amount', 'member_discount_amount', 'adjust_amount', 'real_table_use_seconds', 'add_clock_seconds', 'start_use_time', 'ledger_end_time', 'create_time', 'ledger_status', 'is_single_order', 'is_delete']
|
||||
|
||||
Row 1:
|
||||
table_fee_log_id: 2957924029058885
|
||||
order_trade_no: 2957858167230149
|
||||
order_settle_id: 2957922914357125
|
||||
order_pay_id: 0
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793003705192517
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791960001957765
|
||||
member_id: 0
|
||||
ledger_name: A17
|
||||
ledger_unit_price: 48.00
|
||||
ledger_count: 3600
|
||||
ledger_amount: 48.00
|
||||
real_table_charge_money: 0.00
|
||||
coupon_promotion_amount: 48.00
|
||||
member_discount_amount: 0.00
|
||||
adjust_amount: 0.00
|
||||
real_table_use_seconds: 3600
|
||||
add_clock_seconds: 0
|
||||
start_use_time: 2025-11-09 22:28:57+08:00
|
||||
ledger_end_time: 2025-11-09 23:28:57+08:00
|
||||
create_time: 2025-11-09 23:35:57+08:00
|
||||
ledger_status: 1
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
|
||||
Row 2:
|
||||
table_fee_log_id: 2957922693074821
|
||||
order_trade_no: 2957804588781445
|
||||
order_settle_id: 2957922677673797
|
||||
order_pay_id: 0
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793001904918661
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791960001957765
|
||||
member_id: 0
|
||||
ledger_name: A4
|
||||
ledger_unit_price: 48.00
|
||||
ledger_count: 7200
|
||||
ledger_amount: 96.00
|
||||
real_table_charge_money: 0.00
|
||||
coupon_promotion_amount: 96.00
|
||||
member_discount_amount: 0.00
|
||||
adjust_amount: 0.00
|
||||
real_table_use_seconds: 7200
|
||||
add_clock_seconds: 0
|
||||
start_use_time: 2025-11-09 21:34:27+08:00
|
||||
ledger_end_time: 2025-11-09 23:34:27+08:00
|
||||
create_time: 2025-11-09 23:34:36+08:00
|
||||
ledger_status: 1
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
|
||||
Row 3:
|
||||
table_fee_log_id: 2957921521733125
|
||||
order_trade_no: 2957862075436549
|
||||
order_settle_id: 2957921502088901
|
||||
order_pay_id: 0
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2791964216463493
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791960001957765
|
||||
member_id: 0
|
||||
ledger_name: A1
|
||||
ledger_unit_price: 48.00
|
||||
ledger_count: 3600
|
||||
ledger_amount: 48.00
|
||||
real_table_charge_money: 48.00
|
||||
coupon_promotion_amount: 0.00
|
||||
member_discount_amount: 0.00
|
||||
adjust_amount: 0.00
|
||||
real_table_use_seconds: 3600
|
||||
add_clock_seconds: 0
|
||||
start_use_time: 2025-11-09 22:32:55+08:00
|
||||
ledger_end_time: 2025-11-09 23:32:55+08:00
|
||||
create_time: 2025-11-09 23:33:24+08:00
|
||||
ledger_status: 1
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
|
||||
Row 4:
|
||||
table_fee_log_id: 2957920279498629
|
||||
order_trade_no: 2957814644494149
|
||||
order_settle_id: 2957920006540997
|
||||
order_pay_id: 0
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793002808987781
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791960001957765
|
||||
member_id: 0
|
||||
ledger_name: A7
|
||||
ledger_unit_price: 48.00
|
||||
ledger_count: 6429
|
||||
ledger_amount: 85.72
|
||||
real_table_charge_money: 0.00
|
||||
coupon_promotion_amount: 85.72
|
||||
member_discount_amount: 0.00
|
||||
adjust_amount: 0.00
|
||||
real_table_use_seconds: 6430
|
||||
add_clock_seconds: 0
|
||||
start_use_time: 2025-11-09 21:44:40+08:00
|
||||
ledger_end_time: 2025-11-09 23:31:49+08:00
|
||||
create_time: 2025-11-09 23:32:08+08:00
|
||||
ledger_status: 1
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
|
||||
Row 5:
|
||||
table_fee_log_id: 2957913926717253
|
||||
order_trade_no: 2957852541275653
|
||||
order_settle_id: 2957913909300741
|
||||
order_pay_id: 0
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793002980429893
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791960001957765
|
||||
member_id: 0
|
||||
ledger_name: A9
|
||||
ledger_unit_price: 48.00
|
||||
ledger_count: 3600
|
||||
ledger_amount: 48.00
|
||||
real_table_charge_money: 0.00
|
||||
coupon_promotion_amount: 48.00
|
||||
member_discount_amount: 0.00
|
||||
adjust_amount: 0.00
|
||||
real_table_use_seconds: 3600
|
||||
add_clock_seconds: 0
|
||||
start_use_time: 2025-11-09 22:23:14+08:00
|
||||
ledger_end_time: 2025-11-09 23:23:14+08:00
|
||||
create_time: 2025-11-09 23:25:41+08:00
|
||||
ledger_status: 1
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
|
||||
Row 6:
|
||||
table_fee_log_id: 2957913440948101
|
||||
order_trade_no: 2957784612605829
|
||||
order_settle_id: 2957913171693253
|
||||
order_pay_id: 0
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793020259897413
|
||||
site_table_area_id: 2791963836207173
|
||||
site_table_area_name: 斯诺克区
|
||||
tenant_table_area_id: 2791961347968901
|
||||
member_id: 0
|
||||
ledger_name: S1
|
||||
ledger_unit_price: 68.00
|
||||
ledger_count: 7843
|
||||
ledger_amount: 148.15
|
||||
real_table_charge_money: 0.00
|
||||
coupon_promotion_amount: 0.00
|
||||
member_discount_amount: 0.00
|
||||
adjust_amount: 148.15
|
||||
real_table_use_seconds: 7843
|
||||
add_clock_seconds: 0
|
||||
start_use_time: 2025-11-09 21:14:07+08:00
|
||||
ledger_end_time: 2025-11-09 23:24:50+08:00
|
||||
create_time: 2025-11-09 23:25:11+08:00
|
||||
ledger_status: 1
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
|
||||
Row 7:
|
||||
table_fee_log_id: 2957909372325573
|
||||
order_trade_no: 2957850075041477
|
||||
order_settle_id: 2957909354516357
|
||||
order_pay_id: 0
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793002896494725
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791960001957765
|
||||
member_id: 0
|
||||
ledger_name: A8
|
||||
ledger_unit_price: 48.00
|
||||
ledger_count: 3600
|
||||
ledger_amount: 48.00
|
||||
real_table_charge_money: 0.00
|
||||
coupon_promotion_amount: 48.00
|
||||
member_discount_amount: 0.00
|
||||
adjust_amount: 0.00
|
||||
real_table_use_seconds: 3600
|
||||
add_clock_seconds: 0
|
||||
start_use_time: 2025-11-09 22:20:43+08:00
|
||||
ledger_end_time: 2025-11-09 23:20:43+08:00
|
||||
create_time: 2025-11-09 23:21:03+08:00
|
||||
ledger_status: 1
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
|
||||
Row 8:
|
||||
table_fee_log_id: 2957902858948421
|
||||
order_trade_no: 2957733026106885
|
||||
order_settle_id: 2957900926045701
|
||||
order_pay_id: 0
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793012902154373
|
||||
site_table_area_id: 2791963807682693
|
||||
site_table_area_name: B区
|
||||
tenant_table_area_id: 2791960521691013
|
||||
member_id: 0
|
||||
ledger_name: B5
|
||||
ledger_unit_price: 58.00
|
||||
ledger_count: 10247
|
||||
ledger_amount: 165.09
|
||||
real_table_charge_money: 0.00
|
||||
coupon_promotion_amount: 165.09
|
||||
member_discount_amount: 0.00
|
||||
adjust_amount: 0.00
|
||||
real_table_use_seconds: 10247
|
||||
add_clock_seconds: 0
|
||||
start_use_time: 2025-11-09 20:21:39+08:00
|
||||
ledger_end_time: 2025-11-09 23:12:26+08:00
|
||||
create_time: 2025-11-09 23:14:25+08:00
|
||||
ledger_status: 1
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
|
||||
Row 9:
|
||||
table_fee_log_id: 2957882052366213
|
||||
order_trade_no: 2957759254155141
|
||||
order_settle_id: 2957881991597573
|
||||
order_pay_id: 0
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793003159474245
|
||||
site_table_area_id: 2791963794329671
|
||||
site_table_area_name: A区
|
||||
tenant_table_area_id: 2791960001957765
|
||||
member_id: 0
|
||||
ledger_name: A11
|
||||
ledger_unit_price: 48.00
|
||||
ledger_count: 7200
|
||||
ledger_amount: 96.00
|
||||
real_table_charge_money: 0.00
|
||||
coupon_promotion_amount: 96.00
|
||||
member_discount_amount: 0.00
|
||||
adjust_amount: 0.00
|
||||
real_table_use_seconds: 7200
|
||||
add_clock_seconds: 0
|
||||
start_use_time: 2025-11-09 20:48:20+08:00
|
||||
ledger_end_time: 2025-11-09 22:48:20+08:00
|
||||
create_time: 2025-11-09 22:53:15+08:00
|
||||
ledger_status: 1
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
|
||||
Row 10:
|
||||
table_fee_log_id: 2957881608392389
|
||||
order_trade_no: 2957564999110149
|
||||
order_settle_id: 2957881518788421
|
||||
order_pay_id: 0
|
||||
tenant_id: 2790683160709957
|
||||
site_id: 2790685415443269
|
||||
site_table_id: 2793023960633413
|
||||
site_table_area_id: 2791963887030341
|
||||
site_table_area_name: 麻将房
|
||||
tenant_table_area_id: 2791962314215301
|
||||
member_id: 2799212845565701
|
||||
ledger_name: M3
|
||||
ledger_unit_price: 48.00
|
||||
ledger_count: 18000
|
||||
ledger_amount: 240.00
|
||||
real_table_charge_money: 120.00
|
||||
coupon_promotion_amount: 0.00
|
||||
member_discount_amount: 0.00
|
||||
adjust_amount: 120.00
|
||||
real_table_use_seconds: 18000
|
||||
add_clock_seconds: 0
|
||||
start_use_time: 2025-11-09 17:30:43+08:00
|
||||
ledger_end_time: 2025-11-09 22:30:43+08:00
|
||||
create_time: 2025-11-09 22:52:48+08:00
|
||||
ledger_status: 1
|
||||
is_single_order: 1
|
||||
is_delete: 0
|
||||
|
||||
219
tmp/table_analysis/dwd_table_fee_log_ex.txt
Normal file
219
tmp/table_analysis/dwd_table_fee_log_ex.txt
Normal file
@@ -0,0 +1,219 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_table_fee_log_ex
|
||||
Primary Key: table_fee_log_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
table_fee_log_id: bigint | nullable=NO | PK
|
||||
operator_name: character varying(64) | nullable=YES |
|
||||
salesman_name: character varying(64) | nullable=YES |
|
||||
used_card_amount: numeric(18,2) | nullable=YES |
|
||||
service_money: numeric(18,2) | nullable=YES |
|
||||
mgmt_fee: numeric(18,2) | nullable=YES |
|
||||
fee_total: numeric(18,2) | nullable=YES |
|
||||
ledger_start_time: timestamp with time zone | nullable=YES |
|
||||
last_use_time: timestamp with time zone | nullable=YES |
|
||||
operator_id: bigint | nullable=YES |
|
||||
salesman_user_id: bigint | nullable=YES |
|
||||
salesman_org_id: bigint | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
table_fee_log_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 18386
|
||||
Top values:
|
||||
2897193251719557: 1
|
||||
2893935585020421: 1
|
||||
2906552039376453: 1
|
||||
2851661190713157: 1
|
||||
2936533613791813: 1
|
||||
2890835850152453: 1
|
||||
2847609203805253: 1
|
||||
2916908961123333: 1
|
||||
2983183886160581: 1
|
||||
2820543392057349: 1
|
||||
2946311480395845: 1
|
||||
2888126009035269: 1
|
||||
3007558006097989: 1
|
||||
2916821234994181: 1
|
||||
3019966811522501: 1
|
||||
|
||||
operator_name:
|
||||
Total: 18386, Non-null: 18386, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
收银员:郑丽珊: 18382
|
||||
收银员:郑丽珍: 2
|
||||
店长:郑丽珊: 1
|
||||
教练:周蒙: 1
|
||||
|
||||
salesman_name:
|
||||
Total: 18386, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
operator_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790687322443013: 18383
|
||||
2801909606452165: 2
|
||||
2794761849227077: 1
|
||||
|
||||
salesman_user_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 18386
|
||||
|
||||
salesman_org_id:
|
||||
Total: 18386, Non-null: 18386, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 18386
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
Columns: ['table_fee_log_id', 'operator_name', 'salesman_name', 'used_card_amount', 'service_money', 'mgmt_fee', 'fee_total', 'ledger_start_time', 'last_use_time', 'operator_id', 'salesman_user_id', 'salesman_org_id']
|
||||
|
||||
Row 1:
|
||||
table_fee_log_id: 2957924029058885
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_name: NULL
|
||||
used_card_amount: 0.00
|
||||
service_money: 0.00
|
||||
mgmt_fee: 0.00
|
||||
fee_total: 0.00
|
||||
ledger_start_time: 2025-11-09 22:28:57+08:00
|
||||
last_use_time: 2025-11-09 23:28:57+08:00
|
||||
operator_id: 2790687322443013
|
||||
salesman_user_id: 0
|
||||
salesman_org_id: 0
|
||||
|
||||
Row 2:
|
||||
table_fee_log_id: 2957922693074821
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_name: NULL
|
||||
used_card_amount: 0.00
|
||||
service_money: 0.00
|
||||
mgmt_fee: 0.00
|
||||
fee_total: 0.00
|
||||
ledger_start_time: 2025-11-09 21:34:27+08:00
|
||||
last_use_time: 2025-11-09 23:34:27+08:00
|
||||
operator_id: 2790687322443013
|
||||
salesman_user_id: 0
|
||||
salesman_org_id: 0
|
||||
|
||||
Row 3:
|
||||
table_fee_log_id: 2957921521733125
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_name: NULL
|
||||
used_card_amount: 0.00
|
||||
service_money: 0.00
|
||||
mgmt_fee: 0.00
|
||||
fee_total: 0.00
|
||||
ledger_start_time: 2025-11-09 22:32:55+08:00
|
||||
last_use_time: 2025-11-09 23:32:55+08:00
|
||||
operator_id: 2790687322443013
|
||||
salesman_user_id: 0
|
||||
salesman_org_id: 0
|
||||
|
||||
Row 4:
|
||||
table_fee_log_id: 2957920279498629
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_name: NULL
|
||||
used_card_amount: 0.00
|
||||
service_money: 0.00
|
||||
mgmt_fee: 0.00
|
||||
fee_total: 0.00
|
||||
ledger_start_time: 2025-11-09 21:44:40+08:00
|
||||
last_use_time: 2025-11-09 23:31:50+08:00
|
||||
operator_id: 2790687322443013
|
||||
salesman_user_id: 0
|
||||
salesman_org_id: 0
|
||||
|
||||
Row 5:
|
||||
table_fee_log_id: 2957913926717253
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_name: NULL
|
||||
used_card_amount: 0.00
|
||||
service_money: 0.00
|
||||
mgmt_fee: 0.00
|
||||
fee_total: 0.00
|
||||
ledger_start_time: 2025-11-09 22:23:14+08:00
|
||||
last_use_time: 2025-11-09 23:23:14+08:00
|
||||
operator_id: 2790687322443013
|
||||
salesman_user_id: 0
|
||||
salesman_org_id: 0
|
||||
|
||||
Row 6:
|
||||
table_fee_log_id: 2957913440948101
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_name: NULL
|
||||
used_card_amount: 0.00
|
||||
service_money: 0.00
|
||||
mgmt_fee: 0.00
|
||||
fee_total: 0.00
|
||||
ledger_start_time: 2025-11-09 21:14:07+08:00
|
||||
last_use_time: 2025-11-09 23:24:50+08:00
|
||||
operator_id: 2790687322443013
|
||||
salesman_user_id: 0
|
||||
salesman_org_id: 0
|
||||
|
||||
Row 7:
|
||||
table_fee_log_id: 2957909372325573
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_name: NULL
|
||||
used_card_amount: 0.00
|
||||
service_money: 0.00
|
||||
mgmt_fee: 0.00
|
||||
fee_total: 0.00
|
||||
ledger_start_time: 2025-11-09 22:20:43+08:00
|
||||
last_use_time: 2025-11-09 23:20:43+08:00
|
||||
operator_id: 2790687322443013
|
||||
salesman_user_id: 0
|
||||
salesman_org_id: 0
|
||||
|
||||
Row 8:
|
||||
table_fee_log_id: 2957902858948421
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_name: NULL
|
||||
used_card_amount: 0.00
|
||||
service_money: 0.00
|
||||
mgmt_fee: 0.00
|
||||
fee_total: 0.00
|
||||
ledger_start_time: 2025-11-09 20:21:39+08:00
|
||||
last_use_time: 2025-11-09 23:12:26+08:00
|
||||
operator_id: 2790687322443013
|
||||
salesman_user_id: 0
|
||||
salesman_org_id: 0
|
||||
|
||||
Row 9:
|
||||
table_fee_log_id: 2957882052366213
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_name: NULL
|
||||
used_card_amount: 0.00
|
||||
service_money: 0.00
|
||||
mgmt_fee: 0.00
|
||||
fee_total: 0.00
|
||||
ledger_start_time: 2025-11-09 20:48:20+08:00
|
||||
last_use_time: 2025-11-09 22:48:20+08:00
|
||||
operator_id: 2790687322443013
|
||||
salesman_user_id: 0
|
||||
salesman_org_id: 0
|
||||
|
||||
Row 10:
|
||||
table_fee_log_id: 2957881608392389
|
||||
operator_name: 收银员:郑丽珊
|
||||
salesman_name: NULL
|
||||
used_card_amount: 0.00
|
||||
service_money: 0.00
|
||||
mgmt_fee: 0.00
|
||||
fee_total: 0.00
|
||||
ledger_start_time: 2025-11-09 17:30:43+08:00
|
||||
last_use_time: 2025-11-09 22:30:43+08:00
|
||||
operator_id: 2790687322443013
|
||||
salesman_user_id: 0
|
||||
salesman_org_id: 0
|
||||
|
||||
Reference in New Issue
Block a user