File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,26 @@ mkdir -p tmp_stress
4
4
cd tmp_stress
5
5
rm -rf ./*
6
6
7
- git clone --depth 1 --single-branch --branch master https://github.com/gregrahn/tpcds-kit.git
8
- git clone --depth 1 --single-branch --branch master https://github.com/cwida/tpcds-result-reproduction.git
7
+ git clone --depth 1 --single-branch --branch master https://github.com/gregrahn/tpcds-kit.git # used for data and schema
8
+ git clone --depth 1 --single-branch --branch master https://github.com/cwida/tpcds-result-reproduction.git # used for queries only
9
9
10
10
cd tpcds-kit/tools
11
- make -s
12
11
13
- # Generate data
12
+ # This is a palliative care, since tpcds-kit is old and doesn't compile with modern ld.
13
+ # Anyway, now it works and this is better than nothing.
14
+ make LDFLAGS=-zmuldefs -s
15
+
16
+ # Generate data
14
17
./dsdgen -FORCE -VERBOSE -SCALE 1
15
18
16
- # Prepare data
19
+ # Prepare data
17
20
mkdir -p tables
18
21
for i in ` ls * .dat` ; do
19
22
echo " Preparing file" $i
20
23
sed ' s/|$//' $i > tables/$i
21
24
done
22
25
23
- # Generate queries
26
+ # Generate queries
24
27
./dsqgen -DIRECTORY ../query_templates \
25
28
-INPUT ../query_templates/templates.lst \
26
29
-VERBOSE Y \
You can’t perform that action at this time.
0 commit comments