Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.5.2
-
None
-
None
Description
CREATE TABLE t ( mypk VARCHAR(100) NOT NULL PRIMARY KEY, mycol VARCHAR(200)); SELECT * FROM t t1 JOIN t t2 ON t1.mypk = t2.mypk;
would produce a plan like:
SORT-MERGE-JOIN (INNER) TABLES CLIENT PARALLEL 1-WAY FULL SCAN OVER T AND CLIENT PARALLEL 1-WAY FULL SCAN OVER T SERVER SORTED BY [MYPK] CLIENT MERGE SORT
, while it should have generated a plan like:
SORT-MERGE-JOIN (INNER) TABLES CLIENT PARALLEL 1-WAY FULL SCAN OVER T AND CLIENT PARALLEL 1-WAY FULL SCAN OVER T