Apache DataFusion SQL Query Engine
fix(script): fix tpch data script (#2737)
xudong.w8adc1b60b441
diff --git a/benchmarks/tpch-gen.sh b/benchmarks/tpch-gen.shindex a46f651110..f103677462 100755--- a/benchmarks/tpch-gen.sh+++ b/benchmarks/tpch-gen.sh@@ -21,7 +21,7 @@pushd ... ./dev/build-set-env.shpopd-docker build -t ballista-tpchgen:$BALLISTA_VERSION -f tpchgen.dockerfile .+docker build -t datafusion-tpchgen:$DATAFUSION_VERSION -f tpchgen.dockerfile .# Generate data into the ./data directory if it does not already existFILE=./data/supplier.tbl@@ -29,6 +29,6 @@ if test -f "$FILE"; thenecho "$FILE exists."elsemkdir data 2>/dev/null- docker run -v `pwd`/data:/data -it --rm ballista-tpchgen:$BALLISTA_VERSION+ docker run -v `pwd`/data:/data -it --rm datafusion-tpchgen:$DATAFUSION_VERSIONls -l datafi\ No newline at end of filediff --git a/dev/build-set-env.sh b/dev/build-set-env.shindex 3eb29e7ce1..4faa79c559 100755--- a/dev/build-set-env.sh+++ b/dev/build-set-env.sh@@ -17,4 +17,4 @@# specific language governing permissions and limitations# under the License.-export BALLISTA_VERSION=$(awk -F'[ ="]+' '$1 == "version" { print $2 }' ballista/rust/core/Cargo.toml)+export DATAFUSION_VERSION=$(awk -F'[ ="]+' '$1 == "version" { print $2 }' datafusion/core/Cargo.toml)