TrinoJobResponse

data class TrinoJobResponse(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 Trino (https://trino.io/) queries. IMPORTANT: The Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/trino) must be enabled when the cluster is created to submit a Trino job to the cluster.

Constructors

Link copied to clipboard
fun TrinoJobResponse(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. Trino 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 Trino documentation for supported output formats

Link copied to clipboard

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

Link copied to clipboard

The HCFS URI of the script that contains SQL queries.

Link copied to clipboard

A list of queries.