batch serialize/deserialize interface support handling nullmap#9825
batch serialize/deserialize interface support handling nullmap#9825ti-chi-bot[bot] merged 33 commits intopingcap:masterfrom
Conversation
Signed-off-by: guo-shaoge <shaoge1994@163.com>
Signed-off-by: guo-shaoge <shaoge1994@163.com>
300891b to
a13008f
Compare
5d11869 to
62fbbed
Compare
8d3142c to
2a48af6
Compare
| } | ||
|
|
||
| template <bool for_compare> | ||
| template <bool compare_semantics> |
There was a problem hiding this comment.
for_compare seems better? Because the caller function name is XXXForCmp
gengliqi
left a comment
There was a problem hiding this comment.
Seems countSerializeByteSizeForCmp also needs to add a nullmap because the size may be changed if it's null.
Signed-off-by: guo-shaoge <shaoge1994@163.com>
Signed-off-by: guo-shaoge <shaoge1994@163.com>
Signed-off-by: guo-shaoge <shaoge1994@163.com>
|
/retest |
2b7c8ff to
f94d6cb
Compare
Signed-off-by: guo-shaoge <shaoge1994@163.com>
d58ce32 to
5fe79b6
Compare
Signed-off-by: guo-shaoge <shaoge1994@163.com>
| } | ||
|
|
||
| template <bool has_null, bool has_collator, typename DerivedCollator> | ||
| template <bool compare_semantics, bool has_null, bool need_decode_collator, typename DerivedCollator, bool has_nullmap> |
There was a problem hiding this comment.
The function defination uses has_collator but here uses need_decode_collator
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gengliqi, xzhangxian1008 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
@guo-shaoge: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests
If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
What problem does this PR solve?
Issue Number: close #9836
Problem Summary:
#9756 support the compare semantics family of batch serialize/deserialize. But it didn't handle nullmap.
For example, for column
ColumnNullable(ColumnString), if row-i is null, a default value will be serialized.What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note