209 lines
5.2 KiB
Plaintext
209 lines
5.2 KiB
Plaintext
================================================================================
|
|
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
|
|
|