Editing Spark scripts in the Amazon Glue console - Amazon Glue
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Editing Spark scripts in the Amazon Glue console

A script contains the code that extracts data from sources, transforms it, and loads it into targets. Amazon Glue runs a script when it starts a job.

Amazon Glue ETL scripts can be coded in Python or Scala. Python scripts use a language that is an extension of the PySpark Python dialect for extract, transform, and load (ETL) jobs. The script contains extended constructs to deal with ETL transformations. When you automatically generate the source code logic for your job, a script is created. You can edit this script, or you can provide your own script to process your ETL work.

For information about defining and editing scripts using the Amazon Glue console, see Jobs (legacy).