-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix] [Server] Fix the spell error and add log in SqlTask #3243
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
LGTM. |
|
Hi,
1.用户除了使用webui,也可以使用api直接创建,除此之外可以将将json序列化过程中出错导致的null值给解决。这里判断是否为null,可以增强代码鲁棒性。举例:虽然一个string的值不可能为null,我们通常使用的StringUtils.isNotEmpty中依然加了null值判断。 If you have any question or suggestion, welcome to put forward~ |
|
If SqlParameters is judged to be null, are all abstractparameters required? If so, they need to be abstracted如果SqlParameters判断为空,那么是不是所有的 AbstractParameters的都需要,如果是,就需要抽象出来 |
I agree with you, if you are interested in this, I think it is better to create an issue and describe all the situation, this pr is just for spell error and some log info. Thx a lot~ |
...heduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java
Outdated
Show resolved
Hide resolved
...heduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
What is the purpose of the pull request
This pull request fix the spell error 、add log in SqlTask and add null judgment in SqlTask
Brief change log
Verify this pull request
none