Skip to content

Commit 100370c

Browse files
committed
Added/Updated tests\bugs\gh_7331_test.py: Adjusted plan for query #2 after letter from dimitr, 11-sep-2023 20:23.
1 parent 01674a3 commit 100370c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: tests/bugs/gh_7331_test.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
Confirmed difference between snapshots before and after commit
1010
https://github.com/FirebirdSQL/firebird/commit/99c9f63f874d74beb53d338c97c033fe7c8d71a9
1111
Checked on 5.0.0.763 (plan did not use hash join); 5.0.0.957 (plan uses HJ).
12+
13+
[12.09.2023] pzotov
14+
Adjusted plan for query #2 after letter from dimitr, 11-sep-2023 20:23.
15+
Checked on 5.0.0.1204
1216
"""
1317

1418
import pytest
@@ -87,13 +91,15 @@
8791
8892
set planonly on;
8993
94+
--- Query #1 ---
9095
select *
9196
from
9297
orders, lineitem
9398
where
9499
l_orderkey = o_orderkey
95100
and l_shipdate between date '1995-03-15' and date '2000-03-15';
96101
102+
--- Query #2 ---
97103
select *
98104
from
99105
customer, orders, lineitem
@@ -108,7 +114,7 @@
108114

109115
expected_stdout = """
110116
PLAN HASH (LINEITEM INDEX (LINEITEM_SHIPDATE), ORDERS NATURAL)
111-
PLAN HASH (LINEITEM INDEX (LINEITEM_SHIPDATE), JOIN (CUSTOMER NATURAL, ORDERS INDEX (ORDERS_CUSTKEY_FK)))
117+
PLAN HASH (JOIN (CUSTOMER NATURAL, ORDERS INDEX (ORDERS_CUSTKEY_FK)), LINEITEM INDEX (LINEITEM_SHIPDATE))
112118
"""
113119

114120
@pytest.mark.version('>=5.0')

0 commit comments

Comments
 (0)