Repository navigation
[refator]move all state type variables to arg.ctr in Operator - #16951
Conversation
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍
|
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
87745b7 to
4ebc7ca
Compare
…origin#16951) There are many variables in the operator that can be changed every time they are executed. These variables need to be moved to specific places and cannot be placed outside, nor should they be capitalized Approved by: @ouyuanning, @m-schen
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue ##16725
What this PR does / why we need it:
There are many variables in the operator that can be changed every time they are executed.
These variables need to be moved to specific places and cannot be placed outside, nor should they be capitalized
PR Type
Enhancement, Tests
Description
arg.ctr.arg.ctr.WithCtrParamsandWithCtrConfigs.arg.ctr.Changes walkthrough 📝
14 files
join.go
Refactor state variables to `arg.ctr` in left joinpkg/sql/colexec/left/join.go
arg.ctrinCalland related functions.arg.ctr.generate_series.go
Refactor generate series state variables to `arg.ctr`pkg/sql/colexec/table_function/generate_series.go
generateSeriesstate variables toarg.ctr.arg.ctrfor state management.join.go
Refactor state variables to `arg.ctr` in right joinpkg/sql/colexec/right/join.go
arg.ctrinCalland related functions.arg.ctr.join.go
Refactor state variables to `arg.ctr` in anti joinpkg/sql/colexec/anti/join.go
arg.ctrinCalland related functions.arg.ctr.deletion.go
Refactor deletion state variables to `arg.ctr`pkg/sql/colexec/deletion/deletion.go
sourceandpartitionSourcestoarg.ctr.arg.ctr.lock_op.go
Refactor lock operation state variables to `arg.ctr`pkg/sql/colexec/lockop/lock_op.go
arg.ctr.arg.ctr.join.go
Refactor state variables to `arg.ctr` in joinpkg/sql/colexec/join/join.go
arg.ctrinCalland related functions.arg.ctr.operator.go
Update operator functions to use `WithCtrParams` and `WithCtrConfigs`pkg/sql/compile/operator.go
WithCtrParamsandWithCtrConfigs.join.go
Refactor state variables to `arg.ctr` in loop anti joinpkg/sql/colexec/loopanti/join.go
arg.ctrinCalland related functions.arg.ctr.join.go
Refactor state variables to `arg.ctr` in right anti joinpkg/sql/colexec/rightanti/join.go
arg.ctrinCalland related functions.arg.ctr.join.go
Refactor state variables to `arg.ctr` in right semi joinpkg/sql/colexec/rightsemi/join.go
arg.ctrinCalland related functions.arg.ctr.join.go
Refactor state variables to `arg.ctr` in loop semi joinpkg/sql/colexec/loopsemi/join.go
arg.ctrinCalland related functions.arg.ctr.table_scan.go
Refactor table scan state variables to `arg.ctr`pkg/sql/colexec/table_scan/table_scan.go
OrderByandmsgReceivertoarg.ctr.arg.ctr.preinsert.go
Refactor pre-insert state variables to `arg.ctr`pkg/sql/colexec/preinsert/preinsert.go
arg.ctr.arg.ctr.1 files
lock_op_test.go
Refactor lock operation tests to use `arg.ctr`pkg/sql/colexec/lockop/lock_op_test.go
arg.ctrfor state variables.structure.