Skip to content

Commit 3fe5839

Browse files
author
Alena Rybakina
committed
Fix output smart statement timeout test
1 parent 853d99a commit 3fe5839

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

expected/smart_statement_timeout.out

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,13 @@ SET statement_timeout = 100; -- [0.1s]
6969
SET aqo.statement_timeout = 150;
7070
SELECT count(a.x1),count(B.y1) FROM A a LEFT JOIN B ON a.x1 = B.y1 LEFT JOIN A a1 ON a1.x1 = B.y1;
7171
NOTICE: [AQO] Time limit for execution of the statement was expired. AQO tried to learn on partial data. Timeout is 63
72-
NOTICE: [AQO] Time limit for execution of the statement was increased. Current timeout is 1728
73-
count | count
74-
--------+--------
75-
563300 | 562500
76-
(1 row)
77-
72+
ERROR: canceling statement due to statement timeout
7873
select smart_timeout, count_increase_timeout from aqo_queries, aqo_query_texts
7974
where query_text = 'SELECT count(a.x1),count(B.y1) FROM A a LEFT JOIN B ON a.x1 = B.y1 LEFT JOIN A a1 ON a1.x1 = B.y1;'
8075
and aqo_query_texts.queryid = aqo_queries.queryid limit 1;
8176
smart_timeout | count_increase_timeout
8277
---------------+------------------------
83-
1728 | 4
78+
63 | 3
8479
(1 row)
8580

8681
SELECT 1 FROM aqo_reset();

0 commit comments

Comments
 (0)