github-actions[bot] commented on PR #23308: URL: https://github.com/apache/doris/pull/23308#issuecomment-1687569470
#### `sh-checker report` To get the full details, please check in the [job]("https://github.com/apache/doris/actions/runs/5935404846") output. <details> <summary>shellcheck errors</summary> ``` 'shellcheck ' returned error 1 finding the following syntactical issues: ---------- In tools/tpcds-tools/bin/run-tpcds-queries.sh line 80: if [[ ${SCALE_FACTOR} -eq 1 ]]; then ^-- SC1046 (error): Couldn't find 'fi' for this 'if'. ^-- SC1073 (error): Couldn't parse this if expression. Fix to allow more checks. In tools/tpcds-tools/bin/run-tpcds-queries.sh line 88: eif [[ ${SCALE_FACTOR} -eq 1000 ]]; then ^-- SC1047 (error): Expected 'fi' matching previously mentioned 'if'. ^-- SC1072 (error): Expected 'fi'. Fix any mentioned problems and try again. For more information: https://www.shellcheck.net/wiki/SC1046 -- Couldn't find 'fi' for this 'if'. https://www.shellcheck.net/wiki/SC1047 -- Expected 'fi' matching previously... https://www.shellcheck.net/wiki/SC1072 -- Expected 'fi'. Fix any mentioned ... ---------- 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/tpcds-tools/bin/run-tpcds-queries.sh:88:37: "then" can only be used in an if ---------- 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