Files
tidb/planner
tangwz f388b094df planner: add optimizer hint TOPN_TO_COP() (#19545)
* planner: add TopN_To_Cop hint.

* go fmt.

* add a method canPushToCop() to check if it is valid to push the TopN down.

* add unit test case for warning.

* gofmt.

Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-10 17:18:20 +08:00
..