PrestoJobResponse

data class PrestoJobResponse(val clientTags: List<String>, val continueOnFailure: Boolean, val loggingConfig: LoggingConfigResponse, val outputFormat: String, val properties: Map<String, String>, val queryFileUri: String, val queryList: QueryListResponse)

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.

Constructors

Link copied to clipboard
fun PrestoJobResponse(clientTags: List<String>, continueOnFailure: Boolean, loggingConfig: LoggingConfigResponse, outputFormat: String, properties: Map<String, String>, queryFileUri: String, queryList: QueryListResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Optional. Presto client tags to attach to this query

Link copied to clipboard

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.

Link copied to clipboard

Optional. The runtime log config for job execution.

Link copied to clipboard

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

Link copied to clipboard

Optional. A mapping of property names to values. Used to set Presto session properties (https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI

Link copied to clipboard

The HCFS URI of the script that contains SQL queries.

Link copied to clipboard

A list of queries.