stevqin opened a new issue, #15760:
URL: https://github.com/apache/dolphinscheduler/issues/15760

   ### 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
   
   行SQL语句的任务, 原来SQL语句中 带有  -- 这类行的注释, 竟然也会失效,导致被解析出来了;
   
   
![sql注释报错](https://github.com/apache/dolphinscheduler/assets/57753404/aadea749-4cb3-4a51-9256-21442a790e64)
   
![sql注释报错-1](https://github.com/apache/dolphinscheduler/assets/57753404/e1ed3067-f87a-4548-ad7b-5e7215560183)
   
   
   ### What you expected to happen
   
   行SQL语句的任务, 原来SQL语句中 带有  -- 这类行的注释, 竟然也会失效,导致被解析出来了;
   
   
![sql注释报错](https://github.com/apache/dolphinscheduler/assets/57753404/aadea749-4cb3-4a51-9256-21442a790e64)
   
![sql注释报错-1](https://github.com/apache/dolphinscheduler/assets/57753404/e1ed3067-f87a-4548-ad7b-5e7215560183)
   
   
   ### How to reproduce
   
   行SQL语句的任务, 原来SQL语句中 带有  -- 这类行的注释, 竟然也会失效,导致被解析出来了;
   
   
![sql注释报错](https://github.com/apache/dolphinscheduler/assets/57753404/aadea749-4cb3-4a51-9256-21442a790e64)
   
![sql注释报错-1](https://github.com/apache/dolphinscheduler/assets/57753404/e1ed3067-f87a-4548-ad7b-5e7215560183)
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [X] 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: 
commits-unsubscr...@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to