Details
-
Type:
Bug
-
Status: Confirmed (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 5.5, 10.0, 10.1, 10.2, 10.3, 10.3.11
-
Fix Version/s: 5.5
-
Component/s: None
-
Labels:None
-
Environment:Redhat el6
Description
With the same select statement, it produces different results with optimizer_switch='derived_merge=ON'; and optimizer_switch='derived_merge=OFF';
Reproduce test case:
1. Follow the test_case.rtf attached, create table t1 and insert data into t1; create table t2 and insert data to t2.
2. Set optimizer_switch='derived_merge=ON'; and run the select statement. It has empty set result.
3. Set optimizer_switch='derived_merge=OFF'; and run the same select statement. It has result set:
------------------------------+
T_FP | Test_Value |
------------------------------+
731834939448428685 | 22 |
------------------------------+
Thanks,
KT Chow