[1.3.6-prepare][Feature-5087][SqlTask] Add a switch to send mail and print head logs in SqlTask #5088#5104
Conversation
…d from-model to form-model
dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/MailUtils.java
Show resolved
Hide resolved
dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/MailUtils.java
Show resolved
Hide resolved
|
@zhuangchong @break60 please take a look UI.thx |
...heduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java
Show resolved
Hide resolved
|
LIMIT limits the number of rows in a SQL query, and displayRows limits the number of rows that a log can print. |
A user can choose not to send mail, so printing a few query results into the log is a good way. The variable For sending mail, the number of rows of query results sent can be larger, for example |
…print head logs in SqlTask apache#5088
ee34311 to
3ff9ee0
Compare
|
SonarCloud Quality Gate failed. |
|
I wondered if this would make it more user-friendly, SQL query result display has the email and log printing, on the front page for users to choose more the result display, set up the article a SQL query number limit parameters, the user can select only the log printing way, also can only choose mail way, also can also choose one of two ways (choice is at the same time may produce a large amount of data, this can agree) 我想了一下这样调整会不会对用户更友好一些, 并且同时选择日志打印和邮件发送两种展示方法,我感觉多次一举,在任何一种方式都可以查看数据,为什么要两种方式同时查看? |
|
@zhuangchong You can start a discussion in the dev email, and realize this improvement according to the idea you mentioned, not on this 1.3.6-prepare. The current pr is a cherry-pick from dev, and this improvement is the result of the previous discussion on March 17. |
ok, no problem. |

pr #5088
issue #174 #547 #5087