-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Bug-4099][admin]bug fix 4 task with variable lineage #4106
Conversation
昨天也遇到了这个 bug,期待早点合并进来。 |
Hi. Please refer to |
Thx, I'll update this PR today. |
Hi~ @aiwenmo I found that JobInstanceService's lineage build is based on execute History. Before a history being persisted to database, following methods are called:
which means databaseVariable, FlinkSQLEnv, RowPermission, FragmentVariable and UdfRefer are handled, then both statement and config field are updated. As a result we can reuse the config of History rather than create a new JobConfig or use default config like follows, I have also tested that this change can avoid the bug:
What is your opinion? |
@MactavishCui I agree with you. Your discovery is wonderful. |
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
Purpose of the pull request
#4099
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
Before:
After: