Usage Note 67566: The TRIM function might be included in a query that is passed to the BigQuery database
The ability to pass the SAS TRIM function as the RTRIM function in the query that is passed to the Google BigQuery database has been added. This function might be passed if one of the following conditions is true about the query:
- The function is used in the WHERE clause.
- The function appears in the SELECT, GROUP BY, HAVING, or ORDER BY clause; the query contains a condition that triggers implicit pass-through; and the query does not include a condition that would prevent the entire query from being passed to the database.
Some triggers for implicit pass-through are as follows:
- the DISTINCT keyword
- the ORDER BY clause
- a summary function/GROUP BY clause
- the joins of multiple BigQuery tables
- a HAVING clause
Some of the conditions that would prevent the entire query from being passed to the database include the following:
- if the DBMS does not accept the generated SQL syntax
- the query involves multiple librefs that do not share connection characteristics
- the query includes the use of data set options
- the use of certain LIBNAME options
- the use of certain SAS functions
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 Google BigQuery | Linux for x64 | 9.41 | 9.41 | 9.4 TS1M6 | 9.4 TS1M8 |
SAS System | SAS/ACCESS Interface to Google BigQuery (on SAS Viya) | Linux for x64 | V.03.04 | 2020.1.2 | 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.
Date Modified: | 2021-06-29 16:45:18 |
Date Created: | 2021-03-08 13:43:05 |