dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [alert] SQL task query result sends null exception

Open saowu opened this issue 5 months ago • 3 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

image Here entry.getValue() may be null

[INFO] 2024-09-03 16:55:33.453 +0800 - row 1 : {"id":35,"created_at":"2022-10-29 11:41:52","updated_at":"2022-11-01 10:55:38","deleted_at":null,"icon":"https://www.baidu.com//favicon.ico","name":"百度","link":"https://baidu.com/","desc":"https://baidu.com/","state":true}

What you expected to happen

image

SQL task query result sends null exception

How to reproduce

SQL task queries the database and sets the null value, and sends it using Feishu

[INFO] 2024-09-03 16:55:33.453 +0800 - row 1 : {"id":35,"created_at":"2022-10-29 11:41:52","updated_at":"2022-11-01 10:55:38","deleted_at":null,"icon":"https://www.baidu.com//favicon.ico","name":"百度","link":"https://baidu.com/","desc":"https://baidu.com/","state":true}

Anything else

No response

Version

dev

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

saowu avatar Sep 03 '24 09:09 saowu