Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add explicit table info to the scan node of query plan and pipeline
:) explain plan select * from table1 t1 left join table2 t2 on t1.name = t2.name; ┌─explain──────────────────────────────────────────────────────────────────────────────────────┐ │ Expression ((Projection + Before ORDER BY)) │ │ Join (JOIN) │ │ Expression (Before JOIN) │ │ SettingQuotaAndLimits (Set limits and quota after reading from storage) │ │ ReadFromMergeTree (default.table1) │ │ Expression ((Joined actions + (Rename joined columns + (Projection + Before ORDER BY)))) │ │ SettingQuotaAndLimits (Set limits and quota after reading from storage) │ │ ReadFromMergeTree (default.table2) │ └──────────────────────────────────────────────────────────────────────────────────────────────┘ :) explain pipeline select * from table1 t1 left join table2 t2 on t1.name = t2.name; ┌─explain──────────────────────────────────────────┐ │ (Expression) │ │ ExpressionTransform × 24 │ │ (Join) │ │ JoiningTransform × 24 2 → 1 │ │ Resize 1 → 24 │ │ FillingRightJoinSide │ │ Resize 24 → 1 │ │ (Expression) │ │ ExpressionTransform × 24 │ │ (SettingQuotaAndLimits) │ │ (ReadFromMergeTree default.table1) │ │ MergeTreeThread × 24 0 → 1 │ │ (Expression) │ │ ExpressionTransform × 24 │ │ (SettingQuotaAndLimits) │ │ (ReadFromMergeTree default.table2) │ │ MergeTreeThread × 24 0 → 1 │ └──────────────────────────────────────────────────┘
- Loading branch information