Skip to main content
Version: v2.10.0

Python

Python jobs provide flexibility for data transformations, analytics, automation, machine learning, and ETL pipelines. Python jobs allow users to run Python scripts or Spark-based PySpark workloads. You'll reach it from the Create Job form via Job Type → Custom Code → Language → Python.

Python Job

Required Fields

FieldRequiredNotes
Cluster-Cluster where the job will execute
Job TypeYesCustom Code
LanguageYesPython
PathYesPython script location, selected with Choose file
ArgumentsNoArguments required by the Python script

Advanced Options

An Append checkbox plus six dependency tabs:

TabPurpose
ConfigsSpark configuration Key / Value rows (with Bulk Edit)
PackagesInstall required dependencies
JarsAttach external libraries
RepositoriesRepositories used to resolve dependencies
ArchivesAdd compressed resources
FilesInclude supporting files

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

Advanced Options

When to Use Python Jobs

We recommend Python jobs for:

  • Machine learning workflows
  • Data wrangling scripts
  • PySpark ETL