adonis0147 commented on PR #25203:
URL: https://github.com/apache/doris/pull/25203#issuecomment-1807386705

   > #### `sh-checker report`
   > To get the full details, please check in the job output.
   > 
   > shellcheck errors
   > ```
   > 
   > 'shellcheck ' returned error 1 finding the following syntactical issues:
   > 
   > ----------
   > 
   > In tools/tpcds-tools/bin/gen-tpcds-queries.sh line 151:
   >             q="${q//${origin}/concat(concat('${smc1}', ','), '${smc2}')}" 
&& echo "${q};" >>"${of}"
   >                                             ^-------^ SC2016 (info): 
Expressions don't expand in single quotes, use double quotes for that.
   >                                                              ^-------^ 
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...
   > ----------
   > 
   > 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.
   > ```
   > 
   > shfmt errors
   > ```
   > 'shfmt ' found no issues.
   > ```
   
   Hi @TimCoder , you should fix the errors reported by the workflow.
   
   By the way, did you run the script by `sh` (e.g. sh gen-tpcds-queries.sh) ?


-- 
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