Class PrestoJob (2.4.0)

PrestoJob(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Dataproc job for running Presto <https://prestosql.io/> queries. IMPORTANT: The Dataproc Presto Optional Component <https://cloud.google.com/dataproc/docs/concepts/components/presto> must be enabled when the cluster is created to submit a Presto job to the cluster.

Attributes

NameDescription
query_file_uri str
The HCFS URI of the script that contains SQL queries.
query_list google.cloud.dataproc_v1beta2.types.QueryList
A list of queries.
continue_on_failure bool
Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.
output_format str
Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats
client_tags Sequence[str]
Optional. Presto client tags to attach to this query
properties Sequence[google.cloud.dataproc_v1beta2.types.PrestoJob.PropertiesEntry]
Optional. A mapping of property names to values. Used to set Presto `session properties
logging_config google.cloud.dataproc_v1beta2.types.LoggingConfig
Optional. The runtime log config for job execution.

Classes

PropertiesEntry

PropertiesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.