TrinoJobArgs

data class TrinoJobArgs(val clientTags: Output<List<String>>? = null, val continueOnFailure: Output<Boolean>? = null, val loggingConfig: Output<LoggingConfigArgs>? = null, val outputFormat: Output<String>? = null, val properties: Output<Map<String, String>>? = null, val queryFileUri: Output<String>? = null, val queryList: Output<QueryListArgs>? = null) : ConvertibleToJava<TrinoJobArgs>

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 TrinoJobArgs(clientTags: Output<List<String>>? = null, continueOnFailure: Output<Boolean>? = null, loggingConfig: Output<LoggingConfigArgs>? = null, outputFormat: Output<String>? = null, properties: Output<Map<String, String>>? = null, queryFileUri: Output<String>? = null, queryList: Output<QueryListArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TrinoJobArgs

Properties

Link copied to clipboard
val clientTags: Output<List<String>>? = null

Optional. Trino client tags to attach to this query

Link copied to clipboard
val continueOnFailure: Output<Boolean>? = null

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
val loggingConfig: Output<LoggingConfigArgs>? = null

Optional. The runtime log config for job execution.

Link copied to clipboard
val outputFormat: Output<String>? = null

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

Link copied to clipboard
val properties: Output<Map<String, String>>? = null

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
val queryFileUri: Output<String>? = null

The HCFS URI of the script that contains SQL queries.

Link copied to clipboard
val queryList: Output<QueryListArgs>? = null

A list of queries.