Skip to content

Commit a00b55a

Browse files
authored
chore(query): ignore assert const in memo logical test (#18950)
chore(query): ignore const in memo logical test
1 parent d11e97f commit a00b55a

File tree

3 files changed

+161
-161
lines changed

3 files changed

+161
-161
lines changed

tests/sqllogictests/suites/mode/cluster/memo/aggregate_property.test

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -29,56 +29,56 @@ Memo
2929
├── estimated memory: 10.69 KiB
3030
├── Group #0
3131
│ ├── Best properties
32-
│ │ ├── { dist: Any }: expr: #0, cost: 1000.000, children: []
33-
│ │ └── { dist: Hash(t_1000.a (#2)::Int32 NULL) }: expr: #1, cost: 52000.000, children: [{ dist: Any }]
32+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: []
33+
│ │ └── { dist: Hash(t_1000.a (#2)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
3434
│ ├── #0 Scan []
3535
│ └── #1 Exchange: (Hash(t_1000.a (#2)::Int32 NULL)) [#0]
3636
├── Group #1
3737
│ ├── Best properties
38-
│ │ ├── { dist: Any }: expr: #0, cost: 100.000, children: []
39-
│ │ └── { dist: Hash(t_100.a (#1)::Int32 NULL) }: expr: #1, cost: 5200.000, children: [{ dist: Any }]
38+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: []
39+
│ │ └── { dist: Hash(t_100.a (#1)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
4040
│ ├── #0 Scan []
4141
│ └── #1 Exchange: (Hash(t_100.a (#1)::Int32 NULL)) [#1]
4242
├── Group #2
4343
│ ├── Best properties
44-
│ │ ├── { dist: Any }: expr: #0, cost: 10.000, children: []
45-
│ │ ├── { dist: Broadcast }: expr: #1, cost: 1010.000, children: [{ dist: Any }]
46-
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #2, cost: 520.000, children: [{ dist: Any }]
44+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: []
45+
│ │ ├── { dist: Broadcast }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
46+
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #2, cost: <slt:ignore>, children: [{ dist: Any }]
4747
│ ├── #0 Scan []
4848
│ ├── #1 Exchange: (Broadcast) [#2]
4949
│ └── #2 Exchange: (Hash(t_10.a (#0)::Int32 NULL)) [#2]
5050
├── Group #3
5151
│ ├── Best properties
52-
│ │ ├── { dist: Any }: expr: #0, cost: 1310.000, children: [{ dist: Any }, { dist: Broadcast }]
53-
│ │ ├── { dist: Broadcast }: expr: #1, cost: 2310.000, children: [{ dist: Any }]
54-
│ │ ├── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #2, cost: 1820.000, children: [{ dist: Any }]
55-
│ │ └── { dist: Hash(t_100.a (#1)::Int32 NULL) }: expr: #0, cost: 6410.000, children: [{ dist: Hash(t_100.a (#1)::Int32 NULL) }, { dist: Hash(t_10.a (#0)::Int32 NULL) }]
52+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }, { dist: Broadcast }]
53+
│ │ ├── { dist: Broadcast }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
54+
│ │ ├── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #2, cost: <slt:ignore>, children: [{ dist: Any }]
55+
│ │ └── { dist: Hash(t_100.a (#1)::Int32 NULL) }: expr: #0, cost: <slt:ignore>, children: [{ dist: Hash(t_100.a (#1)::Int32 NULL) }, { dist: Hash(t_10.a (#0)::Int32 NULL) }]
5656
│ ├── #0 Join [#1, #2]
5757
│ ├── #1 Exchange: (Broadcast) [#3]
5858
│ ├── #2 Exchange: (Hash(t_10.a (#0)::Int32 NULL)) [#3]
5959
│ └── #3 Exchange: (Hash(t_100.a (#1)::Int32 NULL)) [#3]
6060
├── Group #4
6161
│ ├── Best properties
62-
│ │ └── { dist: Any }: expr: #0, cost: 4410.000, children: [{ dist: Any }, { dist: Broadcast }]
62+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }, { dist: Broadcast }]
6363
│ └── #0 Join [#0, #3]
6464
├── Group #5
6565
│ ├── Best properties
66-
│ │ ├── { dist: Any }: expr: #0, cost: 4420.000, children: [{ dist: Any }]
67-
│ │ └── { dist: Serial }: expr: #1, cost: 7920.000, children: [{ dist: Any }]
66+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
67+
│ │ └── { dist: Serial }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
6868
│ ├── #0 EvalScalar [#4]
6969
│ └── #1 Exchange: (Merge) [#5]
7070
├── Group #6
7171
│ ├── Best properties
72-
│ │ └── { dist: Serial }: expr: #0, cost: 7970.000, children: [{ dist: Serial }]
72+
│ │ └── { dist: Serial }: expr: #0, cost: <slt:ignore>, children: [{ dist: Serial }]
7373
│ ├── #0 Aggregate [#5]
7474
│ └── #1 Exchange: (Merge) [#6]
7575
├── Group #7
7676
│ ├── Best properties
77-
│ │ └── { dist: Any }: expr: #0, cost: 7975.000, children: [{ dist: Serial }]
77+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Serial }]
7878
│ └── #0 Aggregate [#6]
7979
└── Group #8
8080
├── Best properties
81-
│ └── { dist: Serial }: expr: #0, cost: 7976.000, children: [{ dist: Any }]
81+
│ └── { dist: Serial }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
8282
└── #0 EvalScalar [#7]
8383

8484
query T
@@ -92,140 +92,140 @@ Memo
9292
├── estimated memory: 26.72 KiB
9393
├── Group #0
9494
│ ├── Best properties
95-
│ │ ├── { dist: Any }: expr: #0, cost: 1000.000, children: []
96-
│ │ └── { dist: Hash(t_1000.a (#2)::Int32 NULL) }: expr: #1, cost: 52000.000, children: [{ dist: Any }]
95+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: []
96+
│ │ └── { dist: Hash(t_1000.a (#2)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
9797
│ ├── #0 Scan []
9898
│ └── #1 Exchange: (Hash(t_1000.a (#2)::Int32 NULL)) [#0]
9999
├── Group #1
100100
│ ├── Best properties
101-
│ │ ├── { dist: Any }: expr: #0, cost: 100.000, children: []
102-
│ │ └── { dist: Hash(t_100.a (#1)::Int32 NULL) }: expr: #1, cost: 5200.000, children: [{ dist: Any }]
101+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: []
102+
│ │ └── { dist: Hash(t_100.a (#1)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
103103
│ ├── #0 Scan []
104104
│ └── #1 Exchange: (Hash(t_100.a (#1)::Int32 NULL)) [#1]
105105
├── Group #2
106106
│ ├── Best properties
107-
│ │ ├── { dist: Any }: expr: #0, cost: 10.000, children: []
108-
│ │ ├── { dist: Broadcast }: expr: #1, cost: 1010.000, children: [{ dist: Any }]
109-
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #2, cost: 520.000, children: [{ dist: Any }]
107+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: []
108+
│ │ ├── { dist: Broadcast }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
109+
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #2, cost: <slt:ignore>, children: [{ dist: Any }]
110110
│ ├── #0 Scan []
111111
│ ├── #1 Exchange: (Broadcast) [#2]
112112
│ └── #2 Exchange: (Hash(t_10.a (#0)::Int32 NULL)) [#2]
113113
├── Group #3
114114
│ ├── Best properties
115-
│ │ ├── { dist: Any }: expr: #0, cost: 1310.000, children: [{ dist: Any }, { dist: Broadcast }]
116-
│ │ ├── { dist: Broadcast }: expr: #1, cost: 2310.000, children: [{ dist: Any }]
117-
│ │ ├── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #2, cost: 1820.000, children: [{ dist: Any }]
118-
│ │ └── { dist: Hash(t_100.a (#1)::Int32 NULL) }: expr: #0, cost: 5920.000, children: [{ dist: Hash(t_100.a (#1)::Int32 NULL) }, { dist: Hash(t_10.a (#0)::Int32 NULL) }]
115+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }, { dist: Broadcast }]
116+
│ │ ├── { dist: Broadcast }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
117+
│ │ ├── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #2, cost: <slt:ignore>, children: [{ dist: Any }]
118+
│ │ └── { dist: Hash(t_100.a (#1)::Int32 NULL) }: expr: #0, cost: <slt:ignore>, children: [{ dist: Hash(t_100.a (#1)::Int32 NULL) }, { dist: Hash(t_10.a (#0)::Int32 NULL) }]
119119
│ ├── #0 Join [#1, #2]
120120
│ ├── #1 Exchange: (Broadcast) [#3]
121121
│ ├── #2 Exchange: (Hash(t_10.a (#0)::Int32 NULL)) [#3]
122122
│ └── #3 Exchange: (Hash(t_100.a (#1)::Int32 NULL)) [#3]
123123
├── Group #4
124124
│ ├── Best properties
125-
│ │ └── { dist: Any }: expr: #0, cost: 4410.000, children: [{ dist: Any }, { dist: Broadcast }]
125+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }, { dist: Broadcast }]
126126
│ └── #0 Join [#0, #3]
127127
├── Group #5
128128
│ ├── Best properties
129-
│ │ ├── { dist: Any }: expr: #0, cost: 4420.000, children: [{ dist: Any }]
130-
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #1, cost: 4930.000, children: [{ dist: Any }]
129+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
130+
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
131131
│ ├── #0 EvalScalar [#4]
132132
│ └── #1 Exchange: (Hash(t_10.a (#0)::Int32 NULL)) [#5]
133133
├── Group #6
134134
│ ├── Best properties
135-
│ │ └── { dist: Any }: expr: #0, cost: 4980.000, children: [{ dist: Hash(t_10.a (#0)::Int32 NULL) }]
135+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Hash(t_10.a (#0)::Int32 NULL) }]
136136
│ └── #0 Aggregate [#5]
137137
├── Group #7
138138
│ ├── Best properties
139-
│ │ └── { dist: Any }: expr: #0, cost: 5030.000, children: [{ dist: Any }]
139+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
140140
│ └── #0 Aggregate [#6]
141141
├── Group #8
142142
│ ├── Best properties
143-
│ │ ├── { dist: Any }: expr: #0, cost: 5040.000, children: [{ dist: Any }]
144-
│ │ └── { dist: Serial }: expr: #4, cost: 8540.000, children: [{ dist: Any }]
143+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
144+
│ │ └── { dist: Serial }: expr: #4, cost: <slt:ignore>, children: [{ dist: Any }]
145145
│ ├── #0 EvalScalar [#7]
146146
│ ├── #1 EvalScalar [#14]
147147
│ ├── #2 EvalScalar [#20]
148148
│ ├── #3 EvalScalar [#24]
149149
│ └── #4 Exchange: (Merge) [#8]
150150
├── Group #9
151151
│ ├── Best properties
152-
│ │ ├── { dist: Any }: expr: #0, cost: 2000.000, children: [{ dist: Any }]
153-
│ │ └── { dist: Hash(t_1000.a (#2)::Int32 NULL) }: expr: #1, cost: 53000.000, children: [{ dist: Any }]
152+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
153+
│ │ └── { dist: Hash(t_1000.a (#2)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
154154
│ ├── #0 EvalScalar [#0]
155155
│ └── #1 Exchange: (Hash(t_1000.a (#2)::Int32 NULL)) [#9]
156156
├── Group #10
157157
│ ├── Best properties
158-
│ │ └── { dist: Any }: expr: #0, cost: 58000.000, children: [{ dist: Hash(t_1000.a (#2)::Int32 NULL) }]
158+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Hash(t_1000.a (#2)::Int32 NULL) }]
159159
│ └── #0 Aggregate [#9]
160160
├── Group #11
161161
│ ├── Best properties
162-
│ │ ├── { dist: Any }: expr: #0, cost: 62805.000, children: [{ dist: Any }]
163-
│ │ └── { dist: Hash(t_1000.a (#2)::Int32 NULL) }: expr: #1, cost: 111816.000, children: [{ dist: Any }]
162+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
163+
│ │ └── { dist: Hash(t_1000.a (#2)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
164164
│ ├── #0 Aggregate [#10]
165165
│ └── #1 Exchange: (Hash(t_1000.a (#2)::Int32 NULL)) [#11]
166166
├── Group #12
167167
│ ├── Best properties
168-
│ │ ├── { dist: Any }: expr: #0, cost: 66176.000, children: [{ dist: Any }, { dist: Broadcast }]
169-
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #1, cost: 66686.000, children: [{ dist: Any }]
168+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }, { dist: Broadcast }]
169+
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
170170
│ ├── #0 Join [#11, #3]
171171
│ └── #1 Exchange: (Hash(t_10.a (#0)::Int32 NULL)) [#12]
172172
├── Group #13
173173
│ ├── Best properties
174-
│ │ └── { dist: Any }: expr: #0, cost: 66736.000, children: [{ dist: Hash(t_10.a (#0)::Int32 NULL) }]
174+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Hash(t_10.a (#0)::Int32 NULL) }]
175175
│ └── #0 Aggregate [#12]
176176
├── Group #14
177177
│ ├── Best properties
178-
│ │ └── { dist: Any }: expr: #0, cost: 66786.000, children: [{ dist: Any }]
178+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
179179
│ └── #0 Aggregate [#13]
180180
├── Group #15
181181
│ ├── Best properties
182-
│ │ └── { dist: Any }: expr: #0, cost: 1870.000, children: [{ dist: Hash(t_10.a (#0)::Int32 NULL) }]
182+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Hash(t_10.a (#0)::Int32 NULL) }]
183183
│ └── #0 Aggregate [#3]
184184
├── Group #16
185185
│ ├── Best properties
186-
│ │ ├── { dist: Any }: expr: #0, cost: 1920.000, children: [{ dist: Any }]
187-
│ │ ├── { dist: Broadcast }: expr: #3, cost: 2920.000, children: [{ dist: Any }]
188-
│ │ ├── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #1, cost: 2430.000, children: [{ dist: Any }]
189-
│ │ └── { dist: Hash(t_100.a (#1)::Int32 NULL) }: expr: #2, cost: 2430.000, children: [{ dist: Any }]
186+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
187+
│ │ ├── { dist: Broadcast }: expr: #3, cost: <slt:ignore>, children: [{ dist: Any }]
188+
│ │ ├── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
189+
│ │ └── { dist: Hash(t_100.a (#1)::Int32 NULL) }: expr: #2, cost: <slt:ignore>, children: [{ dist: Any }]
190190
│ ├── #0 Aggregate [#15]
191191
│ ├── #1 Exchange: (Hash(t_10.a (#0)::Int32 NULL)) [#16]
192192
│ ├── #2 Exchange: (Hash(t_100.a (#1)::Int32 NULL)) [#16]
193193
│ └── #3 Exchange: (Broadcast) [#16]
194194
├── Group #17
195195
│ ├── Best properties
196-
│ │ └── { dist: Any }: expr: #0, cost: 5020.000, children: [{ dist: Any }, { dist: Broadcast }]
196+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }, { dist: Broadcast }]
197197
│ └── #0 Join [#0, #16]
198198
├── Group #18
199199
│ ├── Best properties
200-
│ │ ├── { dist: Any }: expr: #0, cost: 5030.000, children: [{ dist: Any }]
201-
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #1, cost: 5540.000, children: [{ dist: Any }]
200+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
201+
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
202202
│ ├── #0 EvalScalar [#17]
203203
│ └── #1 Exchange: (Hash(t_10.a (#0)::Int32 NULL)) [#18]
204204
├── Group #19
205205
│ ├── Best properties
206-
│ │ └── { dist: Any }: expr: #0, cost: 5590.000, children: [{ dist: Hash(t_10.a (#0)::Int32 NULL) }]
206+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Hash(t_10.a (#0)::Int32 NULL) }]
207207
│ └── #0 Aggregate [#18]
208208
├── Group #20
209209
│ ├── Best properties
210-
│ │ └── { dist: Any }: expr: #0, cost: 5640.000, children: [{ dist: Any }]
210+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
211211
│ └── #0 Aggregate [#19]
212212
├── Group #21
213213
│ ├── Best properties
214-
│ │ └── { dist: Any }: expr: #0, cost: 66786.000, children: [{ dist: Any }, { dist: Broadcast }]
214+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }, { dist: Broadcast }]
215215
│ └── #0 Join [#11, #16]
216216
├── Group #22
217217
│ ├── Best properties
218-
│ │ ├── { dist: Any }: expr: #0, cost: 66796.000, children: [{ dist: Any }]
219-
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #1, cost: 67306.000, children: [{ dist: Any }]
218+
│ │ ├── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
219+
│ │ └── { dist: Hash(t_10.a (#0)::Int32 NULL) }: expr: #1, cost: <slt:ignore>, children: [{ dist: Any }]
220220
│ ├── #0 EvalScalar [#21]
221221
│ └── #1 Exchange: (Hash(t_10.a (#0)::Int32 NULL)) [#22]
222222
├── Group #23
223223
│ ├── Best properties
224-
│ │ └── { dist: Any }: expr: #0, cost: 67356.000, children: [{ dist: Hash(t_10.a (#0)::Int32 NULL) }]
224+
│ │ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Hash(t_10.a (#0)::Int32 NULL) }]
225225
│ └── #0 Aggregate [#22]
226226
└── Group #24
227227
├── Best properties
228-
│ └── { dist: Any }: expr: #0, cost: 67406.000, children: [{ dist: Any }]
228+
│ └── { dist: Any }: expr: #0, cost: <slt:ignore>, children: [{ dist: Any }]
229229
└── #0 Aggregate [#23]
230230

231231

0 commit comments

Comments
 (0)