-
Notifications
You must be signed in to change notification settings - Fork 13
/
Bugs
549 lines (508 loc) · 17.1 KB
/
Bugs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
{ SCCS: @(#)BUGS 9.1.1.9 5/1/96 11:55:26 }
The following is a list of the various DBGEN/QGEN bugs that have been
and are being fixed. Each entry is of the form:
Problem #xx: -- a brief description of the issue or problem,
followed by a more detailed explanation, if needed
SEVERITY: -- classification of the bug or issue
SPEC FIX: -- details of any change to the spec
DBGEN FIX: -- details of any change needed to QGEN/DBGEN
ANSWER SETS: -- any effect on answer sets
STATUS: -- status of resolution
WORKAROUND: -- temporary fix, if available
HELP NEEDED: -- any work/assistance required
AUDITORS NOTIFIED: -- date auditors were notified, if appropriate
OPENED AGAINST: -- date and effected versions
CLOSED IN: -- date and fixed version
Open BUGS
==========
Problem #33: Parallel load doesn't work under NT
Feature Requests
=================
Problem #9: would like to include answer set formatting in query templates
Problem #37: need way to validate DBGEN without large storage requriement
Complete Bug List
==================
Problem #1: Q10 returns no rows
Since orders can only be returned (l_returnflag = 'R') after they
have been received, and can't be received in the future, the
number of permissible orders for query 10 tails off early in
1995. If you are lucky enough to get a parameter substitution
after February '95 (allowed in 2.12.3), things can go "quickly".
SEVERITY:
SPEC FIX: replace 2.12.3 (1) with "DATE is the first day in a
rundomly selected month between the first month of 1993 and the
last month of 1994"
DBGEN FIX: change permisible substitution range for query 10,
parameter 1
ANSWER SETS: not effected.
STATUS: closed
WORKAROUND: use a different seed for qgen parameter substitution
HELP NEEDED:
AUDITORS NOTIFIED:
OPENED AGAINST: 1.0
CLOSED IN: 1.0.1 (dbgen and qgen)
Problem #2: parallelism in load to gen differing data sets
the parallel load code was based on extensible data sets; since
each "extension" made an assumption of scale factor, the data
could end up clustered. Further, since the RNG is
self-modifying, different numbers of extension led to different
final data sets.
SEVERITY:
SPEC FIX: none.
DBGEN FIX: remove -E(xtensible) option and implement pure parallel
load with a known scale factor; rebuild seed files
ANSWER SETS: not effected. (parallelism not implemented for SF <= 1)
STATUS: closed
WORKAROUND: don't use the parallel load (-C) option to DBGEN
HELP NEEDED: testers needed.
AUDITORS NOTIFIED: yes.
OPENED AGAINST: 1.0
CLOSED IN: 1.0.1
Problem #3: some arithmetic tends to overflow at large SF
retailprice tends to SF/10 as SF increases. this can lead to
data corruption in extendedprice and aggregate calculations
SEVERITY:
SPEC FIX: will need rework of 1.3 wrt retailprice calculation
DBGEN FIX: modification to second term of rpb_routine() calcuation
to limit contibution of second term to the maximum seen at
SF=.1
ANSWER SETS: not effected
STATUS: closed
WORKAROUND: code retail/extended price calculations as long long;
build smaller data sets
HELP NEEDED:
AUDITORS NOTIFIED:
OPENED AGAINST: 1.0
CLOSED IN: 1.0.1
Problem #4: dbgen not ported to NT
SEVERITY:
SPEC FIX: none
DBGEN FIX: need to roll in changes supplied by IBM
ANSWER SETS: not effected
STATUS: closed
WORKAROUND: N/A
HELP NEEDED: N/A
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0
CLOSED IN: 1.1.0
Problem #5: QGEN seed init inconsistent
A prior fix assured that parameter values were query order
independent when a seed was provided on the command line. need
to make this true when no seed is provided
SEVERITY:
SPEC FIX: none
DBGEN FIX: rework seed init loop in qgen.c
ANSWER SETS: not effected
STATUS: closed
WORKAROUND: supply seeds on command line
HELP NEEDED: none
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0
CLOSED IN: 1.0.1
Problem #6: command line options with abutting arguments mishandled
SEVERITY:
SPEC FIX: none
DBGEN FIX: minor fix to getopt routine in bm_utils.c
ANSWER SETS: not effected
STATUS: closed
WORKAROUND: separate options and arguments with a space
HELP NEEDED: none
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0
CLOSED IN: 1.0.1
Problem #7: '-O f' asking for new file names twice
SEVERITY:
SPEC FIX: none
DBGEN FIX: rework of set_files() in driver.c
ANSWER SETS: not effected
STATUS: closed
WORKAROUND: none
HELP NEEDED: none
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0
CLOSED IN: 1.0.1
Problem #8: Seed generation taking too long
SEVERITY:
SPEC FIX: N/A
DBGEN FIX: implement "skip and trudge" as discussed
ANSWER SETS: not effected
STATUS: closed
WORKAROUND: none
HELP NEEDED:
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0
CLOSED IN: 1.0.1
Problem #9: would like to include answer set formatting in query templates
SEVERITY: feature request
SPEC FIX: none
DBGEN FIX: additional flag in qgen()
ANSWER SETS: not effected
STATUS:
WORKAROUND: N/A
HELP NEEDED: asked for reproduction info 25 Oct 95
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0
CLOSED IN:
Problem #10: need to re-introduce ability to do incremental, flat file builds
SEVERITY: feature request
SPEC FIX: none
DBGEN FIX: add -S(tep) option to build one of many partial data sets
ANSWER SETS: not effected
STATUS: closed
WORKAROUND: N/A
HELP NEEDED:
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0
CLOSED IN: 1.0.1
Problem #11: Row count for first delete at 10/100 is incorrect
SEVERITY: Error
SPEC FIX: None
DBGEN FIX:
ANSWER SETS: No Effect
STATUS: OPEN
WORKAROUND: hand edit of first delete file
HELP NEEDED:
AUDITORS NOTIFIED: No
OPENED AGAINST: 1.0.1
CLOSED IN:
Problem #12: Bad default rowcount generated for query 17
SEVERITY: Error
SPEC FIX: None
DBGEN FIX: corrected rowcnt[] entries to be 1-based
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: hand edit query or add explicit row count to template
HELP NEEDED:
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0.0
CLOSED IN: 1.1.0
Problem #13: Bad expansion of SET_OUTPUT for Teradata
SEVERITY: Error
SPEC FIX: N/A
DBGEN FIX: new macro in tpcd.h
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: Hand edit query or hardcode output directive in templates
HELP NEEDED:
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0.1
CLOSED IN: 1.1.0
Problem #14: Badly formed range deletes
SEVERITY: Error
SPEC FIX: N/A
DBGEN FIX: TBD
ANSWER SETS: N/A
STATUS: OPEN
WORKAROUND: hand edit delete files
HELP NEEDED: asked for reproduction info 25 Oct 95
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0.1
CLOSED IN:
Problem #15: in a multi-stage load, parent tables are not properly named
when parent and child are build simultaneously
SEVERITY: Error
SPEC FIX: N/A
DBGEN FIX: reworked tdef[].name in pr_X_Y routines for master/detail
tables
ANSWER SETS: N/A
STATUS: open
WORKAROUND: Build master/detail tables separately
HELP NEEDED:
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0.1
CLOSED IN: 1.1.0
Problem #16: update generation at large scale factors produced the wrong number
of rows due to overflow of 32-bit integer
SEVERITY: BUG
SPEC FIX: N/A
DBGEN FIX: corrected order of operations in row count calcuation in
driver.c
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: use 64 bit integers
HELP NEEDED: None
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0.1
CLOSED IN: 1.1.0
Problem #17: comment fields may be truncated when using columnar output, due to
rounding/truncation in the length calculation
SEVERITY: BUG
SPEC FIX: N/A
DBGEN FIX: add ceil() calls around all PR_VSTR() calls in print.c
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: N/A
HELP NEEDED: None
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.0.1
CLOSED IN: 1.1.0
Problem #18: the output format for identifier fields in columnar output is
unneccessarily large, and is inconsistant
SEVERITY: minor
SPEC FIX: N/A
DBGEN FIX: revised PR_BCD2 macro
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: avoid columnar output, or rework macro
HELP NEEDED: none
AUDITORS NOTIFIED: no
OPENED AGAINST: 1.1.0
OPENED BY: [email protected]
CLOSED IN: 1.1.0A
CLOSED BY: [email protected]
Problem #19: the case statement used to decipher substitution points in the
query template allowed extraneous :'s to re-initialize the
parameter substitution
SEVERITY: bug
SPEC FIX: N/A
DBGEN FIX: rework flag switch in qgen.c to explicitly call out numerics
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: be sure that there are no "unknown" flags in the template
HELP NEEDED: none
AUDITORS NOTIFIED: yes
OPENED AGAINST: 1.0.1
OPENED BY: [email protected]
CLOSED IN: 1.1.0A
CLOSED BY: [email protected]
Problem #20: parameter substitution values were not effected by small changes
in seed values
SEVERITY: bug
SPEC FIX: N/A
DBGEN FIX: add UnifInt() calls to RNG init in qgen.c
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: be sure seed values provide sufficient randomness in EQT
HELP NEEDED: none
AUDITORS NOTIFIED: yes
OPENED AGAINST: 1.1.0
OPENED BY: [email protected]
CLOSED IN: 1.1.0B
CLOSED BY: [email protected]
Problem #21: parameter logging doesn't properly handle the variable length of
the substitution list
SEVERITY: bug
SPEC FIX: N/A
DBGEN FIX: assure null termination of param list and bound the output
loop that logs parameter usage
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: none
HELP NEEDED: none
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.1.0B
OPENED BY:
CLOSED IN: 1.1.0C
CLOSED BY: [email protected]
Problem #22: parameter output for Q11 can overflow default formatting at very
large volumes
SEVERITY: bug
SPEC FIX: N/A
DBGEN FIX: expand format string to %11.10f
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: hand code queries for large volumes
HELP NEEDED: none
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.1.0B
OPENED BY: [email protected]
CLOSED IN: 1.1.0C
CLOSED BY: [email protected]
Problem #23: typos in variant 14c
SEVERITY:
SPEC FIX: N/A
DBGEN FIX: corrected query template
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: none
HELP NEEDED: none
AUDITORS NOTIFIED: no
OPENED AGAINST: 1.1.0B
OPENED BY: [email protected]
CLOSED IN: 1.1.0C
CLOSED BY: [email protected]
Problem #24: macro PR_DATE was hard-coded to print t->alpha even though a
target was passed in as a parameter
SEVERITY: minor
SPEC FIX: N/A
SOURCE FIX: re-worked macro to properly use its arguments
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: none
HELP NEEDED: none
AUDITORS NOTIFIED: no
OPENED AGAINST: 1.1.0A
OPENED BY: [email protected]
CLOSED IN: dbgen 1.1.0B
CLOSED BY: [email protected]
Problem #25: typos in variant 10a
SEVERITY:
SPEC FIX: N/A
DBGEN FIX: corrected query template
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: none
HELP NEEDED: none
AUDITORS NOTIFIED: no
OPENED AGAINST: 1.1.0B
OPENED BY: [email protected]
CLOSED IN: 1.1.0C
CLOSED BY: [email protected]
Problem #26: the version numbers for QGEN and DBGEN do not match
SEVERITY: minor
SPEC FIX: N/A
SOURCE FIX: unified version numbers starting with 1.1.0C
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: N/A
HELP NEEDED: none
AUDITORS NOTIFIED: no
OPENED AGAINST: 1.1.0B (or 1.1.0C, depending)
OPENED BY: [email protected]
CLOSED IN: 1.1.0C
CLOSED BY: [email protected]
Problem #27: correcting typos in 7, 9, 13
SEVERITY: minor
SPEC FIX: N/A
SOURCE FIX: fixed them
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: N/A
HELP NEEDED: none
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.1.0C (pre-release)
OPENED BY: [email protected]
CLOSED IN: 1.1.0C
CLOSED BY: [email protected]
Problem #28: Seed generation fails with SF > 1000 due to 32 bit integer
arithmetic used to verify "divisible-ness" of data set
SEVERITY: bug
SPEC FIX: N/A
SOURCE FIX: TBD
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: N/A
HELP NEEDED: none
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.1.0C
OPENED BY: [email protected]
CLOSED IN: 1.3.0
CLOSED BY: [email protected]
Problem #29: Compile time errors on Solaris 2.5.1 and SunOS
SEVERITY: bug
SPEC FIX: N/A
SOURCE FIX: Solaris fixed by renaming lineitem field from extended to
eprice; SunOS problem documented in Porting.Notes
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: N/A
HELP NEEDED: N/A
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.1.0D
OPENED BY: [email protected]
CLOSED IN: 1.2.0
CLOSED BY: [email protected]
Problem #30: Cryptic comments in dists.dss
SEVERITY: flaw
SPEC FIX: N/A
SOURCE FIX: Cleaned up the comments in the file
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: N/A
HELP NEEDED: N/A
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.2.0
OPENED BY: [email protected]
CLOSED IN: 1.2.3 ALPHA 1
CLOSED BY: [email protected]
Problem #31: Inconsistant handling of fopen() failures
SEVERITY: bug
SPEC FIX: N/A
SOURCE FIX: introduced OPEN_CHECK macro (defined in dss.h)
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: N/A
HELP NEEDED: none
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.2.0
OPENED BY: [email protected]
CLOSED IN: 1.3.0
CLOSED BY: [email protected]
Problem #32: Path separators were hard-coded
SEVERITY: bug
SPEC FIX: N/A
SOURCE FIX: introduced PATH_SEP in config.h
ANSWER SETS: N/A
STATUS: closed
WORKAROUND: N/A
HELP NEEDED: none
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.2.0
OPENED BY:
CLOSED IN: 1.3.0
CLOSED BY: [email protected]
Problem #33: Parallel load doesn't work under NT
SEVERITY: bug
SPEC FIX: N/A
SOURCE FIX:
ANSWER SETS: N/A
STATUS: OPEN
WORKAROUND: use -S option to build each step independently
HELP NEEDED: none
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.1.0
OPENED BY:
CLOSED IN:
CLOSED BY:
Problem #34: P_NAME not properly populated
SEVERITY: bug
SPEC FIX: N/A
SOURCE FIX: Corrected color selection logic in agg_str()
ANSWER SETS: NFI for 1.x since it effect answer sets
STATUS: Closed
WORKAROUND: N/A
HELP NEEDED: None
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.2.3
OPENED BY: [email protected]
CLOSED IN: 2.0.0
CLOSED BY: [email protected]
Problem #35: mk_sparse() returning bad orderkeys
SEVERITY: bug
SPEC FIX: N/A
SOURCE FIX: corrected logic in mk_sparse() and bcd2_bin()
ANSWER SETS: N/A
STATUS: Closed
WORKAROUND: N/A
HELP NEEDED: None
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.3.0
OPENED BY: [email protected]
CLOSED IN: 1.3.1
CLOSED BY: [email protected]
Problem #36: a_rnd() doesn't mask properly, uses small 'alphabet'
SEVERITY: bug
SPEC FIX: Corrected 4.2.2.6 to reflect 64 character set
SOURCE FIX: changed mask in a_rnd() from 067 to 077
ANSWER SETS: NFI for 1.x since answers would be effected
STATUS: Closed
WORKAROUND: N/A
HELP NEEDED: None
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.2.3
OPENED BY: [email protected]
CLOSED IN: 2.0.0
CLOSED BY: [email protected]
Problem #37: need way to validate DBGEN without large storage requriement
SEVERITY: Feature Request
SPEC FIX: N/A
SOURCE FIX: Provide vrf_xxx routine to generate checksums
ANSWER SETS: N/A
STATUS: Open
WORKAROUND: N/A
HELP NEEDED: None
AUDITORS NOTIFIED: N/A
OPENED AGAINST: 1.2.3
OPENED BY: [email protected]
CLOSED IN:
CLOSED BY: