github-actions[bot] commented on PR #42445:
URL: https://github.com/apache/doris/pull/42445#issuecomment-2466815009
#### `sh-checker report`
To get the full details, please check in the
[job]("https://github.com/apache/doris/actions/runs/11767066067") output.
<details>
<summary>shellcheck errors</summary>
```
'shellcheck ' returned error 1 finding the following syntactical issues:
----------
In tools/ssb-tools/bin/create-ssb-tables.sh line 111:
if [ "${SCALE_FACTOR}" -eq 1 ]; then
^-- SC1009 (info): The mentioned syntax error was in this if expression.
^-- SC1073 (error): Couldn't parse this then
clause. Fix to allow more checks.
In tools/ssb-tools/bin/create-ssb-tables.sh line 123:
# shellcheck disable=SC2292
^-- SC1123 (error): ShellCheck directives are only valid in front of
complete compound commands, like 'if', not e.g. individual 'elif' branches.
In tools/ssb-tools/bin/create-ssb-tables.sh line 124:
elif [ "${SCALE_FACTOR}" -eq 100 ]; then
^-- SC1072 (error): Unexpected keyword/token. Fix any mentioned
problems and try again.
In tools/tpcds-tools/bin/create-tpcds-tables.sh line 115:
if [ "${SCALE_FACTOR}" -eq 1 ]; then
^-- SC1009 (info): The mentioned syntax error was in this if expression.
^-- SC1073 (error): Couldn't parse this then
clause. Fix to allow more checks.
In tools/tpcds-tools/bin/create-tpcds-tables.sh line 121:
# shellcheck disable=SC2292
^-- SC1123 (error): ShellCheck directives are only valid in front of
complete compound commands, like 'if', not e.g. individual 'elif' branches.
In tools/tpcds-tools/bin/create-tpcds-tables.sh line 122:
elif [ "${SCALE_FACTOR}" -eq 100 ]; then
^-- SC1072 (error): Unexpected keyword/token. Fix any mentioned
problems and try again.
In tools/tpch-tools/bin/create-tpch-tables.sh line 112:
if [ "${SCALE_FACTOR}" -eq 1 ]; then
^-- SC1009 (info): The mentioned syntax error was in this if expression.
^-- SC1073 (error): Couldn't parse this then
clause. Fix to allow more checks.
In tools/tpch-tools/bin/create-tpch-tables.sh line 119:
# shellcheck disable=SC2292
^-- SC1123 (error): ShellCheck directives are only valid in front of
complete compound commands, like 'if', not e.g. individual 'elif' branches.
In tools/tpch-tools/bin/create-tpch-tables.sh line 120:
elif [ "${SCALE_FACTOR}" -eq 100 ]; then
^-- SC1072 (error): Unexpected keyword/token. Fix any mentioned
problems and try again.
For more information:
https://www.shellcheck.net/wiki/SC1123 -- ShellCheck directives are only
va...
https://www.shellcheck.net/wiki/SC1072 -- Unexpected keyword/token. Fix
any...
https://www.shellcheck.net/wiki/SC1073 -- Couldn't parse this then clause.
...
----------
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 ' found no issues.
```
</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]