JDBC Driver for Google BigQuery

Build 22.0.8462

RefreshViewSchemas

Allows the provider to determine up-to-date view schemas automatically.

Data Type

bool

Default Value

true

Remarks

When using BigQuery views, BigQuery stores a copy of the view schema with the view itself. However, these stored view schemas are not updated when the tables used by the view change. This means that the stored view schema can easily become out of date and cause queries using the view to fail.

By default, the driver will not use the stored view schema and will instead query the view to determine the available columns. This guarantees that the schema will be up to date although it requires the driver to start a query job.

You can disable this option to force the driver to use the stored view schemas. This prevents the driver from running any queries when getting a view schema, but also means that queries using the view will fail if the schema is out of date.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462