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
44cd tmp_stress
55rm -rf ./*
66
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
99
1010cd tpcds-kit/tools
11- make -s
1211
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
1417./dsdgen -FORCE -VERBOSE -SCALE 1
1518
16- # Prepare data
19+ # Prepare data
1720mkdir -p tables
1821for i in ` ls * .dat` ; do
1922 echo " Preparing file" $i
2023 sed ' s/|$//' $i > tables/$i
2124done
2225
23- # Generate queries
26+ # Generate queries
2427./dsqgen -DIRECTORY ../query_templates \
2528 -INPUT ../query_templates/templates.lst \
2629 -VERBOSE Y \
You can’t perform that action at this time.
0 commit comments