JobPrestoConfig

data class JobPrestoConfig(val clientTags: List<String>? = null, val continueOnFailure: Boolean? = null, val loggingConfig: JobPrestoConfigLoggingConfig? = null, val outputFormat: String? = null, val properties: Map<String, String>? = null, val queryFileUri: String? = null, val queryLists: List<String>? = null)

Constructors

Link copied to clipboard
constructor(clientTags: List<String>? = null, continueOnFailure: Boolean? = null, loggingConfig: JobPrestoConfigLoggingConfig? = null, outputFormat: String? = null, properties: Map<String, String>? = null, queryFileUri: String? = null, queryLists: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

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

Presto client tags to attach to this query.

Link copied to clipboard

Whether to continue executing queries if a query fails. Setting to true can be useful when executing independent parallel queries. Defaults to false.

Link copied to clipboard
Link copied to clipboard
val outputFormat: String? = null

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

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

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

Link copied to clipboard
val queryFileUri: String? = null

The HCFS URI of the script that contains SQL queries. Conflicts with query_list

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

The list of SQL queries or statements to execute as part of the job. Conflicts with query_file_uri