SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 68312: "CLI prepare error....unknown data type" occurs when you read a Google BigQuery table that contains a variable with the BIGNUMERIC data type

DetailsHotfixAboutRate It

SAS/ACCESS® Interface to Google BigQuery does not support the BIGNUMERIC data type. When you attempt to read in a BigQuery table that contains a variable that is defined with a BIGNUMERIC data type, an error similar to the following occurs:

ERROR: CLI prepare error: Table "db.Test" does not exist or cannot be accessed : Error: unknown data type

The same error might occur with a Google BigQuery table that contains a variable that is defined as a NUMERIC data type. For more information about this issue, see SAS Note 64859, "CLI prepare error....unknown data type" occurs when you read a Google BigQuery table that contains a variable with the NUMERIC data type.

The only workaround is to use explicit pass-through to read the table, either not selecting the column or casting the column to a supported data type.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Data Connector to Google BigQueryLinux for x64V.03.04Stable 2024.04ViyaViya
SAS SystemSAS/ACCESS Interface to Google BigQueryLinux for x649.4 TS1M6
SAS SystemSAS/ACCESS Interface to Google BigQuery (on SAS Viya)Linux for x64V.03.04Stable 2024.04ViyaViya
* 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.