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