Skip to content

Commit 5e6fc7b

Browse files
committed
Fix tests canonization
1 parent 5cd777d commit 5e6fc7b

File tree

553 files changed

+39108
-48295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

553 files changed

+39108
-48295
lines changed

ydb/tests/functional/canonical/canondata/test_sql.TestCanonicalFolder1.test_case_join_group_by_lookup.script-script_/join_group_by_lookup.script.plan

+38-47
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"Plans": [
1212
{
1313
"Node Type": "ResultSet_2",
14-
"PlanNodeId": 21,
14+
"PlanNodeId": 20,
1515
"PlanNodeType": "ResultSet",
1616
"Plans": [
1717
{
@@ -20,18 +20,18 @@
2020
{
2121
"Inputs": [
2222
{
23-
"ExternalPlanNodeId": 19
23+
"ExternalPlanNodeId": 18
2424
}
2525
],
2626
"Limit": "1001",
2727
"Name": "Limit"
2828
}
2929
],
30-
"PlanNodeId": 20,
30+
"PlanNodeId": 19,
3131
"Plans": [
3232
{
3333
"Node Type": "Merge",
34-
"PlanNodeId": 19,
34+
"PlanNodeId": 18,
3535
"PlanNodeType": "Connection",
3636
"Plans": [
3737
{
@@ -48,23 +48,23 @@
4848
"TopSortBy": ""
4949
},
5050
{
51-
"Condition": "Group = Group",
51+
"Condition": "a.Group = t.Group",
5252
"Inputs": [
5353
{
54-
"ExternalPlanNodeId": 17
54+
"ExternalPlanNodeId": 16
5555
},
5656
{
57-
"ExternalPlanNodeId": 15
57+
"ExternalPlanNodeId": 14
5858
}
5959
],
6060
"Name": "LeftJoin (MapJoin)"
6161
}
6262
],
63-
"PlanNodeId": 18,
63+
"PlanNodeId": 17,
6464
"Plans": [
6565
{
6666
"Node Type": "Map",
67-
"PlanNodeId": 17,
67+
"PlanNodeId": 16,
6868
"PlanNodeType": "Connection",
6969
"Plans": [
7070
{
@@ -77,22 +77,22 @@
7777
"ToFlow": "precompute_0_0"
7878
}
7979
],
80-
"PlanNodeId": 16
80+
"PlanNodeId": 15
8181
}
8282
]
8383
},
8484
{
8585
"Node Type": "Broadcast",
86-
"PlanNodeId": 15,
86+
"PlanNodeId": 14,
8787
"PlanNodeType": "Connection",
8888
"Plans": [
8989
{
9090
"Node Type": "Stage",
91-
"PlanNodeId": 14,
91+
"PlanNodeId": 13,
9292
"Plans": [
9393
{
9494
"Node Type": "UnionAll",
95-
"PlanNodeId": 13,
95+
"PlanNodeId": 12,
9696
"PlanNodeType": "Connection",
9797
"Plans": [
9898
{
@@ -127,7 +127,7 @@
127127
"Name": "Iterator"
128128
}
129129
],
130-
"PlanNodeId": 12,
130+
"PlanNodeId": 11,
131131
"Tables": [
132132
"base_join_group_by_lookup_script_script/Temp"
133133
]
@@ -154,7 +154,7 @@
154154
{
155155
"Node Type": "Precompute_1",
156156
"Parent Relationship": "InitPlan",
157-
"PlanNodeId": 10,
157+
"PlanNodeId": 9,
158158
"PlanNodeType": "Materialize",
159159
"Plans": [
160160
{
@@ -167,77 +167,68 @@
167167
"Name": "PartitionByKey"
168168
}
169169
],
170-
"PlanNodeId": 9
170+
"PlanNodeId": 8
171171
}
172172
],
173173
"Subplan Name": "CTE precompute_1_0"
174174
},
175175
{
176176
"Node Type": "Precompute_0",
177177
"Parent Relationship": "InitPlan",
178-
"PlanNodeId": 7,
178+
"PlanNodeId": 6,
179179
"PlanNodeType": "Materialize",
180180
"Plans": [
181181
{
182182
"Node Type": "Collect",
183-
"PlanNodeId": 6,
183+
"PlanNodeId": 5,
184184
"Plans": [
185185
{
186186
"Node Type": "UnionAll",
187-
"PlanNodeId": 5,
187+
"PlanNodeId": 4,
188188
"PlanNodeType": "Connection",
189189
"Plans": [
190190
{
191191
"Node Type": "Stage",
192-
"PlanNodeId": 4,
192+
"PlanNodeId": 3,
193193
"Plans": [
194194
{
195195
"KeyColumns": [
196196
"Group"
197197
],
198198
"Node Type": "HashShuffle",
199-
"PlanNodeId": 3,
199+
"PlanNodeId": 2,
200200
"PlanNodeType": "Connection",
201201
"Plans": [
202202
{
203-
"Node Type": "Aggregate",
203+
"Node Type": "Aggregate-TableFullScan",
204204
"Operators": [
205205
{
206206
"Aggregation": "{_yql_agg_0: SUM(state._yql_agg_0,1)}",
207207
"GroupBy": "item.Group",
208208
"Inputs": [
209209
{
210-
"ExternalPlanNodeId": 1
210+
"InternalOperatorId": 1
211211
}
212212
],
213213
"Name": "Aggregate"
214-
}
215-
],
216-
"PlanNodeId": 2,
217-
"Plans": [
214+
},
218215
{
219-
"Node Type": "TableFullScan",
220-
"Operators": [
221-
{
222-
"Inputs": [],
223-
"Name": "TableFullScan",
224-
"ReadColumns": [
225-
"Group"
226-
],
227-
"ReadRanges": [
228-
"Group (-\u221e, +\u221e)",
229-
"Name (-\u221e, +\u221e)"
230-
],
231-
"ReadRangesPointPrefixLen": "0",
232-
"Scan": "Parallel",
233-
"Table": "base_join_group_by_lookup_script_script/Input1"
234-
}
216+
"Inputs": [],
217+
"Name": "TableFullScan",
218+
"ReadColumns": [
219+
"Group"
235220
],
236-
"PlanNodeId": 1,
237-
"Tables": [
238-
"base_join_group_by_lookup_script_script/Input1"
239-
]
221+
"ReadRanges": [
222+
"Group (-\u221e, +\u221e)",
223+
"Name (-\u221e, +\u221e)"
224+
],
225+
"Scan": "Parallel",
226+
"Table": "base_join_group_by_lookup_script_script/Input1"
240227
}
228+
],
229+
"PlanNodeId": 1,
230+
"Tables": [
231+
"base_join_group_by_lookup_script_script/Input1"
241232
]
242233
}
243234
]

0 commit comments

Comments
 (0)