fix deserialization bug because of uninitialized Decimal256#9967
Conversation
Signed-off-by: guo-shaoge <shaoge1994@163.com>
3b9c4da to
160da56
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: windtalker, yibin87 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 #9966
Problem Summary:
ColumnDecimal::deserializeAndInsertFromArena():
datais a PaddedPODArray, which means it will not call constructor when you resize new element.So the argument passed into
deserializeDecimal256Helperis not inited, but the current implementation ofdeserializeDecimal256Helperassume it's inited, which may cause thenegate()function didn't work as expected.What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note