This is an automated email from the ASF dual-hosted git repository.

xudong963 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new 8adc1b60b fix(script): fix tpch data script (#2737)
8adc1b60b is described below

commit 8adc1b60b4410739f75247d3d5687a30e3c9d108
Author: xudong.w <[email protected]>
AuthorDate: Thu Jun 16 19:55:59 2022 +0800

    fix(script): fix tpch data script (#2737)
---
 benchmarks/tpch-gen.sh | 4 ++--
 dev/build-set-env.sh   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/benchmarks/tpch-gen.sh b/benchmarks/tpch-gen.sh
index a46f65111..f10367746 100755
--- a/benchmarks/tpch-gen.sh
+++ b/benchmarks/tpch-gen.sh
@@ -21,7 +21,7 @@
 pushd ..
 . ./dev/build-set-env.sh
 popd
-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 exist
 FILE=./data/supplier.tbl
@@ -29,6 +29,6 @@ if test -f "$FILE"; then
     echo "$FILE exists."
 else
   mkdir 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_VERSION
   ls -l data
 fi
\ No newline at end of file
diff --git a/dev/build-set-env.sh b/dev/build-set-env.sh
index 3eb29e7ce..4faa79c55 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)

Reply via email to