Class PrestoJob
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.
Implements
Inherited Members
Namespace: Google.Apis.Dataproc.v1.Data
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class PrestoJob : IDirectResponseSchema
Properties
ClientTags
Optional. Presto client tags to attach to this query
Declaration
[JsonProperty("clientTags")]
public virtual IList<string> ClientTags { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ContinueOnFailure
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.
Declaration
[JsonProperty("continueOnFailure")]
public virtual bool? ContinueOnFailure { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LoggingConfig
Optional. The runtime log config for job execution.
Declaration
[JsonProperty("loggingConfig")]
public virtual LoggingConfig LoggingConfig { get; set; }
Property Value
Type | Description |
---|---|
LoggingConfig |
OutputFormat
Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats
Declaration
[JsonProperty("outputFormat")]
public virtual string OutputFormat { get; set; }
Property Value
Type | Description |
---|---|
string |
Properties
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
Declaration
[JsonProperty("properties")]
public virtual IDictionary<string, string> Properties { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
QueryFileUri
The HCFS URI of the script that contains SQL queries.
Declaration
[JsonProperty("queryFileUri")]
public virtual string QueryFileUri { get; set; }
Property Value
Type | Description |
---|---|
string |
QueryList
A list of queries.
Declaration
[JsonProperty("queryList")]
public virtual QueryList QueryList { get; set; }
Property Value
Type | Description |
---|---|
QueryList |