Skip to content

Commit 1ea867b

Browse files
committed
fix tests
1 parent f234481 commit 1ea867b

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ create database aggregate_property
77
statement ok
88
use aggregate_property
99

10+
statement ok
11+
set max_threads = 1
12+
1013
statement ok
1114
create table t_10(a int) as select * from numbers(10)
1215

@@ -23,7 +26,7 @@ where t_10.a = t_1000.a and t_100.a = t_1000.a
2326
----
2427
Memo
2528
├── root group: #8
26-
├── estimated memory: 9912 bytes
29+
├── estimated memory: 10080 bytes
2730
├── Group #0
2831
│ ├── Best properties
2932
│ │ ├── { dist: Any }: expr: #0, cost: 100.000, children: []
@@ -92,7 +95,7 @@ group by t_10.a, t_100.a
9295
----
9396
Memo
9497
├── root group: #8
95-
├── estimated memory: 23128 bytes
98+
├── estimated memory: 23520 bytes
9699
├── Group #0
97100
│ ├── Best properties
98101
│ │ ├── { dist: Any }: expr: #0, cost: 100.000, children: []

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ create database join_property
77
statement ok
88
use join_property
99

10+
statement ok
11+
set max_threads = 1
12+
1013
statement ok
1114
create table t_10(a int) as select * from numbers(10)
1215

@@ -22,7 +25,7 @@ select * from t_10, t_100, t_1000 where t_10.a = t_1000.a and t_100.a = t_1000.a
2225
----
2326
Memo
2427
├── root group: #5
25-
├── estimated memory: 8024 bytes
28+
├── estimated memory: 8160 bytes
2629
├── Group #0
2730
│ ├── Best properties
2831
│ │ ├── { dist: Any }: expr: #0, cost: 100.000, children: []
@@ -76,7 +79,7 @@ select * from t_1000 left join t_10 on t_1000.a = t_10.a left join t_100 on t_10
7679
----
7780
Memo
7881
├── root group: #5
79-
├── estimated memory: 8024 bytes
82+
├── estimated memory: 8160 bytes
8083
├── Group #0
8184
│ ├── Best properties
8285
│ │ ├── { dist: Any }: expr: #0, cost: 1000.000, children: []
@@ -130,7 +133,7 @@ select * from t_1000 right join t_10 on t_1000.a = t_10.a right join t_100 on t_
130133
----
131134
Memo
132135
├── root group: #5
133-
├── estimated memory: 7080 bytes
136+
├── estimated memory: 7200 bytes
134137
├── Group #0
135138
│ ├── Best properties
136139
│ │ ├── { dist: Any }: expr: #0, cost: 1000.000, children: []
@@ -180,7 +183,7 @@ select * from t_1000 full join t_10 on t_1000.a = t_10.a full join t_100 on t_10
180183
----
181184
Memo
182185
├── root group: #5
183-
├── estimated memory: 7080 bytes
186+
├── estimated memory: 7200 bytes
184187
├── Group #0
185188
│ ├── Best properties
186189
│ │ ├── { dist: Any }: expr: #0, cost: 1000.000, children: []
@@ -230,7 +233,7 @@ select * from t_10, t_100, t_1000
230233
----
231234
Memo
232235
├── root group: #5
233-
├── estimated memory: 6136 bytes
236+
├── estimated memory: 6240 bytes
234237
├── Group #0
235238
│ ├── Best properties
236239
│ │ ├── { dist: Any }: expr: #0, cost: 10.000, children: []

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ create database mix_property
77
statement ok
88
use mix_property
99

10+
statement ok
11+
set max_threads = 1
12+
1013
statement ok
1114
create table t_10(a int) as select * from numbers(10)
1215

@@ -26,7 +29,7 @@ limit 10
2629
----
2730
Memo
2831
├── root group: #10
29-
├── estimated memory: 10856 bytes
32+
├── estimated memory: 11040 bytes
3033
├── Group #0
3134
│ ├── Best properties
3235
│ │ ├── { dist: Any }: expr: #0, cost: 100.000, children: []

0 commit comments

Comments
 (0)