SUPPORT / SAMPLES & SAS NOTES
 

Support

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

DetailsHotfixAboutRate It

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

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to Teradataz/OS9.4 TS1M3
Microsoft® Windows® for x649.4 TS1M3
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M3
Microsoft Windows 8 Enterprise x649.4 TS1M3
Microsoft Windows 8 Pro 32-bit9.4 TS1M3
Microsoft Windows 8 Pro x649.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M3
Microsoft Windows 8.1 Enterprise x649.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M3
Microsoft Windows 8.1 Pro x649.4 TS1M3
Microsoft Windows 109.4 TS1M3
Microsoft Windows Server 20089.4 TS1M3
Microsoft Windows Server 2008 R29.4 TS1M3
Microsoft Windows Server 2008 for x649.4 TS1M3
Microsoft Windows Server 2012 Datacenter9.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M3
Microsoft Windows Server 2012 R2 Std9.4 TS1M3
Microsoft Windows Server 2012 Std9.4 TS1M3
Windows 7 Enterprise 32 bit9.4 TS1M3
Windows 7 Enterprise x649.4 TS1M3
Windows 7 Home Premium 32 bit9.4 TS1M3
Windows 7 Home Premium x649.4 TS1M3
Windows 7 Professional 32 bit9.4 TS1M3
Windows 7 Professional x649.4 TS1M3
Windows 7 Ultimate 32 bit9.4 TS1M3
Windows 7 Ultimate x649.4 TS1M3
64-bit Enabled AIX9.4 TS1M3
64-bit Enabled Solaris9.4 TS1M3
HP-UX IPF9.4 TS1M3
Linux for x649.4 TS1M3
Solaris for x649.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.