Class ParquetOptions (2.31.0)

Stay organized with collections Save and categorize content based on your preferences.
ParquetOptions()

Additional options if the PARQUET source format is used.

Inheritance

builtins.object > ParquetOptions

Properties

enable_list_inference

Indicates whether to use schema inference specifically for Parquet LIST logical type.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#ParquetOptions.FIELDS.enable_list_inference

enum_as_string

Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#ParquetOptions.FIELDS.enum_as_string

Methods

from_api_repr

from_api_repr(resource: Dict[str, bool])

Factory: construct an instance from a resource dict.

Parameter
NameDescription
resource Dict[str, bool]

Definition of a .format_options.ParquetOptions instance in the same representation as is returned from the API.

Returns
TypeDescription
`.format_options.ParquetOptions`Configuration parsed from ``resource``.

to_api_repr

to_api_repr()

Build an API representation of this object.

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