Class ParquetOptions (3.0.1)

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
Name Description
resource Dict[str, bool]

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

Returns
Type Description
`.format_options.ParquetOptions` Configuration parsed from ``resource``.

to_api_repr

to_api_repr()

Build an API representation of this object.

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.