Skip to main content
Version: v2.10.0

Scala

These jobs enable rapid prototyping, quick transformations, testing logic, and performing Spark operations without compiling a JAR. Raw Scala jobs allow users to run inline Scala code or upload Scala scripts directly. You'll reach it from the Create Job form via Job Type → Custom Code → Language → Raw Scala.

Scala Job

Required Fields

FieldRequiredNotes
Cluster-Target cluster for execution
Job TypeYesCustom Code
LanguageYesRaw Scala
PathYesScala script location, selected with Choose file
ArgumentsNoArguments passed to the script

Advanced Options

An Append checkbox plus six dependency tabs:

TabPurpose
ConfigsSpark configuration Key / Value rows (with Bulk Edit)
PackagesAdd external libraries
JarsAdd external dependencies
RepositoriesSpecify dependency sources
ArchivesInclude archive files
FilesAttach supporting files

Followed by Principal & Key Tab, Driver Config, Concurrent Runs and Timeout. See Create Job.

Advanced Options

When to Use Raw Scala

We recommend Raw Scala jobs for:

  • Quick debugging
  • Developing Spark logic
  • Experimentation before converting to JAR jobs