Commit 35d5c49
Phase 5: implement all 14 remaining TPC-DS dimension tables
Adds support for all 24 TPC-DS tables to tpcds_benchmark:
call_center, catalog_page, web_page, web_site, warehouse, ship_mode,
household_demographics, customer_demographics, customer_address,
income_band, reason, time_dim, promotion, store.
Key changes:
- tpcds_dsdgen.h: fix ds_addr_t (add missing plus4 field); add structs
and TPCDS_* constants for all 14 new tables
- dsdgen_wrapper.hpp/.cpp: TPCDS_SIMPLE_GENERATE macro + 14 new generators
- dsdgen_converter.cpp: append_*_to_builders + dispatcher for 14 tables;
append_addr_fields() helper for ds_addr_t (street/city/state/zip/etc.)
- tpcds_main.cpp: parse_table() + generation dispatch for all 24 tables
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6b0d16b commit 35d5c49
5 files changed
Lines changed: 1216 additions & 23 deletions
File tree
- include/tpch
- src
- dsdgen
- third_party/dsdgen
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
148 | 208 | | |
149 | 209 | | |
150 | 210 | | |
| |||
0 commit comments