Skip to content

Commit f257134

Browse files
committed
fix comment
Signed-off-by: Murphy <mofei@starrocks.com>
1 parent 9193979 commit f257134

10 files changed

Lines changed: 1 addition & 22 deletions

File tree

starrocks/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

starrocks/count.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,4 @@ fi
1212
DB_NAME="$1"
1313
TABLE_NAME="$2"
1414

15-
# Load shared environment
16-
source "$(dirname "$0")/env.sh"
17-
1815
mysql -P "$DB_MYSQL_PORT" -h "$DB_HOST" -u "$DB_USER" "$DB_NAME" -e "SELECT count() FROM $TABLE_NAME;"

starrocks/create_and_load.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
# If you change something in this file, please change also in doris/create_and_load.sh.
44

5-
# Load shared environment
6-
source "$(dirname "$0")/env.sh"
7-
85
# Check if the required arguments are provided
96
if [[ $# -lt 6 ]]; then
107
echo "Usage: $0 <DB_NAME> <TABLE_NAME> <DATA_DIRECTORY> <NUM_FILES> <SUCCESS_LOG> <ERROR_LOG>"

starrocks/drop_table.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@ DB_NAME="$1"
1212
TABLE_NAME="$2"
1313

1414
echo "Dropping table: $DB_NAME.$TABLE_NAME"
15-
# Load shared environment
16-
source "$(dirname "$0")/env.sh"
1715

1816
mysql -P "$DB_MYSQL_PORT" -h "$DB_HOST" -u "$DB_USER" "$DB_NAME" -e "DROP TABLE IF EXISTS $TABLE_NAME"

starrocks/env.sh

100644100755
File mode changed.

starrocks/load_data.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/bin/bash
22

3-
# Load shared environment
4-
source "$(dirname "$0")/env.sh"
5-
63
# Check if the required arguments are provided
74
if [[ $# -lt 6 ]]; then
85
echo "Usage: $0 <DATA_DIRECTORY> <DB_NAME> <TABLE_NAME> <MAX_FILES> <SUCCESS_LOG> <ERROR_LOG>"

starrocks/main.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ if [ "$CHOICE" = "ask" ]; then
3434
read -p "Enter the number corresponding to your choice: " CHOICE
3535
fi;
3636

37+
./env.sh
3738
./install.sh
3839

3940
benchmark() {

starrocks/physical_query_plans.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ fi
99
# Arguments
1010
DB_NAME="$1"
1111

12-
# Load shared environment
13-
source "$(dirname "$0")/env.sh"
14-
1512
QUERY_NUM=1
1613

1714
cat queries.sql | while read -r query; do

starrocks/run_queries.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
# If you change something in this file, please change also in doris/run_queries.sh.
44

5-
# Load shared environment
6-
source "$(dirname "$0")/env.sh"
7-
85
# Check if the required arguments are provided
96
if [[ $# -lt 1 ]]; then
107
echo "Usage: $0 <DB_NAME>"

starrocks/total_size.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
# If you change something in this file, please change also in doris/total_size.sh.
44

5-
# Load shared environment
6-
source "$(dirname "$0")/env.sh"
7-
85
# Check if the required arguments are provided
96
if [[ $# -lt 2 ]]; then
107
echo "Usage: $0 <DB_NAME> <TABLE_NAME>"

0 commit comments

Comments
 (0)