Wilson-BT opened a new issue, #9749:
URL: https://github.com/apache/dolphinscheduler/issues/9749

   ### 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
   
   When we send mail with attachments and have a limit number which less then 
QUERY_LIMIT, resultJSONArray will add ```sql result limit``` log into itself, 
and it will cause the Exception when Json to List at ExcelUtils.genExcelFile.
   
![image](https://user-images.githubusercontent.com/40427110/165033024-3c2070b1-fbdf-4396-ad92-b26777489194.png)
   
   
   ### What you expected to happen
   
   i think we can just logger.info("") without adding into resultJSONArray.
   
   ### How to reproduce
   
   SqlTask: DML sql ,send mail group with attachments.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.5
   
   ### 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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to