SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 67566: The TRIM function might be included in a query that is passed to the BigQuery database

DetailsHotfixAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to Google BigQueryLinux for x649.419.419.4 TS1M69.4 TS1M8
SAS SystemSAS/ACCESS Interface to Google BigQuery (on SAS Viya)Linux for x64V.03.042020.1.2ViyaViya
* 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.