-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Add a loaded rows in SHOW LOAD result #1686
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
Conversation
|
|
||
| // number of rows processed on BE, this number will be updated periodically by query report. | ||
| // A load job may has several load tasks, so the map key is load task's plan load id. | ||
| protected Map<TUniqueId, AtomicLong> numLoadedRows = Maps.newConcurrentMap(); |
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 think it's better to make RuntimeStatics, not only numLoadedRows.
And it name should be xxxMap.
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.
Changed
f8aea28 to
44ba543
Compare
imay
left a comment
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
Add a new column 'JobDetails' to show more info of a load job.
Loaded rows will be updated periodically by query report. So that
user can see that a load job is still running or being blocked.
eg: