pingcap/tidb

Partial2Mode is not necessary in hash aggregation

Open

#15.271 aperta il 10 mar 2020

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Go (6186 fork)batch import
help wantedsig/executiontype/enhancementtype/performance

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

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:

Guida contributor