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