Open xuyifangreeneyes opened 2 years ago
Besides, estRows
of TableRangeScan_8
is 1
, which is decided by the following code:
https://github.com/pingcap/tidb/blob/51a6684fb767cfd86a8312e0e6447963b927c791/planner/core/exhaust_physical_plans.go#L1018-L1023
However, TableScan as inner child of IndexJoin can return more than 1 tuple for each outer row when it uses CommonHandle(just like the above example).
Enhancement
Selection_9
is redundant becauset2.b in (10, 20)
is already used to build ranges.