Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the tree structure of the plan clearer. Sample output: Query Plan --------------------------------------------------------------------------------------------------------- Output[_col0] │ Layout: [count:bigint] │ Estimates: {rows: ? (?), cpu: ?, memory: ?, network: ?} │ _col0 := count └─ Aggregate(FINAL) │ Layout: [count:bigint] │ Estimates: {rows: ? (?), cpu: ?, memory: ?, network: ?} │ count := "count"("count_9") └─ LocalExchange[SINGLE] () │ Layout: [count_9:bigint] │ Estimates: {rows: ? (?), cpu: ?, memory: ?, network: ?} └─ RemoteExchange[GATHER] │ Layout: [count_9:bigint] │ Estimates: {rows: ? (?), cpu: ?, memory: ?, network: ?} └─ Aggregate(PARTIAL) │ Layout: [count_9:bigint] │ count_9 := "count"(*) └─ InnerJoin[("orderkey" = "orderkey_0")] │ Layout: [] │ Estimates: {rows: 60175 (0B), cpu: 2.32M, memory: 528.88kB, network: 528.88kB} │ Distribution: PARTITIONED ├─ TableScan[tpch:orders:sf0.01] │ Layout: [orderkey:bigint] │ Estimates: {rows: 15000 (131.84kB), cpu: 131.84k, memory: 0B, network: 0B} │ orderkey := tpch:orderkey │ tpch:orderstatus │ :: [[F], [O], [P]] └─ LocalExchange[HASH] ("orderkey_0") │ Layout: [orderkey_0:bigint] │ Estimates: {rows: 60175 (528.88kB), cpu: 1.55M, memory: 0B, network: 528.88kB} └─ RemoteExchange[REPARTITION] │ Layout: [orderkey_0:bigint] │ Estimates: {rows: 60175 (528.88kB), cpu: 1.03M, memory: 0B, network: 528.88kB} └─ TableScan[tpch:lineitem:sf0.01] Layout: [orderkey_0:bigint] Estimates: {rows: 60175 (528.88kB), cpu: 528.88k, memory: 0B, network: 0B} orderkey_0 := tpch:orderkey
- Loading branch information