Skip to content

Commit 4649bc4

Browse files
higuoxingmy-ship-it
authored andcommitted
Insert more data to make tuplestore spill in regress/misc_jiras.sql.
This is a follow-up patch for ad8b266 and a039910 to make pipelines happy. Previous commits are causing CI failure. See: https://prod.ci.gpdb.pivotal.io/teams/main/pipelines/gpdb_master_without_asserts/jobs/icw_planner_icproxy_ubuntu18.04/builds/603 (cherry picked from commit 09056de6940bd95cf4382474a1d3c6bdb60500d9)
1 parent 8ba10ab commit 4649bc4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/regress/expected/misc_jiras.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ create schema misc_jiras;
1212
--
1313
create table misc_jiras.t1 (c1 int, c2 text, c3 smallint) distributed by (c1);
1414
insert into misc_jiras.t1 select i % 13, md5(i::text), i % 3
15-
from generate_series(1, 40000) i;
15+
from generate_series(1, 60000) i;
1616
-- tuplestore in windowagg uses statement_mem to control the in-memory data size,
1717
-- set a small value to trigger the spilling.
1818
set statement_mem to '1024kB';
@@ -44,7 +44,7 @@ NOTICE: winagg: tuplestore spilled to disk (seg1 slice1 127.0.0.1:7003 pid=547
4444
NOTICE: winagg: tuplestore spilled to disk (seg2 slice1 127.0.0.1:7004 pid=54721)
4545
sum
4646
---------
47-
20006.5
47+
30006.5
4848
(1 row)
4949

5050
SELECT gp_inject_fault('winagg_after_spool_tuples', 'reset', dbid)

src/test/regress/sql/misc_jiras.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ create schema misc_jiras;
1313

1414
create table misc_jiras.t1 (c1 int, c2 text, c3 smallint) distributed by (c1);
1515
insert into misc_jiras.t1 select i % 13, md5(i::text), i % 3
16-
from generate_series(1, 40000) i;
16+
from generate_series(1, 60000) i;
1717

1818
-- tuplestore in windowagg uses statement_mem to control the in-memory data size,
1919
-- set a small value to trigger the spilling.

0 commit comments

Comments
 (0)