入口函数

第一个算子是 PhysicalOperatorType::RESULT_COLLECTOR

CleanShot 2025-01-17 at 09.31.48.png

五种 event 存入 base_stack

CleanShot 2025-01-17 at 09.08.20.png

base_stack 中的 event 之间依赖关系

// dependencies: initialize -> event -> prepare finish -> finish -> complete

CleanShot 2025-01-17 at 09.10.16.png

CleanShot 2025-01-17 at 09.11.39.png

CleanShot 2025-01-17 at 09.06.52.png

以此类推// dependencies: initialize -> event -> prepare finish -> finish -> complete

event_map 的构建

CleanShot 2025-01-17 at 09.18.13.png

CleanShot 2025-01-17 at 09.17.24.png

调度的入口

while 循环一直看有没有 result 能收集

CleanShot 2025-01-17 at 16.32.36.png

一个event Finish 的动作