数据库 数据校验写入等逻辑更新。
This commit is contained in:
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.
|
||||
Reference in New Issue
Block a user