ParquetOptions()Additional options if the PARQUET source format is used.
Properties
enable_list_inference
Indicates whether to use schema inference specifically for Parquet LIST logical type.
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
map_target_type
Indicates whether to simplify the representation of parquet maps to only show keys and values.
Methods
from_api_repr
from_api_repr(
resource: typing.Dict[str, bool],
) -> google.cloud.bigquery.format_options.ParquetOptionsFactory: construct an instance from a resource dict.
| Parameter | |
|---|---|
| Name | Description |
resource |
Dict[str, bool]
Definition of a |
| Returns | |
|---|---|
| Type | Description |
|
Configuration parsed from resource. |
to_api_repr
to_api_repr() -> dictBuild an API representation of this object.
| Returns | |
|---|---|
| Type | Description |
Dict[str, bool] |
A dictionary in the format used by the BigQuery API. |