Problem Note 67952: A query might not be passed to Teradata when you use the DATATRANSFERMODE=parallel option along with the FedSQL procedure
When you try to do a parallel load of a Teradata table into SAS® Cloud Analytic Services (CAS), parts of the query that could be passed might not be passed to Teradata. Instead of Teradata doing the processing, the processing of the query is done after the data is read into CAS. However, the data is still being loaded into CAS in parallel. This issue might occur when the following is true:
- Your CASLIB statement includes both the DATABASE= and SCHEMA= options, where the DATABASE= option points to the user's database and the SCHEMA= option points to the database in which the tables being queried are located.
- You are using FedSQL and your query includes one or more of the following:
- the DISTINCT keyword
- summary functions with a GROUP BY clause
- joins
- the WHERE clause
If your query includes syntax that is valid in SAS but that is not supported by the database, it is expected that the syntax will not be included in the query that is passed to Teradata.
Here are some workarounds:
- Use DATATRANSFERMODE=serial.
- Create a view in the user's database that is a query of the table in the other database. Instead of including both DATABASE= and SCHEMA=, include only DATABASE= pointing to your database in the CASLIB statement.
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
Operating System and Release Information
SAS System | SAS Data Connect Accelerator for Teradata | Linux for x64 | V.03.01 | 2021.1.3 | Viya | Viya |
*
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: | 2021-07-27 10:14:12 |
Date Created: | 2021-05-25 09:10:21 |