File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1418import pytest
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
108114
109115expected_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' )
You can’t perform that action at this time.
0 commit comments