Commit 3d06bed
Chore: Fix TPC-DS schema/query (fixes q30 run) (#22086)
## Which issue does this PR close?
- Closes #.
## Rationale for this change
TPC-DS query 30 failed in the benchmark because the query referenced
`c_last_review_date`, while the SF1 parquet benchmark schema exposes the
customer review date key as `c_last_review_date_sk`.
This was updated in newer tpcds spec.
The query that uses the column now succeeds:
```
│ QQuery 30 │ FAIL │ 30.38 / 30.73 ±0.34 / 31.34 ms │ incomparable │
```
## What changes are included in this PR?
This updates query 30 to use `c_last_review_date_sk` and aligns the
TPC-DS planning test schema with the benchmark parquet schema.
## Are these changes tested?
## Are there any user-facing changes?
No. This fixes a benchmark query/schema mismatch.
Co-authored-by: Dmitrii Blaginin <dmitrii@blaginin.me>1 parent eec9e9d commit 3d06bed
2 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
0 commit comments