expression/aggregation: support sum_int in NewDistAggFunc#66360
Conversation
|
@gengliqi: adding LGTM is restricted to approvers and reviewers in OWNERS files. DetailsIn response to this: Instructions 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 kubernetes-sigs/prow repository. |
|
@winoros: The following test failed, say
Full PR test history. Your PR dashboard. 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feature/release-8.5-materialized-view #66360 +/- ##
==========================================================================
Coverage ? 57.0937%
==========================================================================
Files ? 1788
Lines ? 640230
Branches ? 0
==========================================================================
Hits ? 365531
Misses ? 249975
Partials ? 24724
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gengliqi, hawkingrei, windtalker 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:
|
0495643
into
pingcap:feature/release-8.5-materialized-view
What problem does this PR solve?
Issue Number: ref #66085
Problem Summary:
sum_inthas been introduced and can be pushed down, but mockstore cop execution still failed when decoding pushed-down aggregate functions becauseaggregation.NewDistAggFuncdid not handletipb.ExprType_SumInt. This blocked unit tests forsum_intpushdown.What changed and how does it work?
tipb.ExprType_SumInthandling inNewDistAggFuncto buildsumIntFunction.TestNewDistAggFuncSumIntto verify PB decoding and result correctness.make bazel_lint_changed.Check List
Tests
make failpoint-enable && (pushd pkg/expression/aggregation >/dev/null && go test -run 'Test(NewDistAggFuncSumInt|CheckAggPushDownSumInt|AggFuncSumIntToPb)$' -tags=intest,deadlock && rc=$? && popd >/dev/null && make failpoint-disable && exit $rc)Side effects
Documentation
Release note