-
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
*: rename Arrow to Chunk #13060
*: rename Arrow to Chunk #13060
Conversation
2c3a68c
to
23ca212
Compare
Codecov Report
@@ Coverage Diff @@
## master #13060 +/- ##
================================================
- Coverage 80.2132% 80.1046% -0.1086%
================================================
Files 469 468 -1
Lines 111534 110840 -694
================================================
- Hits 89465 88788 -677
- Misses 15163 15197 +34
+ Partials 6906 6855 -51 |
/run-all-tests |
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
PTAL @zz-jason |
4aaafaa
to
2a33082
Compare
2a33082
to
0814dfe
Compare
/run-all-tests |
config/config.toml.example
Outdated
# Enable chunk encoded data. | ||
enable-arrow = true | ||
# Enable chunk encoded data for coprocessor requests. | ||
enable-chunk-response = true |
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.
how about s/enable-chunk-response/enable-chunk-rpc/?
distsql/distsql.go
Outdated
} else { | ||
dagReq.EncodeType = tipb.EncodeType_TypeDefault | ||
} | ||
} | ||
|
||
func enableTypeArrow(ctx sessionctx.Context) bool { | ||
if !ctx.GetSessionVars().EnableArrow { | ||
func enableTypeChunk(ctx sessionctx.Context) bool { |
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.
how about s/enableTypeChunk/canUseChunkRPC/
sessionctx/variable/tidb_vars.go
Outdated
// tidb_enable_arrow enables TiDB to use Chunk format for coprocessor requests. | ||
TiDBEnableArrow = "tidb_enable_arrow" | ||
// tidb_enable_chunk_response enables TiDB to use Chunk format for coprocessor requests. | ||
TiDBEnableChunkResponse = "tidb_enable_chunk_response" |
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.
ditto
Signed-off-by: wshwsh12 <793703860@qq.com>
Signed-off-by: wshwsh12 <793703860@qq.com>
Signed-off-by: wshwsh12 <793703860@qq.com>
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 13169 |
/run-all-tests |
What problem does this PR solve?
In tidb, use
arrow
instead ofchunk
in some places. This can be misleading.What is changed and how it works?
In this pr, I change all
arrow
tochunk
.Check List
Tests
Code changes
Side effects
Related changes
Release note
Related PR
pingcap/tipb#151