Skip to content

Commit f0b1ed3

Browse files
Support pushdown to tiflash for some aggregation functions (#19845)
1 parent c6b2f32 commit f0b1ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiflash/tiflash-supported-pushdown-calculations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ TiFlash 支持部分算子的下推,支持的算子如下:
2222
* 只有在 [MPP 模式](/tiflash/use-tiflash-mpp-mode.md)下才能被下推
2323
* 支持的 Join 类型包括 Inner Join、Left Join、Semi Join、Anti Semi Join、Left Semi Join、Anti Left Semi Join
2424
* 对于上述类型,既支持带等值条件的连接,也支持不带等值条件的连接(即 Cartesian Join 或者 Null-aware Semi Join);在计算 Cartesian Join 或者 Null-aware Semi Join 时,只会使用 Broadcast 算法,而不会使用 Shuffle Hash Join 算法
25-
* [Window](/functions-and-operators/window-functions.md):当前支持下推的窗口函数包括 `ROW_NUMBER()``RANK()``DENSE_RANK()``LEAD()``LAG()``FIRST_VALUE()``LAST_VALUE()`
25+
* Window:当前支持下推的函数包括[窗口函数](/functions-and-operators/window-functions.md) `ROW_NUMBER()``RANK()``DENSE_RANK()``LEAD()``LAG()``FIRST_VALUE()``LAST_VALUE()`[聚合函数](https://docs.pingcap.com/zh/tidb/dev/aggregate-group-by-functions/) `MIN()``MAX()``AVG()``COUNT()``SUM()`
2626

2727
在 TiDB 中,算子之间会呈现树型组织结构。一个算子能下推到 TiFlash 的前提条件,是该算子的所有子算子都能下推到 TiFlash。因为大部分算子都包含有表达式计算,当且仅当一个算子所包含的所有表达式均支持下推到 TiFlash 时,该算子才有可能下推给 TiFlash。
2828

0 commit comments

Comments
 (0)