1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
---
source: src/client/src/tests/mod.rs
expression: displayable.tree_render().to_string()
---
┌───────────────────────────┐
│ SortPreservingMergeExec │
│ -------------------- │
│ numwait DESC, s_name ASC │
│ NULLS LAST │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│ SortExec │
│ -------------------- │
│ numwait@1 DESC, s_name@0 │
│ ASC NULLS LAST │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│ ProjectionExec │
│ -------------------- │
│ numwait: │
│ count(Int64(1)) │
│ │
│ s_name: s_name │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│ AggregateExec │
│ -------------------- │
│ aggr: count(1) │
│ group_by: s_name │
│ │
│ mode: │
│ FinalPartitioned │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│ CoalesceBatchesExec │
│ -------------------- │
│ target_batch_size: │
│ 16384 │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│ RepartitionExec │
│ -------------------- │
│ partition_count(in->out): │
│ 8 -> 8 │
│ │
│ partitioning_scheme: │
│ Hash([s_name@0], 8) │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│ AggregateExec │
│ -------------------- │
│ aggr: count(1) │
│ group_by: s_name │
│ mode: Partial │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│ CoalesceBatchesExec │
│ -------------------- │
│ target_batch_size: │
│ 16384 │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│ HashJoinExec │
│ -------------------- │
│ filter: │
│ l_suppkey != l_suppkey │
│ ├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ join_type: LeftAnti │ │
│ │ │
│ on: │ │
│ (l_orderkey = l_orderkey) │ │
└─────────────┬─────────────┘ │
┌─────────────┴─────────────┐ ┌─────────────┴─────────────┐
│ CoalesceBatchesExec │ │ LiquidCacheClientExec │
│ -------------------- │ │ -------------------- │
│ target_batch_size: │ │ server: │
│ 16384 │ │ http://localhost:50051, │
│ │ │ object_stores=[] │
└─────────────┬─────────────┘ └─────────────┬─────────────┘
┌─────────────┴─────────────┐ ┌─────────────┴─────────────┐
│ HashJoinExec │ │ RepartitionExec │
│ -------------------- │ │ -------------------- │
│ filter: │ │ partition_count(in->out): │
│ l_suppkey != l_suppkey │ │ 1 -> 8 │
│ ├─────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ │
│ join_type: LeftSemi │ │ │ partitioning_scheme: │
│ │ │ │ RoundRobinBatch(8) │
│ on: │ │ │ │
│ (l_orderkey = l_orderkey) │ │ │ │
└─────────────┬─────────────┘ │ └─────────────┬─────────────┘
┌─────────────┴─────────────┐ ┌─────────────┴─────────────┐┌─────────────┴─────────────┐
│ CoalescePartitionsExec │ │ LiquidCacheClientExec ││ DataSourceExec │
│ │ │ -------------------- ││ -------------------- │
│ │ │ server: ││ files: 1 │
│ │ │ http://localhost:50051, ││ format: parquet │
│ │ │ object_stores=[] ││ │
│ │ │ ││ predicate: │
│ │ │ ││ l_receiptdate > │
│ │ │ ││ l_commitdate │
└─────────────┬─────────────┘ └─────────────┬─────────────┘└───────────────────────────┘
┌─────────────┴─────────────┐ ┌─────────────┴─────────────┐
│ CoalesceBatchesExec │ │ DataSourceExec │
│ -------------------- │ │ -------------------- │
│ target_batch_size: │ │ files: 1 │
│ 16384 │ │ format: parquet │
└─────────────┬─────────────┘ └───────────────────────────┘
┌─────────────┴─────────────┐
│ HashJoinExec │
│ -------------------- │
│ on: ├──────────────┐
│(n_nationkey = s_nationkey)│ │
└─────────────┬─────────────┘ │
┌─────────────┴─────────────┐┌─────────────┴─────────────┐
│ LiquidCacheClientExec ││ CoalesceBatchesExec │
│ -------------------- ││ -------------------- │
│ server: ││ target_batch_size: │
│ http://localhost:50051, ││ 16384 │
│ object_stores=[] ││ │
└─────────────┬─────────────┘└─────────────┬─────────────┘
┌─────────────┴─────────────┐┌─────────────┴─────────────┐
│ DataSourceExec ││ HashJoinExec │
│ -------------------- ││ -------------------- │
│ files: 1 ││ on: │
│ format: parquet ││ (o_orderkey = l_orderkey) ├──────────────┐
│ ││ │ │
│ predicate: ││ │ │
│ n_name = SAUDI ARABIA ││ │ │
└───────────────────────────┘└─────────────┬─────────────┘ │
┌─────────────┴─────────────┐┌─────────────┴─────────────┐
│ LiquidCacheClientExec ││ CoalesceBatchesExec │
│ -------------------- ││ -------------------- │
│ server: ││ target_batch_size: │
│ http://localhost:50051, ││ 16384 │
│ object_stores=[] ││ │
└─────────────┬─────────────┘└─────────────┬─────────────┘
┌─────────────┴─────────────┐┌─────────────┴─────────────┐
│ DataSourceExec ││ HashJoinExec │
│ -------------------- ││ -------------------- │
│ files: 1 ││ on: │
│ format: parquet ││ (s_suppkey = l_suppkey) ├──────────────┐
│ ││ │ │
│ predicate: ││ │ │
│ o_orderstatus = F ││ │ │
└───────────────────────────┘└─────────────┬─────────────┘ │
┌─────────────┴─────────────┐┌─────────────┴─────────────┐
│ LiquidCacheClientExec ││ LiquidCacheClientExec │
│ -------------------- ││ -------------------- │
│ server: ││ server: │
│ http://localhost:50051, ││ http://localhost:50051, │
│ object_stores=[] ││ object_stores=[] │
└─────────────┬─────────────┘└─────────────┬─────────────┘
┌─────────────┴─────────────┐┌─────────────┴─────────────┐
│ DataSourceExec ││ RepartitionExec │
│ -------------------- ││ -------------------- │
│ files: 1 ││ partition_count(in->out): │
│ format: parquet ││ 1 -> 8 │
│ predicate: true ││ │
│ ││ partitioning_scheme: │
│ ││ RoundRobinBatch(8) │
└───────────────────────────┘└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│ DataSourceExec │
│ -------------------- │
│ files: 1 │
│ format: parquet │
│ │
│ predicate: │
│ l_receiptdate > │
│ l_commitdate │
│ AND true AND true │
└───────────────────────────┘