SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 40492: Incorrect textualization of SQL Implicit Pass-Through queries occurs when you combine multiple inner joins with the UNION operator

DetailsHotfixAboutRate It

Incorrect textualization of SQL Implicit Pass-Through queries occurs when you combine multiple inner joins with the UNION operator.

Because of incorrect textualization of PROC SQL Implicit Pass-Through, the following query may fail with a parse error:

   data a; x=42; run;
   data b; x=42; run;

   proc sql;
   select * from
   (
      (
        (select a.x from a inner join b on a.x=b.x)
      union
        (select a.x from a inner join b on a.x=b.x)
      )
      union
      (select a.x from a inner join b on a.x=b.x)
   );
   quit;

The failure of SQL Implicit Pass-Through will cause all rows to be returned to SAS for processing, which could result in poor performance.

The problem has been observed with SAS® Scalable Performance Data Server and with MySQL database.

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows XP Professional9.1 TS1M3 SP49.2 TS2M3
Windows Vista9.1 TS1M3 SP49.2 TS2M3
Windows Vista for x649.1 TS1M3 SP49.2 TS2M3
64-bit Enabled AIX9.1 TS1M3 SP49.2 TS2M3
64-bit Enabled HP-UX9.1 TS1M3 SP49.2 TS2M3
64-bit Enabled Solaris9.1 TS1M3 SP49.2 TS2M3
HP-UX IPF9.1 TS1M3 SP49.2 TS2M3
Linux9.1 TS1M3 SP49.2 TS2M3
Linux on Itanium9.1 TS1M3 SP49.2 TS2M3
OpenVMS Alpha9.1 TS1M3 SP49.2 TS2M3
Solaris for x649.1 TS1M3 SP49.2 TS2M3
Tru64 UNIX9.1 TS1M3 SP49.2 TS2M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.