Problem Note 40492: Incorrect textualization of SQL Implicit Pass-Through queries occurs when you combine multiple inner joins with the UNION operator
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
| SAS System | Base SAS | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Windows Vista for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| 64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| 64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| 64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Linux | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
| Tru64 UNIX | 9.1 TS1M3 SP4 | 9.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.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2010-08-04 11:31:22 |
| Date Created: | 2010-08-02 08:41:50 |