@@ -9,7 +9,7 @@ if [ "X$1" = "X--help" ]; then
9
9
echo ' $script_path default is deduced from argv0'
10
10
echo ' $ydb_path default is $script_path/../../../..'
11
11
echo ' $rebuild 0 [default] or build type (relwithdebinfo [default if empty]|release|profile); requires clean git repository and presence of {current branch name}-base tag'
12
- echo ' When $rebuild is 0, requires pre-built $ydb_path/ydb/library/ yql/udfs, $ydb_path/ydb/library/yql/tools/dqrun/dqrun-unspilled and $ydb_path/ydb/library/yql/tools/dqrun/dqrun'
12
+ echo ' When $rebuild is 0, requires pre-built $ydb_path/yql/essentials /udfs, $ydb_path/ydb/library/yql/tools/dqrun/dqrun-unspilled and $ydb_path/ydb/library/yql/tools/dqrun/dqrun'
13
13
echo ' $decimal setting to empty string disables DECIMAL support requirement'
14
14
echo ' $cbo setting to empty string disables CostBasedOptimizer support requirement'
15
15
echo ' $runner_opts extra options passed to runner'
@@ -52,7 +52,7 @@ if [ "X${rebuild-0}" != X0 ]; then
52
52
(cd ${dq_path} && $ya_path /ya make --build ${rebuild:- relwithdebinfo} && git describe --always --dirty > $dq_path /dqrun-unspilled.commit && cp -L $dq_path /dqrun $dq_path /dqrun-unspilled)
53
53
git checkout @{-1}
54
54
(cd ${dq_path} && $ya_path /ya make --build ${rebuild:- relwithdebinfo} )
55
- (cd ${ydb_path} /ydb/library/ yql/udfs/common && $ya_path /ya make --build ${rebuild:- relwithdebinfo} datetime datetime2 string re2 set math unicode_base)
55
+ (cd ${ydb_path} /yql/essentials /udfs/common && $ya_path /ya make --build ${rebuild:- relwithdebinfo} datetime datetime2 string re2 set math unicode_base)
56
56
(cd ${ydb_path} /ydb/library/benchmarks/gen_queries && $ya_path /ya make --build ${rebuild:- relwithdebinfo} )
57
57
)
58
58
(cd ${script_path} && ${script_path} /../../../../ya make --build ${rebuild:- relwithdebinfo} )
@@ -114,33 +114,33 @@ outdir=results-`date -u +%Y%m%dT%H%M%S`-${variant}-${datasize}-$tasks
114
114
if false ; then
115
115
start=" ` cd ${dq_path} && git describe --always --dirty` "
116
116
echo LLVM && \
117
- command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${ql} -${datasize} -$tasks /${variant} --bindings ${ql} -${datasize} -$tasks /bindings.json --result-dir $outdir ${dq_path} /dqrun-unspilled -s --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /ydb/library/ yql/udfs/common/ $dqrun_opts
117
+ command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${ql} -${datasize} -$tasks /${variant} --bindings ${ql} -${datasize} -$tasks /bindings.json --result-dir $outdir ${dq_path} /dqrun-unspilled -s --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /yql/essentials /udfs/common/ $dqrun_opts
118
118
(echo $start ; cd ${dq_path} && git describe --always --dirty) > $outdir /${ql} -${datasize} -$tasks /${variant} /commit
119
119
fi
120
120
if false ; then
121
121
echo main NO LLVM && \
122
- command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${qX} -${datasize} -$tasks /${variant} --bindings ${qX} -${datasize} -$tasks /${variant} /bindings.json --result-dir $outdir ${dq_path} /dqrun-unspilled ${enable_spilling} -s --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /ydb/library/ yql/udfs/common/ $dqrun_opts
122
+ command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${qX} -${datasize} -$tasks /${variant} --bindings ${qX} -${datasize} -$tasks /${variant} /bindings.json --result-dir $outdir ${dq_path} /dqrun-unspilled ${enable_spilling} -s --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /yql/essentials /udfs/common/ $dqrun_opts
123
123
(cd ${dq_path} ; cat dqrun-unspilled.commit) > $outdir /${qX} -${datasize} -$tasks /${variant} /commit
124
124
fi
125
125
if [ -z " ${skipllvm+set} " ]; then
126
126
start=" ` cd ${dq_path} && git describe --always --dirty` "
127
127
echo Spilling+LLVM && \
128
- command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${qsL} -${datasize} -$tasks /${variant} --bindings ${qsL} -${datasize} -$tasks /${variant} /bindings.json --result-dir $outdir ${dq_path} /dqrun$dqsuffix -s ${enable_spilling} --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /ydb/library/ yql/udfs/common/ $dqrun_opts
128
+ command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${qsL} -${datasize} -$tasks /${variant} --bindings ${qsL} -${datasize} -$tasks /${variant} /bindings.json --result-dir $outdir ${dq_path} /dqrun$dqsuffix -s ${enable_spilling} --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /yql/essentials /udfs/common/ $dqrun_opts
129
129
(echo $start ; cd ${dq_path} && git describe --always --dirty) > $outdir /${qsL} -${datasize} -$tasks /${variant} /commit
130
130
if [ -z " ${skipmain+set} " ]; then
131
131
echo main+LLVM no enable spilling && \
132
- command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${qL} -${datasize} -$tasks /${variant} --bindings ${qL} -${datasize} -$tasks /${variant} /bindings.json --result-dir $outdir ${dq_path} /dqrun-unspilled -s --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /ydb/library/ yql/udfs/common/ $dqrun_opts
132
+ command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${qL} -${datasize} -$tasks /${variant} --bindings ${qL} -${datasize} -$tasks /${variant} /bindings.json --result-dir $outdir ${dq_path} /dqrun-unspilled -s --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /yql/essentials /udfs/common/ $dqrun_opts
133
133
(cd ${dq_path} ; cat dqrun-unspilled.commit) > $outdir /${qL} -${datasize} -$tasks /${variant} /commit
134
134
fi
135
135
fi
136
136
if [ -z " ${skipnollvm+set} " ]; then
137
137
start=" ` cd ${dq_path} && git describe --always --dirty` "
138
138
echo Spilling NO LLVM && \
139
- command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${qs} -${datasize} -$tasks /${variant} --bindings ${qs} -${datasize} -$tasks /${variant} /bindings.json --result-dir $outdir ${dq_path} /dqrun$dqsuffix -s ${enable_spilling} --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /ydb/library/ yql/udfs/common/ $dqrun_opts
139
+ command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${qs} -${datasize} -$tasks /${variant} --bindings ${qs} -${datasize} -$tasks /${variant} /bindings.json --result-dir $outdir ${dq_path} /dqrun$dqsuffix -s ${enable_spilling} --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /yql/essentials /udfs/common/ $dqrun_opts
140
140
(echo $start ; cd ${dq_path} && git describe --always --dirty) > $outdir /${qs} -${datasize} -$tasks /${variant} /commit
141
141
if [ -z " ${skipmain+set} " ]; then
142
142
echo main NO LLVM no enable spilling && \
143
- command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${q} -${datasize} -$tasks /${variant} --bindings ${q} -${datasize} -$tasks /${variant} /bindings.json --result-dir $outdir ${dq_path} /dqrun-unspilled -s --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /ydb/library/ yql/udfs/common/ $dqrun_opts
143
+ command time ${script_path} /runner/runner $perf $runner_opts --query-dir ${q} -${datasize} -$tasks /${variant} --bindings ${q} -${datasize} -$tasks /${variant} /bindings.json --result-dir $outdir ${dq_path} /dqrun-unspilled -s --fs-cfg ${dq_path} /examples/fs.conf --gateways-cfg $script_path /runner/test-gateways.conf --udfs-dir ${ydb_path} /yql/essentials /udfs/common/ $dqrun_opts
144
144
(cd ${dq_path} ; cat dqrun-unspilled.commit) > $outdir /${q} -${datasize} -$tasks /${variant} /commit
145
145
fi
146
146
fi
0 commit comments