PrestoJobArgs

data class PrestoJobArgs(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<PrestoJobArgs>

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 PrestoJobArgs(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(): PrestoJobArgs

Properties

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

Optional. Presto 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 Presto 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 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
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.