Skip to content

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.sh
index a46f651110..f103677462 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 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)