public sealed class PrestoJob : IMessage<PrestoJob>, IEquatable<PrestoJob>, IDeepCloneable<PrestoJob>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class PrestoJob.
A Dataproc job for running Presto queries.
IMPORTANT: The Dataproc Presto Optional
Component
must be enabled when the cluster is created to submit a Presto job to the
cluster.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003ePrestoJob\u003c/code\u003e class within the Google Cloud Dataproc v1 API, detailing its use for running Presto queries on Dataproc clusters.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 5.17.0, with several prior versions listed dating back to 3.1.0 for users to reference if needed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePrestoJob\u003c/code\u003e class supports various features, including setting client tags, controlling query failure continuation, configuring logging, and setting Presto session properties.\u003c/p\u003e\n"],["\u003cp\u003eIt offers options for submitting queries either via a URI to a script file or through a direct list of queries, while also allowing users to specify the output format of the queries.\u003c/p\u003e\n"],["\u003cp\u003eThe page informs users that the Dataproc Presto Optional Component is required when creating a cluster to run a Presto job.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class PrestoJob (5.20.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.20.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.PrestoJob)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.PrestoJob) \n\n public sealed class PrestoJob : IMessage\u003cPrestoJob\u003e, IEquatable\u003cPrestoJob\u003e, IDeepCloneable\u003cPrestoJob\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class PrestoJob.\n\nA Dataproc job for running [Presto](https://prestosql.io/) queries.\n**IMPORTANT** : The [Dataproc Presto Optional\nComponent](https://cloud.google.com/dataproc/docs/concepts/components/presto)\nmust be enabled when the cluster is created to submit a Presto job to the\ncluster. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PrestoJob \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PrestoJob](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.PrestoJob), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PrestoJob](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.PrestoJob), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PrestoJob](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.PrestoJob), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataproc.V1](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataproc.V1.dll\n\nConstructors\n------------\n\n### PrestoJob()\n\n public PrestoJob()\n\n### PrestoJob(PrestoJob)\n\n public PrestoJob(PrestoJob other)\n\nProperties\n----------\n\n### ClientTags\n\n public RepeatedField\u003cstring\u003e ClientTags { get; }\n\nOptional. Presto client tags to attach to this query\n\n### ContinueOnFailure\n\n public bool ContinueOnFailure { get; set; }\n\nOptional. Whether to continue executing queries if a query fails.\nThe default value is `false`. Setting to `true` can be useful when\nexecuting independent parallel queries.\n\n### HasQueryFileUri\n\n public bool HasQueryFileUri { get; }\n\nGets whether the \"query_file_uri\" field is set\n\n### LoggingConfig\n\n public LoggingConfig LoggingConfig { get; set; }\n\nOptional. The runtime log config for job execution.\n\n### OutputFormat\n\n public string OutputFormat { get; set; }\n\nOptional. The format in which query output will be displayed. See the\nPresto documentation for supported output formats\n\n### Properties\n\n public MapField\u003cstring, string\u003e Properties { get; }\n\nOptional. A mapping of property names to values. Used to set Presto\n[session properties](https://prestodb.io/docs/current/sql/set-session.html)\nEquivalent to using the --session flag in the Presto CLI\n\n### QueriesCase\n\n public PrestoJob.QueriesOneofCase QueriesCase { get; }\n\n### QueryFileUri\n\n public string QueryFileUri { get; set; }\n\nThe HCFS URI of the script that contains SQL queries.\n\n### QueryList\n\n public QueryList QueryList { get; set; }\n\nA list of queries."]]