pingcap/tidb

Partial2Mode is not necessary in hash aggregation

Open

#15,271 opened on Mar 10, 2020

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Go (40,090 stars) (6,186 forks)batch import
help wantedsig/executiontype/enhancementtype/performance

Description

Feature Request

Is your feature request related to a problem? Please describe:

hash aggregation with Coprocessor fetches partial results from storage and runs

  1. Partial2Mode, partial results --> partial results
  2. FinalMode, partial results --> final results

It seems that Partial2Mode is a redundant run, we can remove it for better code and performance.

Describe the feature you'd like:

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Contributor guide