You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/09/20 03:12:25 UTC
[GitHub] [dolphinscheduler] fengjian1129 opened a new issue, #12057: [Bug] [task-plugin] When the sql query result is empty, the email fails to send the attachment, and an exception will be reported
fengjian1129 opened a new issue, #12057:
URL: https://github.com/apache/dolphinscheduler/issues/12057
### 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 the sql query result is empty, dolphinscheduler-alert.log screenshot is as follows:
<img width="1365" alt="image" src="https://user-images.githubusercontent.com/35831367/191156893-f3d9e8c0-317b-4152-93a0-dcef8618dfeb.png">
Email can't be sent
<img width="1362" alt="image" src="https://user-images.githubusercontent.com/35831367/191157074-be76e4ea-091b-4cb1-a2f0-2233b386f028.png">
### What you expected to happen
I think we should send an empty attachment and write the table structure and empty results of the query to the attachment
such as
<img width="424" alt="image" src="https://user-images.githubusercontent.com/35831367/191159120-ddcbc239-7a41-4a95-b8aa-f9dc26a1b6d6.png">
### How to reproduce
..
### Anything else
_No response_
### Version
3.0.0
### 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-unsubscribe@dolphinscheduler.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #12057: [Bug] [task-plugin] When the sql query result is empty, the email fails to send the attachment, and an exception will be reported
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12057:
URL: https://github.com/apache/dolphinscheduler/issues/12057#issuecomment-1251792473
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
* In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
* If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`
--
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-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] caishunfeng closed issue #12057: [Bug] [task-plugin] When the sql query result is empty, the email fails to send the attachment, and an exception will be reported
Posted by GitBox <gi...@apache.org>.
caishunfeng closed issue #12057: [Bug] [task-plugin] When the sql query result is empty, the email fails to send the attachment, and an exception will be reported
URL: https://github.com/apache/dolphinscheduler/issues/12057
--
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-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org