Open SeaRise opened 8 months ago
/sig planner
old code logic as said here by @Fangzhuhe
tidb> explain select sum(c9) from c_t2;
+--------------------------------+----------+--------------+---------------+----------------------------------------------+
| id | estRows | task | access object | operator info |
+--------------------------------+----------+--------------+---------------+----------------------------------------------+
| HashAgg_22 | 1.00 | root | | funcs:sum(Column#13)->Column#11 |
| └─TableReader_24 | 1.00 | root | | MppVersion: 2, data:ExchangeSender_23 |
| └─ExchangeSender_23 | 1.00 | mpp[tiflash] | | ExchangeType: PassThrough |
| └─HashAgg_9 | 1.00 | mpp[tiflash] | | funcs:sum(Column#16)->Column#13 |
| └─Projection_38 | 10000.00 | mpp[tiflash] | | cast(test.c_t2.c9, double BINARY)->Column#16 |
| └─TableFullScan_21 | 10000.00 | mpp[tiflash] | table:c_t2 | keep order:false, stats:pseudo |
+--------------------------------+----------+--------------+---------------+----------------------------------------------+
6 rows in set (0.00 sec)
Other case is the same, so I want to ask that the support of scalar agg in MPP mode is already done? if so we can lift it here. @SeaRise
ok, maybe it is a feature request instead of a bug...
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
final mode
group_concat
push down tiflash3. What did you see instead (Required)
4. What is your TiDB version? (Required)
Git Commit Hash: 7ba2330394bcfa1dcd321293c2656604c3a664ab