Skip to content

Commit b810b67

Browse files
authored
YQ-3557 prepared canondata tests before enable resource pools (#7819)
1 parent 3595ef9 commit b810b67

File tree

3,248 files changed

+13038
-3264
lines changed

Some content is hidden

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

3,248 files changed

+13038
-3264
lines changed

ydb/tests/functional/canonical/canondata/test_sql.TestCanonicalFolder1.test_case_explain.script-script_/explain.script.plan

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"Plan": {
99
"Node Type": "Query",
1010
"PlanNodeType": "Query",
11-
"Plans": []
11+
"Plans": [],
12+
"Stats": {
13+
"ResourcePoolId": "default"
14+
}
1215
},
1316
"tables": []
1417
},
@@ -35,7 +38,10 @@
3538
}
3639
]
3740
}
38-
]
41+
],
42+
"Stats": {
43+
"ResourcePoolId": "default"
44+
}
3945
},
4046
"tables": []
4147
},
@@ -119,7 +125,10 @@
119125
}
120126
]
121127
}
122-
]
128+
],
129+
"Stats": {
130+
"ResourcePoolId": "default"
131+
}
123132
},
124133
"tables": [
125134
{
@@ -227,7 +236,10 @@
227236
],
228237
"Subplan Name": "CTE precompute_0_0"
229238
}
230-
]
239+
],
240+
"Stats": {
241+
"ResourcePoolId": "default"
242+
}
231243
},
232244
"tables": [
233245
{
@@ -323,7 +335,10 @@
323335
}
324336
]
325337
}
326-
]
338+
],
339+
"Stats": {
340+
"ResourcePoolId": "default"
341+
}
327342
},
328343
"tables": [
329344
{
@@ -431,7 +446,10 @@
431446
],
432447
"Subplan Name": "CTE precompute_0_0"
433448
}
434-
]
449+
],
450+
"Stats": {
451+
"ResourcePoolId": "default"
452+
}
435453
},
436454
"tables": [
437455
{
@@ -482,7 +500,10 @@
482500
}
483501
]
484502
}
485-
]
503+
],
504+
"Stats": {
505+
"ResourcePoolId": "default"
506+
}
486507
},
487508
"tables": [
488509
{
@@ -534,7 +555,10 @@
534555
}
535556
]
536557
}
537-
]
558+
],
559+
"Stats": {
560+
"ResourcePoolId": "default"
561+
}
538562
},
539563
"tables": [
540564
{

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,10 @@
251251
],
252252
"Subplan Name": "CTE precompute_0_0"
253253
}
254-
]
254+
],
255+
"Stats": {
256+
"ResourcePoolId": "default"
257+
}
255258
},
256259
"tables": [
257260
{
@@ -318,7 +321,10 @@
318321
}
319322
]
320323
}
321-
]
324+
],
325+
"Stats": {
326+
"ResourcePoolId": "default"
327+
}
322328
},
323329
"tables": [
324330
{

ydb/tests/functional/canonical/canondata/test_sql.TestCanonicalFolder1.test_case_simple_ct.script-script_/simple_ct.script.plan

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
}
4040
]
4141
}
42-
]
42+
],
43+
"Stats": {
44+
"ResourcePoolId": "default"
45+
}
4346
},
4447
"tables": [
4548
{

ydb/tests/functional/canonical/canondata/test_sql.TestCanonicalFolder1.test_case_simple_script_params.script-script_/simple_script_params.script.plan

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
}
2828
]
2929
}
30-
]
30+
],
31+
"Stats": {
32+
"ResourcePoolId": "default"
33+
}
3134
},
3235
"tables": []
3336
}

ydb/tests/functional/canonical/canondata/test_sql.TestCanonicalFolder1.test_case_table_types.script-script_/table_types.script.plan

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@
8888
}
8989
]
9090
}
91-
]
91+
],
92+
"Stats": {
93+
"ResourcePoolId": "default"
94+
}
9295
},
9396
"tables": [
9497
{
@@ -160,7 +163,10 @@
160163
}
161164
]
162165
}
163-
]
166+
],
167+
"Stats": {
168+
"ResourcePoolId": "default"
169+
}
164170
},
165171
"tables": [
166172
{

ydb/tests/functional/canonical/canondata/test_sql.TestCanonicalFolder1.test_case_write_multi_usage.script-script_/write_multi_usage.script.plan

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@
163163
}
164164
]
165165
}
166-
]
166+
],
167+
"Stats": {
168+
"ResourcePoolId": "default"
169+
}
167170
},
168171
"tables": [
169172
{
@@ -331,7 +334,10 @@
331334
],
332335
"Subplan Name": "CTE precompute_0_1"
333336
}
334-
]
337+
],
338+
"Stats": {
339+
"ResourcePoolId": "default"
340+
}
335341
},
336342
"tables": [
337343
{

ydb/tests/functional/canonical/canondata/test_sql.TestCanonicalFolder1.test_case_write_multi_usage_key.script-script_/write_multi_usage_key.script.plan

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@
7474
}
7575
]
7676
}
77-
]
77+
],
78+
"Stats": {
79+
"ResourcePoolId": "default"
80+
}
7881
},
7982
"tables": [
8083
{
@@ -192,7 +195,10 @@
192195
],
193196
"Subplan Name": "CTE precompute_0_0"
194197
}
195-
]
198+
],
199+
"Stats": {
200+
"ResourcePoolId": "default"
201+
}
196202
},
197203
"tables": [
198204
{

ydb/tests/functional/canonical/canondata/test_sql.TestCanonicalFolder1.test_case_write_write_group_by.script-script_/write_write_group_by.script.plan

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@
7575
}
7676
]
7777
}
78-
]
78+
],
79+
"Stats": {
80+
"ResourcePoolId": "default"
81+
}
7982
},
8083
"tables": [
8184
{
@@ -211,7 +214,10 @@
211214
],
212215
"Subplan Name": "CTE precompute_0_0"
213216
}
214-
]
217+
],
218+
"Stats": {
219+
"ResourcePoolId": "default"
220+
}
215221
},
216222
"tables": [
217223
{

ydb/tests/functional/canonical/test_sql.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ def setup_class(cls):
114114
domain_name='local',
115115
use_in_memory_pdisks=True,
116116
disable_iterator_reads=True,
117-
disable_iterator_lookups=True
117+
disable_iterator_lookups=True,
118+
extra_feature_flags=["enable_resource_pools"]
118119
)
119120
)
120121
cls.cluster.start()

ydb/tests/functional/clickbench/canondata/test.test_plans_column_/queries-original-plan-column-0

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@
120120
],
121121
"Subplan Name": "CTE precompute_0_0"
122122
}
123-
]
123+
],
124+
"Stats": {
125+
"ResourcePoolId": "default"
126+
}
124127
},
125128
"tables": [
126129
{

0 commit comments

Comments
 (0)