File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 9
9
Confirmed difference between snapshots before and after commit
10
10
https://github.com/FirebirdSQL/firebird/commit/99c9f63f874d74beb53d338c97c033fe7c8d71a9
11
11
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
12
16
"""
13
17
14
18
import pytest
87
91
88
92
set planonly on;
89
93
94
+ --- Query #1 ---
90
95
select *
91
96
from
92
97
orders, lineitem
93
98
where
94
99
l_orderkey = o_orderkey
95
100
and l_shipdate between date '1995-03-15' and date '2000-03-15';
96
101
102
+ --- Query #2 ---
97
103
select *
98
104
from
99
105
customer, orders, lineitem
108
114
109
115
expected_stdout = """
110
116
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 ))
112
118
"""
113
119
114
120
@pytest .mark .version ('>=5.0' )
You can’t perform that action at this time.
0 commit comments