PrestoJob

A Dataproc job for runningPresto queries.IMPORTANT: TheDataproc Presto Optional Component must be enabled when the cluster is created to submit a Presto job to the cluster.

JSON representation
{"continueOnFailure":boolean,"outputFormat":string,"clientTags":[string],"properties":{string:string,...},"loggingConfig":{object (LoggingConfig)},// Union fieldqueries can be only one of the following:"queryFileUri":string,"queryList":{object (QueryList)}// End of list of possible types for union fieldqueries.}
Fields
continueOnFailure

boolean

Optional. Whether to continue executing queries if a query fails. The default value isfalse. Setting totrue can be useful when executing independent parallel queries.

outputFormat

string

Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats

clientTags[]

string

Optional. Presto client tags to attach to this query

properties

map (key: string, value: string)

Optional. A mapping of property names to values. Used to set Prestosession properties Equivalent to using the --session flag in the Presto CLI

An object containing a list of"key": value pairs. Example:{ "name": "wrench", "mass": "1.3kg", "count": "3" }.

loggingConfig

object (LoggingConfig)

Optional. The runtime log config for job execution.

Union fieldqueries. Required. The sequence of Presto queries to execute, specified as either an HCFS file URI or as a list of queries.queries can be only one of the following:
queryFileUri

string

The HCFS URI of the script that contains SQL queries.

queryList

object (QueryList)

A list of queries.

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

Last updated 2025-06-20 UTC.