-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
executor, util: rename original List to ListInMemory and add a new interface List #13353
Conversation
util/chunk/list.go
Outdated
func NewList(fieldTypes []*types.FieldType, initChunkSize, maxChunkSize int) *List { | ||
l := &List{ | ||
// NewList creates a new ListInMemory with field types, init chunk size and max chunk size. | ||
func NewList(fieldTypes []*types.FieldType, initChunkSize, maxChunkSize int) *ListInMemory { |
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.
NewListInMemory?
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.
ok
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
Codecov Report
@@ Coverage Diff @@
## master #13353 +/- ##
===========================================
Coverage 80.2193% 80.2193%
===========================================
Files 469 469
Lines 112610 112610
===========================================
Hits 90335 90335
Misses 15295 15295
Partials 6980 6980 |
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
Your auto merge job has been accepted, waiting for 13330 |
/merge |
Your auto merge job has been accepted, waiting for 13330 |
/run-all-tests |
@fzhedu merge failed. |
/run-all-tests |
…a new interface List (pingcap#13353)" (pingcap#13363) This reverts commit 2b5f81a.
What problem does this PR solve?
Add a new interface to refactor code in #12882
What is changed and how it works?
Rename original
List
toListInMemory
and add a new interfaceList
Check List
Tests
Code changes
Side effects
N/A
Related changes
N/A
Release note
N/A