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
import into: redact sensitive info & check active job before create #44674
Conversation
/retest |
2 similar comments
/retest |
/retest |
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
/hold |
// todo: we don't need to do it here, remove it. | ||
if err2 := e.controller.InitDataFiles(ctx); err2 != nil { | ||
return err2 | ||
} | ||
|
||
sqlExec := e.userSctx.(sqlexec.SQLExecutor) | ||
if err2 := e.controller.CheckRequirements(ctx, sqlExec); err2 != nil { | ||
// must use a new session to pre-check, else the stmt in show processlist will be changed. |
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.
maybe ExecuteInternal
will not change show processlist
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.
we're using it already
sql := fmt.Sprintf("SELECT 1 FROM %s USE INDEX() LIMIT 1", common.UniqueTable(e.DBName, e.Table.Meta().Name.L))
rs, err := conn.ExecuteInternal(ctx, sql)
/unhold |
/hold |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bb7133, GMHDBJD, lance6716 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold |
/retest |
1 similar comment
/retest |
What problem does this PR solve?
Issue Number: ref #42930
Problem Summary:
What is changed and how it works?
show processlist
show processlist
returns incorrect sqlCheck List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.