github-actions[bot] commented on PR #24821:
URL: https://github.com/apache/doris/pull/24821#issuecomment-1732260193

   #### `sh-checker report`
   
   To get the full details, please check in the 
[job]("https://github.com/apache/doris/actions/runs/6282783589";) output.
   
   <details>
   <summary>shellcheck errors</summary>
   
   ```
   
   'shellcheck ' returned error 1 finding the following syntactical issues:
   
   ----------
   
   In tools/ssb-tools/build-ssb-dbgen.sh line 28:
   ROOT=`dirname "$0"`
        ^------------^ SC2006 (style): Use $(...) notation instead of legacy 
backticks `...`.
   
   Did you mean: 
   ROOT=$(dirname "$0")
   
   
   In tools/ssb-tools/build-ssb-dbgen.sh line 29:
   ROOT=`cd "$ROOT"; pwd`
        ^---------------^ SC2006 (style): Use $(...) notation instead of legacy 
backticks `...`.
             ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   ROOT=$(cd "${ROOT}"; pwd)
   
   
   In tools/ssb-tools/build-ssb-dbgen.sh line 32:
   SSB_DBGEN_DIR=$CURDIR/ssb-dbgen/
                 ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   SSB_DBGEN_DIR=${CURDIR}/ssb-dbgen/
   
   
   In tools/ssb-tools/build-ssb-dbgen.sh line 35:
   if [[ -d $SSB_DBGEN_DIR ]]; then
            ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   if [[ -d ${SSB_DBGEN_DIR} ]]; then
   
   
   In tools/ssb-tools/build-ssb-dbgen.sh line 36:
       echo "Dir $CURDIR/ssb-dbgen/ already exists. No need to download."
                 ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       echo "Dir ${CURDIR}/ssb-dbgen/ already exists. No need to download."
   
   
   In tools/ssb-tools/build-ssb-dbgen.sh line 39:
       curl 
https://palo-cloud-repo-bd.bd.bcebos.com/baidu-doris-release/ssb-dbgen-linux.tar.gz
 | tar xz -C $CURDIR/
                                                                                
                            ^-----^ SC2086 (info): Double quote to prevent 
globbing and word splitting.
                                                                                
                            ^-----^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
       curl 
https://palo-cloud-repo-bd.bd.bcebos.com/baidu-doris-release/ssb-dbgen-linux.tar.gz
 | tar xz -C "$CURDIR"/
   
   
   In tools/ssb-tools/build-ssb-dbgen.sh line 43:
   cd $SSB_DBGEN_DIR/ && make
      ^------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
      ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   cd "$SSB_DBGEN_DIR"/ && make
   
   
   In tools/ssb-tools/build-ssb-dbgen.sh line 47:
   if [[ -f $CURDIR/ssb-dbgen/dbgen ]]; then
            ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   if [[ -f ${CURDIR}/ssb-dbgen/dbgen ]]; then
   
   
   In tools/ssb-tools/build-ssb-dbgen.sh line 48:
       echo "Build succeed! Run $CURDIR/ssb-dbgen/dbgen -h"
                                ^-----^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
       echo "Build succeed! Run ${CURDIR}/ssb-dbgen/dbgen -h"
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 27:
     cd "$ROOT"
         ^---^ SC2250 (style): Prefer putting braces around variable references 
even when not strictly required.
   
   Did you mean: 
     cd "${ROOT}"
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 44:
     -n $0 \
        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
   
   Did you mean: 
     -n "$0" \
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 49:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 52:
   if [ $# == 0 ]; then
      ^---------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   if [[ $# == 0 ]]; then
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 81:
     if ! $CMD; then
          ^--^ SC2250 (style): Prefer putting braces around variable references 
even when not strictly required.
   
   Did you mean: 
     if ! ${CMD}; then
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 82:
       echo "$NAME is missing. This script depends on mysql to create tables in 
Doris."
             ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       echo "${NAME} is missing. This script depends on mysql to create tables 
in Doris."
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 89:
   source $CURDIR/doris-cluster.conf
          ^-----^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
          ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   source "$CURDIR"/doris-cluster.conf
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 90:
   export MYSQL_PWD=$PASSWORD
                    ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   export MYSQL_PWD=${PASSWORD}
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 92:
   echo "FE_HOST: $FE_HOST"
                  ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HOST: ${FE_HOST}"
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 93:
   echo "FE_QUERY_PORT: $FE_QUERY_PORT"
                        ^------------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_QUERY_PORT: ${FE_QUERY_PORT}"
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 94:
   echo "USER: $USER"
               ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "USER: ${USER}"
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 95:
   echo "PASSWORD: $PASSWORD"
                   ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "PASSWORD: ${PASSWORD}"
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 96:
   echo "DB: $DB"
             ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "DB: ${DB}"
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 98:
   mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -e "CREATE 
DATABASE IF NOT EXISTS $DB"
           ^------^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
           ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                      ^---^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                      ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                       ^-------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                       ^-------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^------------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                   ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                                
                    ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -e "CREATE 
DATABASE IF NOT EXISTS $DB"
   
   
   In tools/ssb-tools/create-ssb-flat-table.sh line 101:
   mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB <${DDL}
           ^------^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
           ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                      ^---^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                      ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                       ^-------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                       ^-------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^------------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                   ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                    ^-^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                                    ^-^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                         ^----^ 
SC2086 (info): Double quote to prevent globbing and word splitting.
   
   Did you mean: 
   mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB 
<${DDL}
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 27:
     cd "$ROOT"
         ^---^ SC2250 (style): Prefer putting braces around variable references 
even when not strictly required.
   
   Did you mean: 
     cd "${ROOT}"
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 44:
     -n $0 \
        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
   
   Did you mean: 
     -n "$0" \
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 49:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 52:
   if [ $# == 0 ]; then
      ^---------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   if [[ $# == 0 ]]; then
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 81:
     if ! $CMD; then
          ^--^ SC2250 (style): Prefer putting braces around variable references 
even when not strictly required.
   
   Did you mean: 
     if ! ${CMD}; then
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 82:
       echo "$NAME is missing. This script depends on mysql to create tables in 
Doris."
             ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       echo "${NAME} is missing. This script depends on mysql to create tables 
in Doris."
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 89:
   source $CURDIR/doris-cluster.conf
          ^-----^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
          ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   source "$CURDIR"/doris-cluster.conf
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 90:
   export MYSQL_PWD=$PASSWORD
                    ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   export MYSQL_PWD=${PASSWORD}
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 92:
   echo "FE_HOST: $FE_HOST"
                  ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HOST: ${FE_HOST}"
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 93:
   echo "FE_QUERY_PORT: $FE_QUERY_PORT"
                        ^------------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_QUERY_PORT: ${FE_QUERY_PORT}"
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 94:
   echo "USER: $USER"
               ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "USER: ${USER}"
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 95:
   echo "PASSWORD: $PASSWORD"
                   ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "PASSWORD: ${PASSWORD}"
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 96:
   echo "DB: $DB"
             ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "DB: ${DB}"
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 98:
   mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -e "CREATE 
DATABASE IF NOT EXISTS $DB"
           ^------^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
           ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                      ^---^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                      ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                       ^-------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                       ^-------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^------------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                   ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                                
                    ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -e "CREATE 
DATABASE IF NOT EXISTS $DB"
   
   
   In tools/ssb-tools/create-ssb-tables.sh line 101:
   mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB <${DDL}
           ^------^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
           ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                      ^---^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                      ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                       ^-------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                       ^-------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^------------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                   ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                    ^-^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                                    ^-^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                         ^----^ 
SC2086 (info): Double quote to prevent globbing and word splitting.
   
   Did you mean: 
   mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB 
<${DDL}
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 27:
     cd "$ROOT"
         ^---^ SC2250 (style): Prefer putting braces around variable references 
even when not strictly required.
   
   Did you mean: 
     cd "${ROOT}"
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 32:
   SSB_DBGEN_DIR=$CURDIR/ssb-dbgen/
                 ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   SSB_DBGEN_DIR=${CURDIR}/ssb-dbgen/
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 33:
   SSB_DATA_DIR=$CURDIR/ssb-data/
                ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   SSB_DATA_DIR=${CURDIR}/ssb-data/
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 51:
     -n $0 \
        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
   
   Did you mean: 
     -n "$0" \
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 56:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 62:
   if [ $# == 0 ]; then
      ^---------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   if [[ $# == 0 ]]; then
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 96:
   echo "Scale Factor: $SCALE_FACTOR"
                       ^-----------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "Scale Factor: ${SCALE_FACTOR}"
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 97:
   echo "Parallelism: $PARALLEL"
                      ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "Parallelism: ${PARALLEL}"
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 100:
   if [[ ! -f $SSB_DBGEN_DIR/dbgen ]]; then
              ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   if [[ ! -f ${SSB_DBGEN_DIR}/dbgen ]]; then
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 101:
     echo "$SSB_DBGEN_DIR/dbgen does not exist. Run build-ssb-dbgen.sh first to 
build it first."
           ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
     echo "${SSB_DBGEN_DIR}/dbgen does not exist. Run build-ssb-dbgen.sh first 
to build it first."
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 105:
   if [[ -d $SSB_DATA_DIR/ ]]; then
            ^-----------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   if [[ -d ${SSB_DATA_DIR}/ ]]; then
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 106:
     echo "$SSB_DATA_DIR exists. Remove it before generating data"
           ^-----------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
     echo "${SSB_DATA_DIR} exists. Remove it before generating data"
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 110:
   mkdir $SSB_DATA_DIR/
         ^-----------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
         ^-----------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   mkdir "$SSB_DATA_DIR"/
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 113:
   cd $SSB_DBGEN_DIR
      ^------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
      ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   cd "$SSB_DBGEN_DIR"
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 115:
   $SSB_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T c
   ^------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
   ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                              ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                              ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   "$SSB_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T c
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 117:
   $SSB_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T p
   ^------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
   ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                              ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                              ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   "$SSB_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T p
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 119:
   $SSB_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T s
   ^------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
   ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                              ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                              ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   "$SSB_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T s
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 121:
   $SSB_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T d
   ^------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
   ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                              ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                              ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   "$SSB_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T d
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 123:
   $SSB_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T l -C $PARALLEL
   ^------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
   ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                              ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                              ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                    ^-------^ SC2086 (info): 
Double quote to prevent globbing and word splitting.
                                                    ^-------^ SC2250 (style): 
Prefer putting braces around variable references even when not strictly 
required.
   
   Did you mean: 
   "$SSB_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T l -C $PARALLEL
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 127:
   mv $SSB_DBGEN_DIR/*.tbl* $SSB_DATA_DIR/
      ^------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
      ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                            ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                            ^-----------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   mv "$SSB_DBGEN_DIR"/*.tbl* $SSB_DATA_DIR/
   
   
   In tools/ssb-tools/gen-ssb-data.sh line 130:
   du -sh $SSB_DATA_DIR/*.tbl*
          ^-----------^ SC2086 (info): Double quote to prevent globbing and 
word splitting.
          ^-----------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   du -sh "$SSB_DATA_DIR"/*.tbl*
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 30:
       cd "$ROOT"
           ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       cd "${ROOT}"
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 35:
   SSB_DATA_DIR=$CURDIR/ssb-data/
                ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   SSB_DATA_DIR=${CURDIR}/ssb-data/
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 38:
   if [[ ! -d $SSB_DATA_DIR/ ]]; then
              ^-----------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   if [[ ! -d ${SSB_DATA_DIR}/ ]]; then
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 39:
       echo "$SSB_DATA_DIR does not exist. Run sh gen-ssb-data.sh first."
             ^-----------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
       echo "${SSB_DATA_DIR} does not exist. Run sh gen-ssb-data.sh first."
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 46:
       if ! $CMD; then
            ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       if ! ${CMD}; then
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 47:
           echo "$NAME is missing. This script depends on cURL to load data to 
Doris."
                 ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
           echo "${NAME} is missing. This script depends on cURL to load data 
to Doris."
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 56:
   source $CURDIR/doris-cluster.conf
          ^-----^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
          ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   source "$CURDIR"/doris-cluster.conf
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 58:
   echo "FE_HOST: $FE_HOST"
                  ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HOST: ${FE_HOST}"
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 59:
   echo "FE_HTTP_PORT: $FE_HTTP_PORT"
                       ^-----------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HTTP_PORT: ${FE_HTTP_PORT}"
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 60:
   echo "USER: $USER"
               ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "USER: ${USER}"
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 61:
   echo "PASSWORD: $PASSWORD"
                   ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "PASSWORD: ${PASSWORD}"
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 62:
   echo "DB: $DB"
             ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "DB: ${DB}"
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 65:
   curl --location-trusted -u $USER:$PASSWORD \
                              ^---^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                              ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                    ^-------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                    ^-------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   curl --location-trusted -u "$USER":$PASSWORD \
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 68:
       -T $SSB_DATA_DIR/part.tbl 
http://$FE_HOST:$FE_HTTP_PORT/api/$DB/part/_stream_load
          ^-----------^ SC2086 (info): Double quote to prevent globbing and 
word splitting.
          ^-----------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                                        ^------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                        ^------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                 ^-----------^ SC2248 (style): 
Prefer double quoting even when variables don't contain special characters.
                                                 ^-----------^ SC2250 (style): 
Prefer putting braces around variable references even when not strictly 
required.
                                                                   ^-^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                                   ^-^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
   
   Did you mean: 
       -T "$SSB_DATA_DIR"/part.tbl 
http://$FE_HOST:$FE_HTTP_PORT/api/$DB/part/_stream_load
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 71:
   curl --location-trusted -u $USER:$PASSWORD \
                              ^---^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                              ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                    ^-------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                    ^-------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   curl --location-trusted -u "$USER":$PASSWORD \
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 74:
       -T $SSB_DATA_DIR/date.tbl 
http://$FE_HOST:$FE_HTTP_PORT/api/$DB/dates/_stream_load
          ^-----------^ SC2086 (info): Double quote to prevent globbing and 
word splitting.
          ^-----------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                                        ^------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                        ^------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                 ^-----------^ SC2248 (style): 
Prefer double quoting even when variables don't contain special characters.
                                                 ^-----------^ SC2250 (style): 
Prefer putting braces around variable references even when not strictly 
required.
                                                                   ^-^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                                   ^-^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
   
   Did you mean: 
       -T "$SSB_DATA_DIR"/date.tbl 
http://$FE_HOST:$FE_HTTP_PORT/api/$DB/dates/_stream_load
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 77:
   curl --location-trusted -u $USER:$PASSWORD \
                              ^---^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                              ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                    ^-------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                    ^-------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   curl --location-trusted -u "$USER":$PASSWORD \
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 80:
       -T $SSB_DATA_DIR/supplier.tbl 
http://$FE_HOST:$FE_HTTP_PORT/api/$DB/supplier/_stream_load
          ^-----------^ SC2086 (info): Double quote to prevent globbing and 
word splitting.
          ^-----------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                                            ^------^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                            ^------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
                                                     ^-----------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                     ^-----------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                       ^-^ 
SC2248 (style): Prefer double quoting even when variables don't contain special 
characters.
                                                                       ^-^ 
SC2250 (style): Prefer putting braces around variable references even when not 
strictly required.
   
   Did you mean: 
       -T "$SSB_DATA_DIR"/supplier.tbl 
http://$FE_HOST:$FE_HTTP_PORT/api/$DB/supplier/_stream_load
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 83:
   curl --location-trusted -u $USER:$PASSWORD \
                              ^---^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                              ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                    ^-------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                    ^-------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   curl --location-trusted -u "$USER":$PASSWORD \
   
   
   In tools/ssb-tools/load-ssb-dimension-data.sh line 86:
       -T $SSB_DATA_DIR/customer.tbl 
http://$FE_HOST:$FE_HTTP_PORT/api/$DB/customer/_stream_load
          ^-----------^ SC2086 (info): Double quote to prevent globbing and 
word splitting.
          ^-----------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                                            ^------^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                            ^------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
                                                     ^-----------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                     ^-----------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                       ^-^ 
SC2248 (style): Prefer double quoting even when variables don't contain special 
characters.
                                                                       ^-^ 
SC2250 (style): Prefer putting braces around variable references even when not 
strictly required.
   
   Did you mean: 
       -T "$SSB_DATA_DIR"/customer.tbl 
http://$FE_HOST:$FE_HTTP_PORT/api/$DB/customer/_stream_load
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 28:
       cd "$ROOT"
           ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       cd "${ROOT}"
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 33:
   SSB_DATA_DIR=$CURDIR/ssb-data/
                ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   SSB_DATA_DIR=${CURDIR}/ssb-data/
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 49:
       -n $0 \
          ^-- SC2086 (info): Double quote to prevent globbing and word 
splitting.
   
   Did you mean: 
       -n "$0" \
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 54:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 59:
   if [ $# == 0 ]; then
      ^---------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   if [[ $# == 0 ]]; then
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 89:
   echo "Parallelism: $PARALLEL"
                      ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "Parallelism: ${PARALLEL}"
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 92:
   if [[ ! -d $SSB_DATA_DIR/ ]]; then
              ^-----------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   if [[ ! -d ${SSB_DATA_DIR}/ ]]; then
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 93:
       echo "$SSB_DATA_DIR does not exist. Run sh gen-ssb-data.sh first."
             ^-----------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
       echo "${SSB_DATA_DIR} does not exist. Run sh gen-ssb-data.sh first."
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 100:
       if ! $CMD; then
            ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       if ! ${CMD}; then
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 101:
           echo "$NAME is missing. This script depends on cURL to load data to 
Doris."
                 ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
           echo "${NAME} is missing. This script depends on cURL to load data 
to Doris."
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 109:
   source $CURDIR/doris-cluster.conf
          ^-----^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
          ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   source "$CURDIR"/doris-cluster.conf
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 111:
   echo "FE_HOST: $FE_HOST"
                  ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HOST: ${FE_HOST}"
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 112:
   echo "FE_HTTP_PORT: $FE_HTTP_PORT"
                       ^-----------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HTTP_PORT: ${FE_HTTP_PORT}"
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 113:
   echo "USER: $USER"
               ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "USER: ${USER}"
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 114:
   echo "PASSWORD: $PASSWORD"
                   ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "PASSWORD: ${PASSWORD}"
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 115:
   echo "DB: $DB"
             ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "DB: ${DB}"
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 118:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 119:
       curl --location-trusted -u $USER:$PASSWORD \
                                  ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                  ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                        ^-------^ SC2086 (info): Double quote 
to prevent globbing and word splitting.
                                        ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
       curl --location-trusted -u "$USER":$PASSWORD \
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 122:
           -T $@ http://$FE_HOST:$FE_HTTP_PORT/api/$DB/lineorder/_stream_load
              ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
                        ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                        ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                 ^-----------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                 ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^-^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                                   ^-^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
           -T $@ http://"$FE_HOST":$FE_HTTP_PORT/api/$DB/lineorder/_stream_load
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 126:
   [ -e /tmp/fd1 ] || mkfifo /tmp/fd1
   ^-------------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   [[ -e /tmp/fd1 ]] || mkfifo /tmp/fd1
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 130:
   for ((i = 1; i <= $PARALLEL; i++)); do
                     ^-------^ SC2004 (style): $/${} is unnecessary on 
arithmetic variables.
                     ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   for ((i = 1; i <= ${PARALLEL}; i++)); do
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 134:
   echo $(date)
        ^-----^ SC2046 (warning): Quote this to prevent word splitting.
        ^-----^ SC2005 (style): Useless echo? Instead of 'echo $(cmd)', just 
use 'cmd'.
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 135:
   for file in $(ls $SSB_DATA_DIR/lineorder.tbl.*); do
               ^-- SC2045 (error): Iterating over ls output is fragile. Use 
globs.
                    ^-----------^ SC2086 (info): Double quote to prevent 
globbing and word splitting.
                    ^-----------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   for file in $(ls "$SSB_DATA_DIR"/lineorder.tbl.*); do
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 136:
       read -u3
       ^--^ SC2162 (info): read without -r will mangle backslashes.
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 138:
           load $file
                ^---^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
           load "$file"
   
   
   In tools/ssb-tools/load-ssb-fact-data.sh line 146:
   echo $(date)
        ^-----^ SC2046 (warning): Quote this to prevent word splitting.
        ^-----^ SC2005 (style): Useless echo? Instead of 'echo $(cmd)', just 
use 'cmd'.
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 28:
       cd "$ROOT"
           ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       cd "${ROOT}"
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 43:
       -n $0 \
          ^-- SC2086 (info): Double quote to prevent globbing and word 
splitting.
   
   Did you mean: 
       -n "$0" \
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 48:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 76:
       if ! $CMD; then
            ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       if ! ${CMD}; then
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 77:
           echo "$NAME is missing. This script depends on cURL to load data to 
Doris."
                 ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
           echo "${NAME} is missing. This script depends on cURL to load data 
to Doris."
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 83:
       sql="$@"
           ^--^ SC2124 (warning): Assigning an array to a string! Assign as 
array, or use * instead of @ to concatenate.
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 84:
       echo $sql
            ^--^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
            ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       echo "$sql"
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 85:
       mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB -e 
"$@"
               ^------^ SC2086 (info): Double quote to prevent globbing and 
word splitting.
               ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                          ^---^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
                          ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                           ^-------^ SC2086 (info): Double 
quote to prevent globbing and word splitting.
                                           ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
                                                       ^------------^ SC2086 
(info): Double quote to prevent globbing and word splitting.
                                                       ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                        ^-^ 
SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                        ^-^ 
SC2250 (style): Prefer putting braces around variable references even when not 
strictly required.
   
   Did you mean: 
       mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB 
-e "$@"
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 91:
           echo -e "\n$con"
                      ^--^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
           echo -e "\n${con}"
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 168:
   source $CURDIR/doris-cluster.conf
          ^-----^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
          ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   source "$CURDIR"/doris-cluster.conf
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 170:
   echo "FE_HOST: $FE_HOST"
                  ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HOST: ${FE_HOST}"
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 171:
   echo "FE_HTTP_PORT: $FE_HTTP_PORT"
                       ^-----------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HTTP_PORT: ${FE_HTTP_PORT}"
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 172:
   echo "USER: $USER"
               ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "USER: ${USER}"
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 173:
   echo "PASSWORD: $PASSWORD"
                   ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "PASSWORD: ${PASSWORD}"
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 174:
   echo "DB: $DB"
             ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "DB: ${DB}"
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 180:
   origin_query_timeout=$(run_sql 'select @@query_timeout;' | sed -n '3p')
                          ^-----^ SC2311 (info): Bash implicitly disabled set 
-e for this function invocation because it's inside a command substitution. Add 
set -e; before it or enable inherit_errexit.
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 181:
   origin_parallel=$(run_sql 'select @@parallel_fragment_exec_instance_num;' | 
sed -n '3p')
                     ^-----^ SC2311 (info): Bash implicitly disabled set -e for 
this function invocation because it's inside a command substitution. Add set 
-e; before it or enable inherit_errexit.
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 187:
   echo $(date)
        ^-----^ SC2046 (warning): Quote this to prevent word splitting.
        ^-----^ SC2005 (style): Useless echo? Instead of 'echo $(cmd)', just 
use 'cmd'.
   
   
   In tools/ssb-tools/load-ssb-flat-data.sh line 196:
   echo $(date)
        ^-----^ SC2046 (warning): Quote this to prevent word splitting.
        ^-----^ SC2005 (style): Useless echo? Instead of 'echo $(cmd)', just 
use 'cmd'.
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 27:
       cd "$ROOT"
           ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       cd "${ROOT}"
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 32:
   QUERIES_DIR=$CURDIR/ssb-flat-queries
               ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   QUERIES_DIR=${CURDIR}/ssb-flat-queries
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 44:
       -n $0 \
          ^-- SC2086 (info): Double quote to prevent globbing and word 
splitting.
   
   Did you mean: 
       -n "$0" \
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 49:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 52:
   if [ $# == 0 ]; then
      ^---------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   if [[ $# == 0 ]]; then
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 81:
       if ! $CMD; then
            ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       if ! ${CMD}; then
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 82:
           echo "$NAME is missing. This script depends on mysql to create 
tables in Doris."
                 ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
           echo "${NAME} is missing. This script depends on mysql to create 
tables in Doris."
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 89:
   source $CURDIR/doris-cluster.conf
          ^-----^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
          ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   source "$CURDIR"/doris-cluster.conf
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 90:
   export MYSQL_PWD=$PASSWORD
                    ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   export MYSQL_PWD=${PASSWORD}
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 92:
   echo "FE_HOST: $FE_HOST"
                  ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HOST: ${FE_HOST}"
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 93:
   echo "FE_QUERY_PORT: $FE_QUERY_PORT"
                        ^------------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_QUERY_PORT: ${FE_QUERY_PORT}"
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 94:
   echo "USER: $USER"
               ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "USER: ${USER}"
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 95:
   echo "PASSWORD: $PASSWORD"
                   ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "PASSWORD: ${PASSWORD}"
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 96:
   echo "DB: $DB"
             ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "DB: ${DB}"
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 99:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 100:
       mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB -e 
"$@"
               ^------^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
               ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                          ^---^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                          ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                           ^-------^ SC2086 (info): Double 
quote to prevent globbing and word splitting.
                                           ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
                                                       ^------------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                       ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                        ^-^ 
SC2248 (style): Prefer double quoting even when variables don't contain special 
characters.
                                                                        ^-^ 
SC2250 (style): Prefer putting braces around variable references even when not 
strictly required.
   
   Did you mean: 
       mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB 
-e "$@"
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 113:
       mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D $DB 
<$QUERIES_DIR/q${i}.sql >/dev/null 2>&1
               ^------^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
               ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                          ^---^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                          ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                           ^-------^ SC2086 (info): Double 
quote to prevent globbing and word splitting.
                                           ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
                                                       ^------------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                       ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                         ^-^ 
SC2248 (style): Prefer double quoting even when variables don't contain special 
characters.
                                                                         ^-^ 
SC2250 (style): Prefer putting braces around variable references even when not 
strictly required.
                                                                              
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                              
^----------^ SC2250 (style): Prefer putting braces around variable references 
even when not strictly required.
                                                                                
            ^--^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
   
   Did you mean: 
       mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D $DB 
<$QUERIES_DIR/q${i}.sql >/dev/null 2>&1
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 115:
       res=$(mysqlslap -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT 
--create-schema=$DB --query=$QUERIES_DIR/q${i}.sql -F '\r' -i 3 | sed -n '2p' | 
cut -d ' ' -f 9,10)
                         ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                         ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                    ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                    ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                                     ^-------^ SC2086 (info): 
Double quote to prevent globbing and word splitting.
                                                     ^-------^ SC2250 (style): 
Prefer putting braces around variable references even when not strictly 
required.
                                                                 ^------------^ 
SC2248 (style): Prefer double quoting even when variables don't contain special 
characters.
                                                                 ^------------^ 
SC2250 (style): Prefer putting braces around variable references even when not 
strictly required.
                                                                                
                ^-^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
                                                                                
                ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                                                                                
                            ^----------^ SC2086 (info): Double quote to prevent 
globbing and word splitting.
                                                                                
                            ^----------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                                                                
                                          ^--^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
   
   Did you mean: 
       res=$(mysqlslap -h"$FE_HOST" -u$USER --password=$PASSWORD 
-P$FE_QUERY_PORT --create-schema=$DB --query=$QUERIES_DIR/q${i}.sql -F '\r' -i 
3 | sed -n '2p' | cut -d ' ' -f 9,10)
   
   
   In tools/ssb-tools/run-ssb-flat-queries.sh line 116:
       echo "q$i: $res"
              ^-- SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                  ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       echo "q${i}: ${res}"
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 27:
       cd "$ROOT"
           ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       cd "${ROOT}"
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 32:
   QUERIES_DIR=$CURDIR/ssb-queries
               ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   QUERIES_DIR=${CURDIR}/ssb-queries
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 44:
       -n $0 \
          ^-- SC2086 (info): Double quote to prevent globbing and word 
splitting.
   
   Did you mean: 
       -n "$0" \
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 49:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 52:
   if [ $# == 0 ]; then
      ^---------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   if [[ $# == 0 ]]; then
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 81:
       if ! $CMD; then
            ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       if ! ${CMD}; then
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 82:
           echo "$NAME is missing. This script depends on mysql to create 
tables in Doris."
                 ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
           echo "${NAME} is missing. This script depends on mysql to create 
tables in Doris."
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 89:
   source $CURDIR/doris-cluster.conf
          ^-----^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
          ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   source "$CURDIR"/doris-cluster.conf
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 90:
   export MYSQL_PWD=$PASSWORD
                    ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   export MYSQL_PWD=${PASSWORD}
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 92:
   echo "FE_HOST: $FE_HOST"
                  ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HOST: ${FE_HOST}"
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 93:
   echo "FE_QUERY_PORT: $FE_QUERY_PORT"
                        ^------------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_QUERY_PORT: ${FE_QUERY_PORT}"
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 94:
   echo "USER: $USER"
               ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "USER: ${USER}"
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 95:
   echo "PASSWORD: $PASSWORD"
                   ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "PASSWORD: ${PASSWORD}"
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 96:
   echo "DB: $DB"
             ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "DB: ${DB}"
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 99:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 100:
       mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB -e 
"$@"
               ^------^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
               ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                          ^---^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                          ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                           ^-------^ SC2086 (info): Double 
quote to prevent globbing and word splitting.
                                           ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
                                                       ^------------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                       ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                        ^-^ 
SC2248 (style): Prefer double quoting even when variables don't contain special 
characters.
                                                                        ^-^ 
SC2250 (style): Prefer putting braces around variable references even when not 
strictly required.
   
   Did you mean: 
       mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB 
-e "$@"
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 116:
       res=$(mysqlslap -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT 
--create-schema=$DB --query=$QUERIES_DIR/q${i}.sql -F '\r' -i 3 | sed -n '2p' | 
cut -d ' ' -f 9,10)
                         ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                         ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                    ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                    ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                                     ^-------^ SC2086 (info): 
Double quote to prevent globbing and word splitting.
                                                     ^-------^ SC2250 (style): 
Prefer putting braces around variable references even when not strictly 
required.
                                                                 ^------------^ 
SC2248 (style): Prefer double quoting even when variables don't contain special 
characters.
                                                                 ^------------^ 
SC2250 (style): Prefer putting braces around variable references even when not 
strictly required.
                                                                                
                ^-^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
                                                                                
                ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                                                                                
                            ^----------^ SC2086 (info): Double quote to prevent 
globbing and word splitting.
                                                                                
                            ^----------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                                                                
                                          ^--^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
   
   Did you mean: 
       res=$(mysqlslap -h"$FE_HOST" -u$USER --password=$PASSWORD 
-P$FE_QUERY_PORT --create-schema=$DB --query=$QUERIES_DIR/q${i}.sql -F '\r' -i 
3 | sed -n '2p' | cut -d ' ' -f 9,10)
   
   
   In tools/ssb-tools/run-ssb-queries.sh line 117:
       echo "q$i: $res"
              ^-- SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                  ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       echo "q${i}: ${res}"
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 30:
       cd "$ROOT"
           ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       cd "${ROOT}"
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 35:
   TPCH_DBGEN_DIR=$CURDIR/TPC-H_Tools_v3.0.0/dbgen
                  ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   TPCH_DBGEN_DIR=${CURDIR}/TPC-H_Tools_v3.0.0/dbgen
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 40:
       if ! $CMD; then
            ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       if ! ${CMD}; then
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 41:
           echo "$NAME is missing. This script depends on unzip to extract 
files from TPC-H_Tools_v3.0.0.zip"
                 ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
           echo "${NAME} is missing. This script depends on unzip to extract 
files from TPC-H_Tools_v3.0.0.zip"
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 49:
   if [[ -d $TPCH_DBGEN_DIR ]]; then
            ^-------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   if [[ -d ${TPCH_DBGEN_DIR} ]]; then
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 50:
       echo "Dir $TPCH_DBGEN_DIR already exists. No need to download."
                 ^-------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
       echo "Dir ${TPCH_DBGEN_DIR} already exists. No need to download."
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 55:
       unzip TPC-H_Tools_v3.0.0.zip -d $CURDIR/
                                       ^-----^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                       ^-----^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
       unzip TPC-H_Tools_v3.0.0.zip -d "$CURDIR"/
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 59:
   cd $TPCH_DBGEN_DIR/
      ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
      ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   cd "$TPCH_DBGEN_DIR"/
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 60:
   echo '
        ^-- SC2028 (info): echo may not expand escape sequences. Use printf.
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 83:
   if [[ -f $TPCH_DBGEN_DIR/dbgen ]]; then
            ^-------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   if [[ -f ${TPCH_DBGEN_DIR}/dbgen ]]; then
   
   
   In tools/tpch-tools/build-tpch-dbgen.sh line 84:
       echo "Build succeed! Run $TPCH_DBGEN_DIR/dbgen -h"
                                ^-------------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
       echo "Build succeed! Run ${TPCH_DBGEN_DIR}/dbgen -h"
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 27:
     cd "$ROOT"
         ^---^ SC2250 (style): Prefer putting braces around variable references 
even when not strictly required.
   
   Did you mean: 
     cd "${ROOT}"
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 43:
     -n $0 \
        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
   
   Did you mean: 
     -n "$0" \
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 47:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 50:
   if [ $# == 0 ]; then
      ^---------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   if [[ $# == 0 ]]; then
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 79:
     if ! $CMD; then
          ^--^ SC2250 (style): Prefer putting braces around variable references 
even when not strictly required.
   
   Did you mean: 
     if ! ${CMD}; then
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 80:
       echo "$NAME is missing. This script depends on mysql to create tables in 
Doris."
             ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       echo "${NAME} is missing. This script depends on mysql to create tables 
in Doris."
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 87:
   source $CURDIR/doris-cluster.conf
          ^-----^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
          ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   source "$CURDIR"/doris-cluster.conf
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 88:
   export MYSQL_PWD=$PASSWORD
                    ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   export MYSQL_PWD=${PASSWORD}
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 90:
   echo "FE_HOST: $FE_HOST"
                  ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HOST: ${FE_HOST}"
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 91:
   echo "FE_QUERY_PORT: $FE_QUERY_PORT"
                        ^------------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_QUERY_PORT: ${FE_QUERY_PORT}"
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 92:
   echo "USER: $USER"
               ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "USER: ${USER}"
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 93:
   echo "PASSWORD: $PASSWORD"
                   ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "PASSWORD: ${PASSWORD}"
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 94:
   echo "DB: $DB"
             ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "DB: ${DB}"
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 96:
   mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -e "CREATE 
DATABASE IF NOT EXISTS $DB"
           ^------^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
           ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                      ^---^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                      ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                       ^-------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                       ^-------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^------------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                   ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                                
                    ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -e "CREATE 
DATABASE IF NOT EXISTS $DB"
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 98:
   echo "Run SQLs from $CURDIR/create-tpch-tables.sql"
                       ^-----^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "Run SQLs from ${CURDIR}/create-tpch-tables.sql"
   
   
   In tools/tpch-tools/create-tpch-tables.sh line 99:
   mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB 
<$CURDIR/create-tpch-tables.sql
           ^------^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
           ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                      ^---^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                      ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                       ^-------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                       ^-------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^------------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                   ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                    ^-^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                                    ^-^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                         
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                         
^-----^ SC2250 (style): Prefer putting braces around variable references even 
when not strictly required.
   
   Did you mean: 
   mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB 
<$CURDIR/create-tpch-tables.sql
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 27:
     cd "$ROOT"
         ^---^ SC2250 (style): Prefer putting braces around variable references 
even when not strictly required.
   
   Did you mean: 
     cd "${ROOT}"
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 32:
   TPCH_DBGEN_DIR=$CURDIR/TPC-H_Tools_v3.0.0/dbgen/
                  ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   TPCH_DBGEN_DIR=${CURDIR}/TPC-H_Tools_v3.0.0/dbgen/
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 33:
   TPCH_DATA_DIR=$CURDIR/tpch-data/
                 ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   TPCH_DATA_DIR=${CURDIR}/tpch-data/
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 51:
     -n $0 \
        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
   
   Did you mean: 
     -n "$0" \
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 56:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 62:
   if [ $# == 0 ]; then
      ^---------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   if [[ $# == 0 ]]; then
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 96:
   echo "Scale Factor: $SCALE_FACTOR"
                       ^-----------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "Scale Factor: ${SCALE_FACTOR}"
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 97:
   echo "Parallelism: $PARALLEL"
                      ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "Parallelism: ${PARALLEL}"
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 100:
   if [[ ! -f $TPCH_DBGEN_DIR/dbgen ]]; then
              ^-------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   if [[ ! -f ${TPCH_DBGEN_DIR}/dbgen ]]; then
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 101:
     echo "$TPCH_DBGEN_DIR/dbgen does not exist. Run build-tpch-dbgen.sh first 
to build it first."
           ^-------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
     echo "${TPCH_DBGEN_DIR}/dbgen does not exist. Run build-tpch-dbgen.sh 
first to build it first."
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 105:
   if [[ -d $TPCH_DATA_DIR/ ]]; then
            ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   if [[ -d ${TPCH_DATA_DIR}/ ]]; then
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 106:
     echo "$TPCH_DATA_DIR exists. Remove it before generating data"
           ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
     echo "${TPCH_DATA_DIR} exists. Remove it before generating data"
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 110:
   mkdir $TPCH_DATA_DIR/
         ^------------^ SC2086 (info): Double quote to prevent globbing and 
word splitting.
         ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   mkdir "$TPCH_DATA_DIR"/
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 113:
   cd $TPCH_DBGEN_DIR
      ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
      ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   cd "$TPCH_DBGEN_DIR"
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 115:
   $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T r
   ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
   ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                               ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                               ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   "$TPCH_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T r
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 117:
   $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T n
   ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
   ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                               ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                               ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   "$TPCH_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T n
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 119:
   $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T s
   ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
   ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                               ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                               ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   "$TPCH_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T s
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 121:
   $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T P
   ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
   ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                               ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                               ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   "$TPCH_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T P
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 123:
   $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T c
   ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
   ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                               ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                               ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   "$TPCH_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T c
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 125:
   for i in $(seq 1 $PARALLEL); do
                    ^-------^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
                    ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   for i in $(seq 1 "$PARALLEL"); do
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 127:
       $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T S -C $PARALLEL -S ${i}
       ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
       ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                                   ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                   ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                         ^-------^ SC2086 
(info): Double quote to prevent globbing and word splitting.
                                                         ^-------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                      ^--^ 
SC2086 (info): Double quote to prevent globbing and word splitting.
   
   Did you mean: 
       "$TPCH_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T S -C $PARALLEL -S ${i}
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 133:
   for i in $(seq 1 $PARALLEL); do
                    ^-------^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
                    ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   for i in $(seq 1 "$PARALLEL"); do
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 135:
       $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T O -C $PARALLEL -S ${i}
       ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
       ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                                   ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                   ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                         ^-------^ SC2086 
(info): Double quote to prevent globbing and word splitting.
                                                         ^-------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                      ^--^ 
SC2086 (info): Double quote to prevent globbing and word splitting.
   
   Did you mean: 
       "$TPCH_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T O -C $PARALLEL -S ${i}
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 141:
   for i in $(seq 1 $PARALLEL); do
                    ^-------^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
                    ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   for i in $(seq 1 "$PARALLEL"); do
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 143:
       $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T L -C $PARALLEL -S ${i}
       ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
       ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                                   ^-----------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                                   ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                         ^-------^ SC2086 
(info): Double quote to prevent globbing and word splitting.
                                                         ^-------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                      ^--^ 
SC2086 (info): Double quote to prevent globbing and word splitting.
   
   Did you mean: 
       "$TPCH_DBGEN_DIR"/dbgen -f -s $SCALE_FACTOR -T L -C $PARALLEL -S ${i}
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 151:
   mv $TPCH_DBGEN_DIR/*.tbl* $TPCH_DATA_DIR/
      ^-------------^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
      ^-------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                             ^------------^ SC2086 (info): Double quote to 
prevent globbing and word splitting.
                             ^------------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
   
   Did you mean: 
   mv "$TPCH_DBGEN_DIR"/*.tbl* $TPCH_DATA_DIR/
   
   
   In tools/tpch-tools/gen-tpch-data.sh line 154:
   du -sh $TPCH_DATA_DIR/*.tbl*
          ^------------^ SC2086 (info): Double quote to prevent globbing and 
word splitting.
          ^------------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   du -sh "$TPCH_DATA_DIR"/*.tbl*
   
   
   In tools/tpch-tools/load-tpch-data.sh line 28:
       cd "$ROOT"
           ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       cd "${ROOT}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 33:
   TPCH_DATA_DIR=$CURDIR/tpch-data
                 ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   TPCH_DATA_DIR=${CURDIR}/tpch-data
   
   
   In tools/tpch-tools/load-tpch-data.sh line 49:
       -n $0 \
          ^-- SC2086 (info): Double quote to prevent globbing and word 
splitting.
   
   Did you mean: 
       -n "$0" \
   
   
   In tools/tpch-tools/load-tpch-data.sh line 54:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 59:
   if [ $# == 0 ]; then
      ^---------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   if [[ $# == 0 ]]; then
   
   
   In tools/tpch-tools/load-tpch-data.sh line 89:
   echo "Parallelism: $PARALLEL"
                      ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "Parallelism: ${PARALLEL}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 92:
   if [[ ! -d $TPCH_DATA_DIR/ ]]; then
              ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   if [[ ! -d ${TPCH_DATA_DIR}/ ]]; then
   
   
   In tools/tpch-tools/load-tpch-data.sh line 93:
       echo "$TPCH_DATA_DIR does not exist. Run sh gen-tpch-data.sh first."
             ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
       echo "${TPCH_DATA_DIR} does not exist. Run sh gen-tpch-data.sh first."
   
   
   In tools/tpch-tools/load-tpch-data.sh line 100:
       if ! $CMD; then
            ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       if ! ${CMD}; then
   
   
   In tools/tpch-tools/load-tpch-data.sh line 101:
           echo "$NAME is missing. This script depends on cURL to load data to 
Doris."
                 ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
           echo "${NAME} is missing. This script depends on cURL to load data 
to Doris."
   
   
   In tools/tpch-tools/load-tpch-data.sh line 109:
   source $CURDIR/doris-cluster.conf
          ^-----^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
          ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   source "$CURDIR"/doris-cluster.conf
   
   
   In tools/tpch-tools/load-tpch-data.sh line 111:
   echo "FE_HOST: $FE_HOST"
                  ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HOST: ${FE_HOST}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 112:
   echo "FE_HTTP_PORT: $FE_HTTP_PORT"
                       ^-----------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HTTP_PORT: ${FE_HTTP_PORT}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 113:
   echo "USER: $USER"
               ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "USER: ${USER}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 114:
   echo "PASSWORD: $PASSWORD"
                   ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "PASSWORD: ${PASSWORD}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 115:
   echo "DB: $DB"
             ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "DB: ${DB}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 118:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 119:
       curl --location-trusted -u $USER:$PASSWORD -H "column_separator:|" \
                                  ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                  ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                        ^-------^ SC2086 (info): Double quote 
to prevent globbing and word splitting.
                                        ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
       curl --location-trusted -u "$USER":$PASSWORD -H "column_separator:|" \
   
   
   In tools/tpch-tools/load-tpch-data.sh line 121:
           -T $@ http://$FE_HOST:$FE_HTTP_PORT/api/$DB/region/_stream_load
              ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
                        ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                        ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                 ^-----------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                 ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^-^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                                   ^-^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
           -T $@ http://"$FE_HOST":$FE_HTTP_PORT/api/$DB/region/_stream_load
   
   
   In tools/tpch-tools/load-tpch-data.sh line 124:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 125:
       curl --location-trusted -u $USER:$PASSWORD -H "column_separator:|" \
                                  ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                  ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                        ^-------^ SC2086 (info): Double quote 
to prevent globbing and word splitting.
                                        ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
       curl --location-trusted -u "$USER":$PASSWORD -H "column_separator:|" \
   
   
   In tools/tpch-tools/load-tpch-data.sh line 127:
           -T $@ http://$FE_HOST:$FE_HTTP_PORT/api/$DB/nation/_stream_load
              ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
                        ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                        ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                 ^-----------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                 ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^-^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                                   ^-^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
           -T $@ http://"$FE_HOST":$FE_HTTP_PORT/api/$DB/nation/_stream_load
   
   
   In tools/tpch-tools/load-tpch-data.sh line 130:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 131:
       curl --location-trusted -u $USER:$PASSWORD -H "column_separator:|" \
                                  ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                  ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                        ^-------^ SC2086 (info): Double quote 
to prevent globbing and word splitting.
                                        ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
       curl --location-trusted -u "$USER":$PASSWORD -H "column_separator:|" \
   
   
   In tools/tpch-tools/load-tpch-data.sh line 133:
           -T $@ http://$FE_HOST:$FE_HTTP_PORT/api/$DB/supplier/_stream_load
              ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
                        ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                        ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                 ^-----------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                 ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^-^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                                   ^-^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
           -T $@ http://"$FE_HOST":$FE_HTTP_PORT/api/$DB/supplier/_stream_load
   
   
   In tools/tpch-tools/load-tpch-data.sh line 136:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 137:
       curl --location-trusted -u $USER:$PASSWORD -H "column_separator:|" \
                                  ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                  ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                        ^-------^ SC2086 (info): Double quote 
to prevent globbing and word splitting.
                                        ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
       curl --location-trusted -u "$USER":$PASSWORD -H "column_separator:|" \
   
   
   In tools/tpch-tools/load-tpch-data.sh line 139:
           -T $@ http://$FE_HOST:$FE_HTTP_PORT/api/$DB/customer/_stream_load
              ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
                        ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                        ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                 ^-----------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                 ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^-^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                                   ^-^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
           -T $@ http://"$FE_HOST":$FE_HTTP_PORT/api/$DB/customer/_stream_load
   
   
   In tools/tpch-tools/load-tpch-data.sh line 142:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 143:
       curl --location-trusted -u $USER:$PASSWORD -H "column_separator:|" \
                                  ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                  ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                        ^-------^ SC2086 (info): Double quote 
to prevent globbing and word splitting.
                                        ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
       curl --location-trusted -u "$USER":$PASSWORD -H "column_separator:|" \
   
   
   In tools/tpch-tools/load-tpch-data.sh line 145:
           -T $@ http://$FE_HOST:$FE_HTTP_PORT/api/$DB/part/_stream_load
              ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
                        ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                        ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                 ^-----------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                 ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^-^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                                   ^-^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
           -T $@ http://"$FE_HOST":$FE_HTTP_PORT/api/$DB/part/_stream_load
   
   
   In tools/tpch-tools/load-tpch-data.sh line 148:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 149:
       curl --location-trusted -u $USER:$PASSWORD -H "column_separator:|" \
                                  ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                  ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                        ^-------^ SC2086 (info): Double quote 
to prevent globbing and word splitting.
                                        ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
       curl --location-trusted -u "$USER":$PASSWORD -H "column_separator:|" \
   
   
   In tools/tpch-tools/load-tpch-data.sh line 151:
           -T $@ http://$FE_HOST:$FE_HTTP_PORT/api/$DB/partsupp/_stream_load
              ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
                        ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                        ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                 ^-----------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                 ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^-^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                                   ^-^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
           -T $@ http://"$FE_HOST":$FE_HTTP_PORT/api/$DB/partsupp/_stream_load
   
   
   In tools/tpch-tools/load-tpch-data.sh line 154:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 155:
       curl --location-trusted -u $USER:$PASSWORD -H "column_separator:|" \
                                  ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                  ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                        ^-------^ SC2086 (info): Double quote 
to prevent globbing and word splitting.
                                        ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
       curl --location-trusted -u "$USER":$PASSWORD -H "column_separator:|" \
   
   
   In tools/tpch-tools/load-tpch-data.sh line 157:
           -T $@ http://$FE_HOST:$FE_HTTP_PORT/api/$DB/orders/_stream_load
              ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
                        ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                        ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                 ^-----------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                 ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^-^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                                   ^-^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
           -T $@ http://"$FE_HOST":$FE_HTTP_PORT/api/$DB/orders/_stream_load
   
   
   In tools/tpch-tools/load-tpch-data.sh line 160:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 161:
       curl --location-trusted -u $USER:$PASSWORD -H "column_separator:|" \
                                  ^---^ SC2248 (style): Prefer double quoting 
even when variables don't contain special characters.
                                  ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                        ^-------^ SC2086 (info): Double quote 
to prevent globbing and word splitting.
                                        ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
       curl --location-trusted -u "$USER":$PASSWORD -H "column_separator:|" \
   
   
   In tools/tpch-tools/load-tpch-data.sh line 163:
           -T $@ http://$FE_HOST:$FE_HTTP_PORT/api/$DB/lineitem/_stream_load
              ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
                        ^------^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                        ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                 ^-----------^ SC2248 (style): Prefer double 
quoting even when variables don't contain special characters.
                                 ^-----------^ SC2250 (style): Prefer putting 
braces around variable references even when not strictly required.
                                                   ^-^ SC2248 (style): Prefer 
double quoting even when variables don't contain special characters.
                                                   ^-^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
   
   Did you mean: 
           -T $@ http://"$FE_HOST":$FE_HTTP_PORT/api/$DB/lineitem/_stream_load
   
   
   In tools/tpch-tools/load-tpch-data.sh line 167:
   load_region $TPCH_DATA_DIR/region.tbl
               ^------------^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
               ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   load_region "$TPCH_DATA_DIR"/region.tbl
   
   
   In tools/tpch-tools/load-tpch-data.sh line 168:
   load_nation $TPCH_DATA_DIR/nation.tbl
               ^------------^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
               ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   load_nation "$TPCH_DATA_DIR"/nation.tbl
   
   
   In tools/tpch-tools/load-tpch-data.sh line 169:
   load_supplier $TPCH_DATA_DIR/supplier.tbl
                 ^------------^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
                 ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   load_supplier "$TPCH_DATA_DIR"/supplier.tbl
   
   
   In tools/tpch-tools/load-tpch-data.sh line 170:
   load_customer $TPCH_DATA_DIR/customer.tbl
                 ^------------^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
                 ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   load_customer "$TPCH_DATA_DIR"/customer.tbl
   
   
   In tools/tpch-tools/load-tpch-data.sh line 171:
   load_part $TPCH_DATA_DIR/part.tbl
             ^------------^ SC2086 (info): Double quote to prevent globbing and 
word splitting.
             ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   load_part "$TPCH_DATA_DIR"/part.tbl
   
   
   In tools/tpch-tools/load-tpch-data.sh line 178:
   mkfifo ${fifo}
          ^-----^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
   
   Did you mean: 
   mkfifo "${fifo}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 180:
   exec 3<>${fifo}
           ^-----^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
   
   Did you mean: 
   exec 3<>"${fifo}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 182:
   rm -rf ${fifo}
          ^-----^ SC2248 (style): Prefer double quoting even when variables 
don't contain special characters.
   
   Did you mean: 
   rm -rf "${fifo}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 185:
   for ((i = 1; i <= $PARALLEL; i++)); do
                     ^-------^ SC2004 (style): $/${} is unnecessary on 
arithmetic variables.
                     ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   for ((i = 1; i <= ${PARALLEL}; i++)); do
   
   
   In tools/tpch-tools/load-tpch-data.sh line 189:
   for file in $(ls $TPCH_DATA_DIR/lineitem.tbl*); do
               ^-- SC2045 (error): Iterating over ls output is fragile. Use 
globs.
                    ^------------^ SC2086 (info): Double quote to prevent 
globbing and word splitting.
                    ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   for file in $(ls "$TPCH_DATA_DIR"/lineitem.tbl*); do
   
   
   In tools/tpch-tools/load-tpch-data.sh line 194:
       read -u3
       ^--^ SC2162 (info): read without -r will mangle backslashes.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 198:
           load_lineitem $file
                         ^---^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
                         ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
           load_lineitem "$file"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 199:
           echo "----loaded $file"
                            ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
           echo "----loaded ${file}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 206:
   for file in $(ls $TPCH_DATA_DIR/orders.tbl*); do
               ^-- SC2045 (error): Iterating over ls output is fragile. Use 
globs.
                    ^------------^ SC2086 (info): Double quote to prevent 
globbing and word splitting.
                    ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   for file in $(ls "$TPCH_DATA_DIR"/orders.tbl*); do
   
   
   In tools/tpch-tools/load-tpch-data.sh line 207:
       read -u3
       ^--^ SC2162 (info): read without -r will mangle backslashes.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 209:
           load_orders $file
                       ^---^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
                       ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
           load_orders "$file"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 210:
           echo "----loaded $file"
                            ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
           echo "----loaded ${file}"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 216:
   for file in $(ls $TPCH_DATA_DIR/partsupp.tbl*); do
               ^-- SC2045 (error): Iterating over ls output is fragile. Use 
globs.
                    ^------------^ SC2086 (info): Double quote to prevent 
globbing and word splitting.
                    ^------------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   for file in $(ls "$TPCH_DATA_DIR"/partsupp.tbl*); do
   
   
   In tools/tpch-tools/load-tpch-data.sh line 217:
       read -u3
       ^--^ SC2162 (info): read without -r will mangle backslashes.
   
   
   In tools/tpch-tools/load-tpch-data.sh line 219:
           load_partsupp $file
                         ^---^ SC2086 (info): Double quote to prevent globbing 
and word splitting.
                         ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
           load_partsupp "$file"
   
   
   In tools/tpch-tools/load-tpch-data.sh line 220:
           echo "----loaded $file"
                            ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
           echo "----loaded ${file}"
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 27:
       cd "$ROOT"
           ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       cd "${ROOT}"
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 32:
   QUERIES_DIR=$CURDIR/queries
               ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   QUERIES_DIR=${CURDIR}/queries
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 44:
       -n $0 \
          ^-- SC2086 (info): Double quote to prevent globbing and word 
splitting.
   
   Did you mean: 
       -n "$0" \
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 48:
   eval set -- "$OPTS"
                ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   eval set -- "${OPTS}"
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 51:
   if [ $# == 0 ]; then
      ^---------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh.
   
   Did you mean: 
   if [[ $# == 0 ]]; then
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 80:
       if ! $CMD; then
            ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       if ! ${CMD}; then
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 81:
           echo "$NAME is missing. This script depends on mysql to create 
tables in Doris."
                 ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
           echo "${NAME} is missing. This script depends on mysql to create 
tables in Doris."
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 88:
   source $CURDIR/doris-cluster.conf
          ^-----^ SC2086 (info): Double quote to prevent globbing and word 
splitting.
          ^-----^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   source "$CURDIR"/doris-cluster.conf
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 90:
   echo "FE_HOST: $FE_HOST"
                  ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_HOST: ${FE_HOST}"
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 91:
   echo "FE_QUERY_PORT: $FE_QUERY_PORT"
                        ^------------^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
   
   Did you mean: 
   echo "FE_QUERY_PORT: ${FE_QUERY_PORT}"
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 92:
   echo "USER: $USER"
               ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "USER: ${USER}"
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 93:
   echo "PASSWORD: $PASSWORD"
                   ^-------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
   echo "PASSWORD: ${PASSWORD}"
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 94:
   echo "DB: $DB"
             ^-^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "DB: ${DB}"
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 98:
       echo $@
            ^-- SC2068 (error): Double quote array expansions to avoid 
re-splitting elements.
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 99:
       mysql -h$FE_HOST -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB -e 
"$@"
               ^------^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
               ^------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                          ^---^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                          ^---^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                                           ^-------^ SC2086 (info): Double 
quote to prevent globbing and word splitting.
                                           ^-------^ SC2250 (style): Prefer 
putting braces around variable references even when not strictly required.
                                                       ^------------^ SC2248 
(style): Prefer double quoting even when variables don't contain special 
characters.
                                                       ^------------^ SC2250 
(style): Prefer putting braces around variable references even when not 
strictly required.
                                                                        ^-^ 
SC2248 (style): Prefer double quoting even when variables don't contain special 
characters.
                                                                        ^-^ 
SC2250 (style): Prefer putting braces around variable references even when not 
strictly required.
   
   Did you mean: 
       mysql -h"$FE_HOST" -u$USER --password=$PASSWORD -P$FE_QUERY_PORT -D$DB 
-e "$@"
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 107:
       for j in $(seq 1 ${run}); do
       ^-^ SC2034 (warning): j appears unused. Verify use (or export if used 
externally).
                        ^----^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
   
   Did you mean: 
       for j in $(seq 1 "${run}"); do
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 109:
           mysql -h$FE_HOST -u $USER --password=$PASSWORD -P$FE_QUERY_PORT 
-D$DB --comments <$QUERIES_DIR/q$i.sql >/dev/null
                   ^------^ SC2248 (style): Prefer double quoting even when 
variables don't contain special characters.
                   ^------^ SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
                               ^---^ SC2248 (style): Prefer double quoting even 
when variables don't contain special characters.
                               ^---^ SC2250 (style): Prefer putting braces 
around variable references even when not strictly required.
                                                ^-------^ SC2086 (info): Double 
quote to prevent globbing and word splitting.
                                                ^-------^ SC2250 (style): 
Prefer putting braces around variable references even when not strictly 
required.
                                                            ^------------^ 
SC2248 (style): Prefer double quoting even when variables don't contain special 
characters.
                                                            ^------------^ 
SC2250 (style): Prefer putting braces around variable references even when not 
strictly required.
                                                                             
^-^ SC2248 (style): Prefer double quoting even when variables don't contain 
special characters.
                                                                             
^-^ SC2250 (style): Prefer putting braces around variable references even when 
not strictly required.
                                                                                
             ^----------^ SC2086 (info): Double quote to prevent globbing and 
word splitting.
                                                                                
             ^----------^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
                                                                                
                           ^-- SC2086 (info): Double quote to prevent globbing 
and word splitting.
                                                                                
                           ^-- SC2250 (style): Prefer putting braces around 
variable references even when not strictly required.
   
   Did you mean: 
           mysql -h"$FE_HOST" -u $USER --password=$PASSWORD -P$FE_QUERY_PORT 
-D$DB --comments <$QUERIES_DIR/q$i.sql >/dev/null
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 113:
       cost=$((total / ${run}))
                       ^----^ SC2004 (style): $/${} is unnecessary on 
arithmetic variables.
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 114:
       echo "q$i: ${cost}"
              ^-- SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       echo "q${i}: ${cost}"
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 115:
       sum=$((sum + $cost))
                    ^---^ SC2004 (style): $/${} is unnecessary on arithmetic 
variables.
                    ^---^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
       sum=$((sum + ${cost}))
   
   
   In tools/tpch-tools/run-tpch-queries.sh line 117:
   echo "Total cost: $sum"
                     ^--^ SC2250 (style): Prefer putting braces around variable 
references even when not strictly required.
   
   Did you mean: 
   echo "Total cost: ${sum}"
   
   For more information:
     https://www.shellcheck.net/wiki/SC2045 -- Iterating over ls output is 
fragi...
     https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to 
...
     https://www.shellcheck.net/wiki/SC2034 -- j appears unused. Verify use (or 
...
   ----------
   
   You can address the above issues in one of three ways:
   1. Manually correct the issue in the offending shell script;
   2. Disable specific issues by adding the comment:
     # shellcheck disable=NNNN
   above the line that contains the issue, where NNNN is the error code;
   3. Add '-e NNNN' to the SHELLCHECK_OPTS setting in your .yml action file.
   
   
   
   ```
   </details>
   
   <details>
   <summary>shfmt errors</summary>
   
   ```
   
   'shfmt ' returned error 1 finding the following formatting issues:
   
   ----------
   --- tools/ssb-tools/build-ssb-dbgen.sh.orig
   +++ tools/ssb-tools/build-ssb-dbgen.sh
   @@ -19,14 +19,17 @@
    ##############################################################
    # This script is used to build ssb-dbgen
    # sssb-dbgen's source code is from https://github.com/electrum/ssb-dbgen.git
   -# Usage: 
   +# Usage:
    #    sh build-ssb-dbgen.sh
    ##############################################################
    
    set -eo pipefail
    
   -ROOT=`dirname "$0"`
   -ROOT=`cd "$ROOT"; pwd`
   +ROOT=$(dirname "$0")
   +ROOT=$(
   +    cd "$ROOT"
   +    pwd
   +)
    
    CURDIR=${ROOT}
    SSB_DBGEN_DIR=$CURDIR/ssb-dbgen/
   --- tools/ssb-tools/create-ssb-flat-table.sh.orig
   +++ tools/ssb-tools/create-ssb-flat-table.sh
   @@ -24,64 +24,64 @@
    
    ROOT=$(dirname "$0")
    ROOT=$(
   -  cd "$ROOT"
   -  pwd
   +    cd "$ROOT"
   +    pwd
    )
    
    CURDIR=${ROOT}
    DDL="${CURDIR}/ddl/create-ssb-flat-table.sql"
    
    usage() {
   -  echo "
   +    echo "
    This script is used to create ssb flat table, 
    will use mysql client to connect Doris server which is specified in 
doris-cluster.conf file.
    Usage: $0 
      "
   -  exit 1
   +    exit 1
    }
    
    OPTS=$(getopt \
   -  -n $0 \
   -  -o '' \
   -  -o 'h' \
   -  -- "$@")
   +    -n $0 \
   +    -o '' \
   +    -o 'h' \
   +    -- "$@")
    
    eval set -- "$OPTS"
    HELP=0
    
    if [ $# == 0 ]; then
   -  usage
   +    usage
    fi
    
    while true; do
   -  case "$1" in
   -  -h)
   -    HELP=1
   -    shift
   -    ;;
   -  --)
   -    shift
   -    break
   -    ;;
   -  *)
   -    echo "Internal error"
   -    exit 1
   -    ;;
   -  esac
   +    case "$1" in
   +    -h)
   +        HELP=1
   +        shift
   +        ;;
   +    --)
   +        shift
   +        break
   +        ;;
   +    *)
   +        echo "Internal error"
   +        exit 1
   +        ;;
   +    esac
    done
    
    if [[ ${HELP} -eq 1 ]]; then
   -  usage
   -  exit
   +    usage
   +    exit
    fi
    
    check_prerequest() {
   -  local CMD=$1
   -  local NAME=$2
   -  if ! $CMD; then
   -    echo "$NAME is missing. This script depends on mysql to create tables 
in Doris."
   -    exit 1
   -  fi
   +    local CMD=$1
   +    local NAME=$2
   +    if ! $CMD; then
   +        echo "$NAME is missing. This script depends on mysql to create 
tables in Doris."
   +        exit 1
   +    fi
    }
    
    check_prerequest "mysql --version" "mysql"
   --- tools/ssb-tools/create-ssb-tables.sh.orig
   +++ tools/ssb-tools/create-ssb-tables.sh
   @@ -24,64 +24,64 @@
    
    ROOT=$(dirname "$0")
    ROOT=$(
   -  cd "$ROOT"
   -  pwd
   +    cd "$ROOT"
   +    pwd
    )
    
    CURDIR=${ROOT}
    DDL="${CURDIR}/ddl/create-ssb-tables.sql"
    
    usage() {
   -  echo "
   +    echo "
    This script is used to create SSB tables, 
    will use mysql client to connect Doris server which is specified in 
doris-cluster.conf file.
    Usage: $0 
      "
   -  exit 1
   +    exit 1
    }
    
    OPTS=$(getopt \
   -  -n $0 \
   -  -o '' \
   -  -o 'h' \
   -  -- "$@")
   +    -n $0 \
   +    -o '' \
   +    -o 'h' \
   +    -- "$@")
    
    eval set -- "$OPTS"
    HELP=0
    
    if [ $# == 0 ]; then
   -  usage
   +    usage
    fi
    
    while true; do
   -  case "$1" in
   -  -h)
   -    HELP=1
   -    shift
   -    ;;
   -  --)
   -    shift
   -    break
   -    ;;
   -  *)
   -    echo "Internal error"
   -    exit 1
   -    ;;
   -  esac
   +    case "$1" in
   +    -h)
   +        HELP=1
   +        shift
   +        ;;
   +    --)
   +        shift
   +        break
   +        ;;
   +    *)
   +        echo "Internal error"
   +        exit 1
   +        ;;
   +    esac
    done
    
    if [[ ${HELP} -eq 1 ]]; then
   -  usage
   -  exit
   +    usage
   +    exit
    fi
    
    check_prerequest() {
   -  local CMD=$1
   -  local NAME=$2
   -  if ! $CMD; then
   -    echo "$NAME is missing. This script depends on mysql to create tables 
in Doris."
   -    exit 1
   -  fi
   +    local CMD=$1
   +    local NAME=$2
   +    if ! $CMD; then
   +        echo "$NAME is missing. This script depends on mysql to create 
tables in Doris."
   +        exit 1
   +    fi
    }
    
    check_prerequest "mysql --version" "mysql"
   --- tools/ssb-tools/gen-ssb-data.sh.orig
   +++ tools/ssb-tools/gen-ssb-data.sh
   @@ -24,8 +24,8 @@
    
    ROOT=$(dirname "$0")
    ROOT=$(
   -  cd "$ROOT"
   -  pwd
   +    cd "$ROOT"
   +    pwd
    )
    
    CURDIR=${ROOT}
   @@ -33,7 +33,7 @@
    SSB_DATA_DIR=$CURDIR/ssb-data/
    
    usage() {
   -  echo "
   +    echo "
    Usage: $0 <options>
      Optional options:
         -s             scale factor, default is 100
   @@ -44,14 +44,14 @@
        $0 -s 10        generate data with scale factor 10.
        $0 -s 10 -c 5   generate data with scale factor 10. And using 5 threads 
to generate data concurrently.
      "
   -  exit 1
   +    exit 1
    }
    
    OPTS=$(getopt \
   -  -n $0 \
   -  -o '' \
   -  -o 'hs:c:' \
   -  -- "$@")
   +    -n $0 \
   +    -o '' \
   +    -o 'hs:c:' \
   +    -- "$@")
    
    eval set -- "$OPTS"
    
   @@ -60,37 +60,37 @@
    HELP=0
    
    if [ $# == 0 ]; then
   -  usage
   +    usage
    fi
    
    while true; do
   -  case "$1" in
   -  -h)
   -    HELP=1
   -    shift
   -    ;;
   -  -s)
   -    SCALE_FACTOR=$2
   -    shift 2
   -    ;;
   -  -c)
   -    PARALLEL=$2
   -    shift 2
   -    ;;
   -  --)
   -    shift
   -    break
   -    ;;
   -  *)
   -    echo "Internal error"
   -    exit 1
   -    ;;
   -  esac
   +    case "$1" in
   +    -h)
   +        HELP=1
   +        shift
   +        ;;
   +    -s)
   +        SCALE_FACTOR=$2
   +        shift 2
   +        ;;
   +    -c)
   +        PARALLEL=$2
   +        shift 2
   +        ;;
   +    --)
   +        shift
   +        break
   +        ;;
   +    *)
   +        echo "Internal error"
   +        exit 1
   +        ;;
   +    esac
    done
    
    if [[ ${HELP} -eq 1 ]]; then
   -  usage
   -  exit
   +    usage
   +    exit
    fi
    
    echo "Scale Factor: $SCALE_FACTOR"
   @@ -98,13 +98,13 @@
    
    # check if dbgen exists
    if [[ ! -f $SSB_DBGEN_DIR/dbgen ]]; then
   -  echo "$SSB_DBGEN_DIR/dbgen does not exist. Run build-ssb-dbgen.sh first 
to build it first."
   -  exit 1
   +    echo "$SSB_DBGEN_DIR/dbgen does not exist. Run build-ssb-dbgen.sh first 
to build it first."
   +    exit 1
    fi
    
    if [[ -d $SSB_DATA_DIR/ ]]; then
   -  echo "$SSB_DATA_DIR exists. Remove it before generating data"
   -  exit 1
   +    echo "$SSB_DATA_DIR exists. Remove it before generating data"
   +    exit 1
    fi
    
    mkdir $SSB_DATA_DIR/
   --- tools/tpch-tools/create-tpch-tables.sh.orig
   +++ tools/tpch-tools/create-tpch-tables.sh
   @@ -24,62 +24,62 @@
    
    ROOT=$(dirname "$0")
    ROOT=$(
   -  cd "$ROOT"
   -  pwd
   +    cd "$ROOT"
   +    pwd
    )
    
    CURDIR=${ROOT}
    
    usage() {
   -  echo "
   +    echo "
    This script is used to create TPC-H tables, 
    will use mysql client to connect Doris server which is specified in 
doris-cluster.conf file.
    Usage: $0 
      "
   -  exit 1
   +    exit 1
    }
    
    OPTS=$(getopt \
   -  -n $0 \
   -  -o '' \
   -  -- "$@")
   +    -n $0 \
   +    -o '' \
   +    -- "$@")
    
    eval set -- "$OPTS"
    HELP=0
    
    if [ $# == 0 ]; then
   -  usage
   +    usage
    fi
    
    while true; do
   -  case "$1" in
   -  -h)
   -    HELP=1
   -    shift
   -    ;;
   -  --)
   -    shift
   -    break
   -    ;;
   -  *)
   -    echo "Internal error"
   -    exit 1
   -    ;;
   -  esac
   +    case "$1" in
   +    -h)
   +        HELP=1
   +        shift
   +        ;;
   +    --)
   +        shift
   +        break
   +        ;;
   +    *)
   +        echo "Internal error"
   +        exit 1
   +        ;;
   +    esac
    done
    
    if [[ ${HELP} -eq 1 ]]; then
   -  usage
   -  exit
   +    usage
   +    exit
    fi
    
    check_prerequest() {
   -  local CMD=$1
   -  local NAME=$2
   -  if ! $CMD; then
   -    echo "$NAME is missing. This script depends on mysql to create tables 
in Doris."
   -    exit 1
   -  fi
   +    local CMD=$1
   +    local NAME=$2
   +    if ! $CMD; then
   +        echo "$NAME is missing. This script depends on mysql to create 
tables in Doris."
   +        exit 1
   +    fi
    }
    
    check_prerequest "mysql --version" "mysql"
   --- tools/tpch-tools/gen-tpch-data.sh.orig
   +++ tools/tpch-tools/gen-tpch-data.sh
   @@ -24,8 +24,8 @@
    
    ROOT=$(dirname "$0")
    ROOT=$(
   -  cd "$ROOT"
   -  pwd
   +    cd "$ROOT"
   +    pwd
    )
    
    CURDIR=${ROOT}
   @@ -33,7 +33,7 @@
    TPCH_DATA_DIR=$CURDIR/tpch-data/
    
    usage() {
   -  echo "
   +    echo "
    Usage: $0 <options>
      Optional options:
         -s             scale factor, default is 100
   @@ -44,14 +44,14 @@
        $0 -s 10        generate data with scale factor 10.
        $0 -s 10 -c 5   generate data with scale factor 10. And using 5 threads 
to generate data concurrently.
      "
   -  exit 1
   +    exit 1
    }
    
    OPTS=$(getopt \
   -  -n $0 \
   -  -o '' \
   -  -o 'hs:c:' \
   -  -- "$@")
   +    -n $0 \
   +    -o '' \
   +    -o 'hs:c:' \
   +    -- "$@")
    
    eval set -- "$OPTS"
    
   @@ -60,37 +60,37 @@
    HELP=0
    
    if [ $# == 0 ]; then
   -  usage
   +    usage
    fi
    
    while true; do
   -  case "$1" in
   -  -h)
   -    HELP=1
   -    shift
   -    ;;
   -  -s)
   -    SCALE_FACTOR=$2
   -    shift 2
   -    ;;
   -  -c)
   -    PARALLEL=$2
   -    shift 2
   -    ;;
   -  --)
   -    shift
   -    break
   -    ;;
   -  *)
   -    echo "Internal error"
   -    exit 1
   -    ;;
   -  esac
   +    case "$1" in
   +    -h)
   +        HELP=1
   +        shift
   +        ;;
   +    -s)
   +        SCALE_FACTOR=$2
   +        shift 2
   +        ;;
   +    -c)
   +        PARALLEL=$2
   +        shift 2
   +        ;;
   +    --)
   +        shift
   +        break
   +        ;;
   +    *)
   +        echo "Internal error"
   +        exit 1
   +        ;;
   +    esac
    done
    
    if [[ ${HELP} -eq 1 ]]; then
   -  usage
   -  exit
   +    usage
   +    exit
    fi
    
    echo "Scale Factor: $SCALE_FACTOR"
   @@ -98,13 +98,13 @@
    
    # check if dbgen exists
    if [[ ! -f $TPCH_DBGEN_DIR/dbgen ]]; then
   -  echo "$TPCH_DBGEN_DIR/dbgen does not exist. Run build-tpch-dbgen.sh first 
to build it first."
   -  exit 1
   +    echo "$TPCH_DBGEN_DIR/dbgen does not exist. Run build-tpch-dbgen.sh 
first to build it first."
   +    exit 1
    fi
    
    if [[ -d $TPCH_DATA_DIR/ ]]; then
   -  echo "$TPCH_DATA_DIR exists. Remove it before generating data"
   -  exit 1
   +    echo "$TPCH_DATA_DIR exists. Remove it before generating data"
   +    exit 1
    fi
    
    mkdir $TPCH_DATA_DIR/
   @@ -123,25 +123,25 @@
    $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T c
    echo "Begin to generate data for table: partsupp"
    for i in $(seq 1 $PARALLEL); do
   -  {
   -    $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T S -C $PARALLEL -S ${i}
   -  } &
   +    {
   +        $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T S -C $PARALLEL -S ${i}
   +    } &
    done
    wait
    
    echo "Begin to generate data for table: orders"
    for i in $(seq 1 $PARALLEL); do
   -  {
   -    $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T O -C $PARALLEL -S ${i}
   -  } &
   +    {
   +        $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T O -C $PARALLEL -S ${i}
   +    } &
    done
    wait
    
    echo "Begin to generate data for table: lineitem"
    for i in $(seq 1 $PARALLEL); do
   -  {
   -    $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T L -C $PARALLEL -S ${i}
   -  } &
   +    {
   +        $TPCH_DBGEN_DIR/dbgen -f -s $SCALE_FACTOR -T L -C $PARALLEL -S ${i}
   +    } &
    done
    wait
    
   ----------
   
   You can reformat the above files to meet shfmt's requirements by typing:
   
     shfmt  -w filename
   
   
   ```
   </details>
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to