Problem Note 69574: Trying to read in a Teradata table that contains a variable defined as a DATE data type might generate a conflicting data type error
If you try to read in a Teradata table, an error similar to the following might occur:
ERROR: Teradata connection: TPT FastExport: TPTAPI_INFRA: API307: Error: Conflicting data type for column(4) - "HIREDATE". Source column's data type is (INTDATE) Target column's data type is (FLOAT).
The error might occur when the following is true:
- The Teradata table contains at least one variable that is defined as a DATE data type.
- You use the LIBNAME Teradata engine.
- The LIBNAME or the data set option FASTEXPORT= is set to YES.
- The LIBNAME or the data set option CAST= is set to YES. Or, the option is not specified and SAS determines that the data expansion is less than the CAST_OVERHEAD_MAXPERCENT= option setting.
- The LIBNAME or data set option TPT= is either set to YES or is not specified since YES is the default.
The workarounds for this issue include the following:
- Use CAST=NO. This workaround is not an option if the Teradata table contains a variable defined as a DECIMAL data type. This variable causes a different conflicting data type error for the decimal column. For more information, refer to SAS Note 61632, "The "Conflicting data length..." error occurs when you use SAS/ACCESS® Interface to Teradata with Teradata 15.10 and 16 clients."
- Use TPT=NO. This option might cause slower performance depending on the amount of data that is read into SAS from Teradata.
- Use explicit pass-through rather than the LIBNAME statement.
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 | z/OS | 9.4 TS1M3 | |
Microsoft® Windows® for x64 | 9.4 TS1M3 | |
Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M3 | |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M3 | |
Microsoft Windows 8 Pro 32-bit | 9.4 TS1M3 | |
Microsoft Windows 8 Pro x64 | 9.4 TS1M3 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M3 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M3 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M3 | |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M3 | |
Microsoft Windows 10 | 9.4 TS1M3 | |
Microsoft Windows Server 2008 | 9.4 TS1M3 | |
Microsoft Windows Server 2008 R2 | 9.4 TS1M3 | |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M3 | |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M3 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M3 | |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M3 | |
Microsoft Windows Server 2012 Std | 9.4 TS1M3 | |
Windows 7 Enterprise 32 bit | 9.4 TS1M3 | |
Windows 7 Enterprise x64 | 9.4 TS1M3 | |
Windows 7 Home Premium 32 bit | 9.4 TS1M3 | |
Windows 7 Home Premium x64 | 9.4 TS1M3 | |
Windows 7 Professional 32 bit | 9.4 TS1M3 | |
Windows 7 Professional x64 | 9.4 TS1M3 | |
Windows 7 Ultimate 32 bit | 9.4 TS1M3 | |
Windows 7 Ultimate x64 | 9.4 TS1M3 | |
64-bit Enabled AIX | 9.4 TS1M3 | |
64-bit Enabled Solaris | 9.4 TS1M3 | |
HP-UX IPF | 9.4 TS1M3 | |
Linux for x64 | 9.4 TS1M3 | |
Solaris for x64 | 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 |
Date Modified: | 2022-12-06 09:41:48 |
Date Created: | 2022-09-22 11:47:45 |