-
Notifications
You must be signed in to change notification settings - Fork 973
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-3805] Remove redundant values in table t_flink_app
insert statement
#3807
Conversation
@@ -30,7 +30,12 @@ insert into `t_team` values (100000, 'default', null, now(), now()); | |||
-- ---------------------------- | |||
-- Records of t_flink_app | |||
-- ---------------------------- | |||
insert into `t_flink_app` values (100000, 100000, 2, 4, null, null, 'Flink SQL Demo', null, null, null, null, null, null , null, 100000, null, 1, null, null, null, null, null, null, null, null, 0, 0, null, null, null, null, null, null, 'Flink SQL Demo', 0, null, null, null, null, null, null, null, 0, 0, now(), now(), null, 1, 1, null, null, null, null, null, null, 0, null, null, null, 'streampark,test', 0, null); |
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.
I suggest using insert table $table($column1,$column2,$column3) values(...)
instead of insert into $table values(...)
it is a better solution
64b5f06
to
733dd38
Compare
`id`, `team_id`, `job_type`, `execution_mode`, `job_name`, `user_id`, `app_type`, `state`, `restart_size`, | ||
`description`,`resolve_order`,`option_state`,`tracking`,`create_time`, `modify_time`,`release`, `build`, | ||
`k8s_hadoop_integration`,`tags`, `hadoop_user` | ||
) VALUES (100000, 100000, 2, 4, 'Flink SQL Demo', 100000, 1, 0, 0, 'Flink SQL Demo', 0, 0, 0, now(), now(), 1, 1, 0, 'streampark,test', 0); |
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.
hadoop_user : 0 ?
733dd38
to
ae1fbdd
Compare
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.
LGTM
What changes were proposed in this pull request
The dml of table
t_flink_app
in existing H2, MySQL, PGSQL does not match the dll struct.Issue Number: close #3805
Brief change log
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts