pingcap/tidb

push avg & distinct functions across join when tidb_opt_agg_push_down is set

Open

#16.355 geöffnet am 14. Apr. 2020

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Go (6.186 Forks)batch import
feature/acceptedhelp wantedsig/plannertype/feature-request

Repository-Metriken

Stars
 (40.090 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14T 4h) (346 gemergte PRs in 30 T)

Beschreibung

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. What did you do?

When tidb_opt_agg_push_down is on, currently it does not support pushing avg function and distinct functions across Join.

After https://github.com/pingcap/tidb/pull/16344, it supports pushing those across Union, we should make it happen w/ Join, too.

2. What did you expect to see?

3. What did you see instead?

4. What version of TiDB are you using? (tidb-server -V or run select tidb_version(); on TiDB)

e90aac271

Contributor Guide