================================================================================
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

