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

hellostephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 647cd86c412 [fix](tools) tpcds-tools: fix TPCDS_DBGEN_DIR (#44409)
647cd86c412 is described below

commit 647cd86c4126808f4e5d458f6d6f3fae8f994a26
Author: feifeifeimoon <wangyu...@selectdb.com>
AuthorDate: Mon Nov 25 13:11:53 2024 +0800

    [fix](tools) tpcds-tools: fix TPCDS_DBGEN_DIR (#44409)
    
    ### What problem does this PR solve?
    
    Issue Number: close #xxx
    
    Related PR: #43668
    
    Problem Summary:
    
    This associated PR modified the TPCDD_DBGEN-DIR path, but omitted the
    file 'create tpcs-tables. sh'
    
    ```bash
    bin/gen-tpcds-data.sh -s 100
    Scale Factor: 100
    Parallelism: 10
    /test/doris/tools/tpcds-tools/bin/DSGen-software-code-3.2.0rc1/tools/dsdgen 
does not exist. Run build-tpcds-dsdgen.sh first to build it first.
    ```
---
 tools/tpcds-tools/bin/build-tpcds-tools.sh | 4 ++--
 tools/tpcds-tools/bin/gen-tpcds-data.sh    | 2 +-
 tools/tpcds-tools/bin/gen-tpcds-queries.sh | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/tpcds-tools/bin/build-tpcds-tools.sh 
b/tools/tpcds-tools/bin/build-tpcds-tools.sh
index e5963cd8e8d..b8f1b2a8fa5 100755
--- a/tools/tpcds-tools/bin/build-tpcds-tools.sh
+++ b/tools/tpcds-tools/bin/build-tpcds-tools.sh
@@ -46,8 +46,8 @@ check_prerequest() {
 check_prerequest "unzip -h" "unzip"
 
 # download tpcds tools package first
-if [[ -d "${CURDIR}/DSGen-software-code-3.2.0rc1" ]]; then
-    echo "If you want to rebuild TPC-DS_Tools_v3.2.0 again, please delete 
${CURDIR}/DSGen-software-code-3.2.0rc1 first."
+if [[ -d "${CURDIR}/DSGen-software-code-3.2.0rc2" ]]; then
+    echo "If you want to rebuild TPC-DS_Tools_v3.2.0 again, please delete 
${CURDIR}/DSGen-software-code-3.2.0rc2 first."
 elif [[ -f "TPC-DS_Tools_v3.2.0rc2.zip" ]]; then
     unzip TPC-DS_Tools_v3.2.0rc2.zip -d "${CURDIR}/"
 else
diff --git a/tools/tpcds-tools/bin/gen-tpcds-data.sh 
b/tools/tpcds-tools/bin/gen-tpcds-data.sh
index ebd5a3f694d..21cbacf2ce4 100755
--- a/tools/tpcds-tools/bin/gen-tpcds-data.sh
+++ b/tools/tpcds-tools/bin/gen-tpcds-data.sh
@@ -29,7 +29,7 @@ ROOT=$(
 )
 
 CURDIR="${ROOT}"
-TPCDS_DBGEN_DIR="${CURDIR}/DSGen-software-code-3.2.0rc1/tools"
+TPCDS_DBGEN_DIR="${CURDIR}/DSGen-software-code-3.2.0rc2/tools"
 
 usage() {
     echo "
diff --git a/tools/tpcds-tools/bin/gen-tpcds-queries.sh 
b/tools/tpcds-tools/bin/gen-tpcds-queries.sh
index eb4f292606d..cd5542bf519 100755
--- a/tools/tpcds-tools/bin/gen-tpcds-queries.sh
+++ b/tools/tpcds-tools/bin/gen-tpcds-queries.sh
@@ -29,7 +29,7 @@ ROOT=$(
 )
 
 CURDIR="${ROOT}"
-TPCDS_DSQGEN_DIR="${CURDIR}/DSGen-software-code-3.2.0rc1/tools"
+TPCDS_DSQGEN_DIR="${CURDIR}/DSGen-software-code-3.2.0rc2/tools"
 TPCDS_QUERIE_DIR="${CURDIR}/../queries"
 
 usage() {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to