@@ -11,11 +11,12 @@ const NumQueries = 99
11
11
// QueriesByNumber is a mapping from the number of a TPC-DS query to the actual
12
12
// query. Only queries that can be parsed by CockroachDB are present.
13
13
var QueriesByNumber = map [int ]string {
14
- 1 : query1 ,
15
- 2 : query2 ,
16
- 3 : query3 ,
17
- 4 : query4 ,
18
- 5 : query5 ,
14
+ 1 : query1 ,
15
+ 2 : query2 ,
16
+ 3 : query3 ,
17
+ 4 : query4 ,
18
+ // TODO: adjust this query.
19
+ //5: query5,
19
20
6 : query6 ,
20
21
7 : query7 ,
21
22
8 : query8 ,
@@ -24,15 +25,18 @@ var QueriesByNumber = map[int]string{
24
25
11 : query11 ,
25
26
12 : query12 ,
26
27
13 : query13 ,
27
- 14 : query14 ,
28
+ // TODO: adjust this query.
29
+ // 14: query14,
28
30
15 : query15 ,
29
31
16 : query16 ,
30
32
17 : query17 ,
31
- 18 : query18 ,
33
+ // TODO: adjust this query.
34
+ // 18: query18,
32
35
19 : query19 ,
33
36
20 : query20 ,
34
37
21 : query21 ,
35
- 22 : query22 ,
38
+ // TODO: adjust the query.
39
+ // 22: query22,
36
40
23 : query23 ,
37
41
24 : query24 ,
38
42
25 : query25 ,
@@ -79,7 +83,8 @@ var QueriesByNumber = map[int]string{
79
83
64 : query64 ,
80
84
65 : query65 ,
81
85
66 : query66 ,
82
- 67 : query67 ,
86
+ // TODO: adjust the query.
87
+ // 67: query67,
83
88
68 : query68 ,
84
89
69 : query69 ,
85
90
// TODO(yuzefovich): adjust the query.
@@ -90,10 +95,12 @@ var QueriesByNumber = map[int]string{
90
95
74 : query74 ,
91
96
75 : query75 ,
92
97
76 : query76 ,
93
- 77 : query77 ,
98
+ // TODO: adjust the query.
99
+ // 77: query77,
94
100
78 : query78 ,
95
101
79 : query79 ,
96
- 80 : query80 ,
102
+ // TODO: adjust the query.
103
+ // 80: query80,
97
104
81 : query81 ,
98
105
82 : query82 ,
99
106
83 : query83 ,
@@ -118,9 +125,16 @@ var QueriesByNumber = map[int]string{
118
125
119
126
// TODO(yuzefovich): remove once these queries are "enabled."
120
127
var (
128
+ _ = query5
129
+ _ = query14
130
+ _ = query18
131
+ _ = query22
121
132
_ = query27
122
133
_ = query36
134
+ _ = query67
123
135
_ = query70
136
+ _ = query77
137
+ _ = query80
124
138
_ = query86
125
139
)
126
140
@@ -2985,7 +2999,7 @@ SELECT
2985
2999
c_birth_country,
2986
3000
c_login,
2987
3001
c_email_address,
2988
- c_last_review_date_sk ,
3002
+ c_last_review_date ,
2989
3003
ctr_total_return
2990
3004
FROM
2991
3005
customer_total_return AS ctr1,
@@ -3016,7 +3030,7 @@ ORDER BY
3016
3030
c_birth_country,
3017
3031
c_login,
3018
3032
c_email_address,
3019
- c_last_review_date_sk ,
3033
+ c_last_review_date ,
3020
3034
ctr_total_return
3021
3035
LIMIT
3022
3036
100;
0 commit comments