Skip to content
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

*: Modify tidb/executor to implement plan recreator #26381

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
1de46ff
Modify tidb/executor to implement plan recreator
zhuo-zhi Jul 20, 2021
99fd2d7
Refine some comments
zhuo-zhi Jul 20, 2021
b2b636e
support dumping all files related to single sql
zhuo-zhi Jul 21, 2021
c1bc141
add plan recreator unit test
zhuo-zhi Jul 21, 2021
ef88000
Support cleaning outdated files
zhuo-zhi Jul 22, 2021
ffb33ae
Support generating token
zhuo-zhi Jul 26, 2021
6f72dc5
update parser to version 20210728060616
zhuo-zhi Jul 28, 2021
420ae6c
Merge branch 'master' of https://github.com/pingcap/tidb into plan_re…
zhuo-zhi Jul 28, 2021
903e99d
Merge branch 'o_master' into plan_recreator
zhuo-zhi Jul 28, 2021
6b8ade2
go mod tidy
zhuo-zhi Jul 28, 2021
009f00c
Merge branch 'o_master' into plan_recreator
zhuo-zhi Jul 28, 2021
8198f13
Merge branch 'master' into plan_recreator
zhuo-zhi Jul 28, 2021
a6b99b7
make fmt
zhuo-zhi Jul 28, 2021
673e611
Merge branch 'plan_recreator' of github.com:zhuo-zhi/tidb into plan_r…
zhuo-zhi Jul 28, 2021
5db9741
reformat code
zhuo-zhi Jul 28, 2021
8332692
reformat code
zhuo-zhi Jul 28, 2021
e9dbe3b
reformat code
zhuo-zhi Jul 28, 2021
97a927d
reformat code
zhuo-zhi Jul 28, 2021
6e0c56c
add PlanRecreatorInfo interface
zhuo-zhi Jul 30, 2021
aebf86c
Merge branch 'master' into plan_recreator
zhuo-zhi Jul 30, 2021
109fe2e
Update executor/plan_recreator.go
rebelice Aug 4, 2021
b49c4b4
Merge branch 'master' into plan_recreator
rebelice Aug 4, 2021
986fe56
clean up files when closing session
rebelice Aug 4, 2021
0d04697
Merge branch 'master' into plan_recreator
qw4990 Aug 5, 2021
b99803f
remove plan recreator from server/conn.go
rebelice Aug 9, 2021
186c6e6
Merge remote-tracking branch 'zhuo-zhi/plan_recreator' into HEAD
rebelice Aug 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion executor/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ func (b *executorBuilder) buildIndexAdvise(v *plannercore.IndexAdvise) Executor

func (b *executorBuilder) buildPlanRecreatorSingle(v *plannercore.PlanRecreatorSingle) Executor {
e := &PlanRecreatorSingleExec{
baseExecutor: newBaseExecutor(b.ctx, nil, v.ID()),
baseExecutor: newBaseExecutor(b.ctx, v.Schema(), v.ID()),
info: &PlanRecreatorSingleInfo{v.ExecStmt, v.Analyze, v.Load, v.File, b.ctx},
}
return e
Expand Down
Loading