github-actions[bot] commented on PR #21788: URL: https://github.com/apache/doris/pull/21788#issuecomment-1641844340
#### `sh-checker report` To get the full details, please check in the [job]("https://github.com/apache/doris/actions/runs/5598065197") output. <details> <summary>shellcheck errors</summary> ``` 'shellcheck ' returned error 1 finding the following syntactical issues: ---------- In tools/emr_storage_regression/ping_test/ping_poc.sh line 33: FE_HOST=${FE_HOST} ^-----^ SC2269 (info): This variable is assigned to itself, so the assignment does nothing. In tools/emr_storage_regression/ping_test/ping_poc.sh line 34: FE_QUERY_PORT=${FE_QUERY_PORT} ^-----------^ SC2269 (info): This variable is assigned to itself, so the assignment does nothing. In tools/emr_storage_regression/ping_test/ping_poc.sh line 35: USER=${USER} ^--^ SC2269 (info): This variable is assigned to itself, so the assignment does nothing. In tools/emr_storage_regression/ping_test/ping_poc.sh line 116: sed -e 's#DLF_ENDPOINT#'"${DLF_ENDPOINT}"'#g' emr_catalog.sql >emr_catalog.sql ^-------------^ SC2094 (info): Make sure not to read and write the same file in the same pipeline. ^-------------^ SC2094 (info): Make sure not to read and write the same file in the same pipeline. In tools/emr_storage_regression/ping_test/ping_poc.sh line 117: sed -e 's#JINDO_ENDPOINT#'"${JINDO_ENDPOINT}"'#g' emr_catalog.sql >emr_catalog.sql ^-------------^ SC2094 (info): Make sure not to read and write the same file in the same pipeline. ^-------------^ SC2094 (info): Make sure not to read and write the same file in the same pipeline. In tools/emr_storage_regression/standard_set/gen_spark_create_sql.sh line 27: sh gen_tbl/gen_ssb_create_sql.sh "${BUCKET}"/ssb/ssb100_parquet ssb100_parquet_"${TYPE}" parquet >>create_"${TYPE}".sql ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects. In tools/emr_storage_regression/standard_set/gen_tbl/gen_clickbench_create_sql.sh line 44: USE '"${db}"'; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_ssb_create_sql.sh line 45: USE '"${db}"'; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_ssb_create_sql.sh line 57: LOCATION "'"${db_loc}"/customer'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_ssb_create_sql.sh line 78: LOCATION "'"${db_loc}"/dates'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_ssb_create_sql.sh line 99: LOCATION "'"${db_loc}"/lineorder'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_ssb_create_sql.sh line 112: LOCATION "'"${db_loc}"/part'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_ssb_create_sql.sh line 123: LOCATION "'"${db_loc}"/supplier'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_tpch_create_sql.sh line 45: USE '"${db}"'; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_tpch_create_sql.sh line 57: LOCATION "'"${db_loc}"/customer'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_tpch_create_sql.sh line 77: LOCATION "'"${db_loc}"/lineitem'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_tpch_create_sql.sh line 85: LOCATION "'"${db_loc}"/nation'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_tpch_create_sql.sh line 98: LOCATION "'"${db_loc}"/orders'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_tpch_create_sql.sh line 111: LOCATION "'"${db_loc}"/part'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_tpch_create_sql.sh line 120: LOCATION "'"${db_loc}"/partsupp'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. In tools/emr_storage_regression/standard_set/gen_tbl/gen_tpch_create_sql.sh line 127: LOCATION "'"${db_loc}"/region'"; ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. For more information: https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl... https://www.shellcheck.net/wiki/SC2094 -- Make sure not to read and write t... https://www.shellcheck.net/wiki/SC2269 -- This variable is assigned to itse... ---------- 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/emr_storage_regression/standard_set/gen_tbl/gen_clickbench_create_sql.sh.orig +++ tools/emr_storage_regression/standard_set/gen_tbl/gen_clickbench_create_sql.sh --- tools/emr_storage_regression/standard_set/gen_tbl/gen_tpch_create_sql.sh.orig +++ tools/emr_storage_regression/standard_set/gen_tbl/gen_tpch_create_sql.sh --- tools/emr_storage_regression/standard_set/run_standard_set.sh.orig +++ tools/emr_storage_regression/standard_set/run_standard_set.sh ---------- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org