View Source GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskSparkTaskConfig (google_api_dataplex v0.15.0)
User-specified config for running a Spark task.
Attributes
-
archiveUris
(type:list(String.t)
, default:nil
) - Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. -
fileUris
(type:list(String.t)
, default:nil
) - Optional. Cloud Storage URIs of files to be placed in the working directory of each executor. -
infrastructureSpec
(type:GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskInfrastructureSpec.t
, default:nil
) - Optional. Infrastructure specification for the execution. -
mainClass
(type:String.t
, default:nil
) - The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris. The execution args are passed in as a sequence of named process arguments (--key=value). -
mainJarFileUri
(type:String.t
, default:nil
) - The Cloud Storage URI of the jar file that contains the main class. The execution args are passed in as a sequence of named process arguments (--key=value). -
pythonScriptFile
(type:String.t
, default:nil
) - The Gcloud Storage URI of the main Python file to use as the driver. Must be a .py file. The execution args are passed in as a sequence of named process arguments (--key=value). -
sqlScript
(type:String.t
, default:nil
) - The query text. The execution args are used to declare a set of script variables (set key="value";). -
sqlScriptFile
(type:String.t
, default:nil
) - A reference to a query file. This can be the Cloud Storage URI of the query file or it can the path to a SqlScript Content. The execution args are used to declare a set of script variables (set key="value";).
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskSparkTaskConfig{ archiveUris: [String.t()] | nil, fileUris: [String.t()] | nil, infrastructureSpec: GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskInfrastructureSpec.t() | nil, mainClass: String.t() | nil, mainJarFileUri: String.t() | nil, pythonScriptFile: String.t() | nil, sqlScript: String.t() | nil, sqlScriptFile: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.