-
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
stats: fix shallow copy bugs #12691
stats: fix shallow copy bugs #12691
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12691 +/- ##
===========================================
Coverage 80.4244% 80.4244%
===========================================
Files 465 465
Lines 108600 108600
===========================================
Hits 87341 87341
Misses 14898 14898
Partials 6361 6361 |
/rebuild |
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.
There're some other places using chunk.Row.GetDatum
. Need we change these places too?
@winoros They are fine because they are not stored directly. |
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
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
/run-all-tests |
LGTM |
cherry pick to release-3.0 in PR #12817 |
cherry pick to release-3.1 in PR #12818 |
What problem does this PR solve?
We cannot just store bytes that get from chunk row, it can be rewrited by others.
What is changed and how it works?
Deep copy bytes values that need to be stored directly in stats.
Check List
Tests
Code changes
Side effects
Related changes
Release note