Class ExternalCatalogTableOptions (3.34.0)

ExternalCatalogTableOptions(
    connection_id: typing.Optional[str] = None,
    parameters: typing.Optional[typing.Dict[str, typing.Any]] = None,
    storage_descriptor: typing.Optional[
        google.cloud.bigquery.schema.StorageDescriptor
    ] = None,
)

Metadata about open source compatible table. The fields contained in these options correspond to hive metastore's table level properties.

Parameters

NameDescription
connection_idOptional[str]

The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The connection is needed to read the open source table from BigQuery Engine. The connection_id can have the form .. or projects//locations//connections/.

parametersUnion[Dict[str, Any], None]

A map of key value pairs defining the parameters and properties of the open source table. Corresponds with hive meta store table parameters. Maximum size of 4Mib.

storage_descriptorOptional[StorageDescriptor]

A storage descriptor containing information about the physical storage of this table.

Properties

connection_id

Optional. The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The connection is needed to read the open source table from BigQuery Engine. The connection_id can have the form .. or projects//locations//connections/.

parameters

Optional. A map of key value pairs defining the parameters and properties of the open source table. Corresponds with hive meta store table parameters. Maximum size of 4Mib.

storage_descriptor

Optional. A storage descriptor containing information about the physical storage of this table.

Methods

from_api_repr

from_api_repr(
    api_repr: dict,
) -> google.cloud.bigquery.external_config.ExternalCatalogTableOptions

Factory: constructs an instance of the class (cls) given its API representation.

Parameter
NameDescription
api_reprDict[str, Any]

API representation of the object to be instantiated.

to_api_repr

to_api_repr() -> dict

Build an API representation of this object.

Returns
TypeDescription
Dict[str, Any]A dictionary in the format used by the BigQuery API.