adonis-lau opened a new issue, #15918:
URL: https://github.com/apache/dolphinscheduler/issues/15918

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   In the shell node, multiple SQL files are called using hive -f, and each 
file contains multiple SQL statements. When one of the SQL statements fails, 
the subsequent SQL statements continue to execute, and the status of the shell 
node is marked as successful.
   
![任务日志截图](https://github.com/apache/dolphinscheduler/assets/14901776/4eef6311-fdf6-40fe-bd16-665d3853630b)
   
![任务状态截图](https://github.com/apache/dolphinscheduler/assets/14901776/085cb296-fd4b-40d9-84be-bdf91915f766)
   
   
   ### What you expected to happen
   
   In the shell node, after invoking SQL via hive -f, if there are failures in 
the SQL execution, the subsequent SQLs should not continue to execute, and the 
status of the shell node should be marked as failed.
   
   ### How to reproduce
   
   If there are 5 SQL commands in a Hive SQL file and the second command fails, 
the third, fourth, and fifth commands will still be executed. If these commands 
are executed successfully, the node will be marked as having executed 
successfully.
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

Reply via email to