Problem Note 56478: An error occurs when you use the CAST=YES LIBNAME option with an ORDER BY clause or a SELECT DISTINCT clause in SAS/ACCESS® Interface to Teradata
The CAST=YES LIBNAME option for SAS/ACCESS Interface to Teradata causes an error when you use data of type BIGINT or DECIMAL in either a SELECT DISTINCT or an ORDER BY clause.
For example, if you use the following code:
libname tera_lib teradata server=server_name user=user-id PASSWORD=password cast=yes;
proc sql;
select * from tera_lib.decimal_table order by var2 ;
This error might occur:
ERROR: Teradata row not delivered (trget):
Overflow occurred computing an expression involving decimal_table.var2.
Workarounds
To work around this issue, do one of the following:
- Omit the ORDER BY clause.
- Use explicit SQL pass through.
- Create a Teradata view that contains an ORDER BY clause.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Teradata | Solaris for x64 | 9.3 TS1M2 | 9.4 TS1M3 |
Linux for x64 | 9.3 TS1M2 | 9.4 TS1M3 |
Linux | 9.3 TS1M2 | 9.4 TS1M3 |
HP-UX IPF | 9.3 TS1M2 | 9.4 TS1M3 |
64-bit Enabled Solaris | 9.3 TS1M2 | 9.4 TS1M3 |
64-bit Enabled HP-UX | 9.3 TS1M2 | 9.4 TS1M3 |
64-bit Enabled AIX | 9.3 TS1M2 | 9.4 TS1M3 |
Windows Vista for x64 | 9.3 TS1M2 | |
Windows Vista | 9.3 TS1M2 | |
Windows 7 Ultimate x64 | 9.3 TS1M2 | 9.4 TS1M3 |
Windows 7 Ultimate 32 bit | 9.3 TS1M2 | 9.4 TS1M3 |
Windows 7 Professional x64 | 9.3 TS1M2 | 9.4 TS1M3 |
Windows 7 Professional 32 bit | 9.3 TS1M2 | 9.4 TS1M3 |
Windows 7 Home Premium x64 | 9.3 TS1M2 | 9.4 TS1M3 |
Windows 7 Home Premium 32 bit | 9.3 TS1M2 | 9.4 TS1M3 |
Windows 7 Enterprise x64 | 9.3 TS1M2 | 9.4 TS1M3 |
Windows 7 Enterprise 32 bit | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows XP Professional | 9.3 TS1M2 | |
Microsoft Windows Server 2012 Std | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 R2 Std | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 R2 Datacenter | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 Datacenter | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2008 R2 | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2008 | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M2 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M2 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M2 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M2 | |
Microsoft Windows 8.1 Pro 32-bit | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Pro | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Enterprise x64 | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Pro x64 | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Pro 32-bit | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Enterprise x64 | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Enterprise 32-bit | 9.3 TS1M2 | 9.4 TS1M3 |
Microsoft® Windows® for x64 | 9.3 TS1M2 | 9.4 TS1M3 |
z/OS | 9.3 TS1M2 | 9.4 TS1M3 |
*
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 |
Topic: | Data Management ==> Data Sources ==> External Databases ==> Teradata
|
Date Modified: | 2015-10-28 10:54:32 |
Date Created: | 2015-08-24 10:28:18 |