You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tk.MustQuery("explain select count(distinct tai1.aid) as cb from tai1 inner join tai2 on tai1.rid = tai2.rid where lower(prilan) LIKE LOWER('%python%');").Check(
tk.MustQuery("select count(distinct tai1.aid) as cb from tai1 inner join tai2 on tai1.rid = tai2.rid where lower(prilan) LIKE LOWER('%python%');").Check(
@@ -2942,6 +2944,15 @@ func (la *LogicalAggregation) tryToGetMppHashAggs(prop *property.PhysicalPropert
2942
2944
return
2943
2945
}
2944
2946
2947
+
// getHashAggs will generate some kinds of taskType here, which finally converted to different task plan.
2948
+
// when deciding whether to add a kind of taskType, there is a rule here. [Not is Not, Yes is not Sure]
2949
+
// eg: which means
2950
+
//
2951
+
// 1: when you find something here that block hashAgg to be pushed down to XXX, just skip adding the XXXTaskType.
2952
+
// 2: when you find nothing here to block hashAgg to be pushed down to XXX, just add the XXXTaskType here.
2953
+
// for 2, the final result for this physical operator enumeration is chosen or rejected is according to more factors later (hint/variable/partition/virtual-col/cost)
2954
+
//
2955
+
// That is to say, the non-complete positive judgement of canPushDownToMPP/canPushDownToTiFlash/canPushDownToTiKV is not that for sure here.
0 commit comments