AWS Glue Release Notes - AWS Glue

AWS Glue Release Notes

The AWS Glue version parameter is configured when adding or updating a job. AWS Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. The following table lists the available AWS Glue versions, the corresponding Spark and Python versions, and other changes in functionality.

AWS Glue Versions

AWS Glue version Supported Spark and Python versions Changes in Functionality
AWS Glue 0.9
  • Spark 2.2.1

  • Python 2.7

Jobs that were created without specifying a AWS Glue version default to AWS Glue 0.9.

AWS Glue 1.0
  • Spark 2.4.3

  • Python 2.7

  • Python 3.6

You can maintain job bookmarks for Parquet and ORC formats in AWS Glue ETL jobs (using AWS Glue version 1.0). Previously, you were only able to bookmark common Amazon S3 source formats such as JSON, CSV, Apache Avro and XML in AWS Glue ETL jobs.

When setting format options for ETL inputs and outputs, you can specify to use Apache Avro reader/writer format 1.8 to support Avro logical type reading and writing (using AWS Glue version 1.0). Previously, only the version 1.7 Avro reader/writer format was supported.

The DynamoDB connection type supports a writer option (using AWS Glue Version 1.0).

AWS Glue 2.0
  • Spark 2.4.3

  • Python 3.7

In addition to the features provided in AWS Glue version 1.0, AWS Glue Version 2.0 also provides:

  • An upgraded infrastructure for running Apache Spark ETL jobs in AWS Glue with reduced startup times.

  • Default logging is now realtime, with separate streams for drivers and executors, and outputs and errors.

  • Support for specifying additional Python modules or different versions at the job level.

Note

AWS Glue version 2.0 differs from AWS Glue Version 1.0 for some dependencies and versions due to underlying architectural changes. Please validate your Glue jobs before migrating across major AWS Glue version releases.

For more information about AWS Glue Version 2.0 features and limitations, see Running Spark ETL Jobs with Reduced Startup Times.

AWS Glue 3.0
  • Spark 3.1.1

  • Python 3.7

AWS Glue 3.0 is the new version of AWS Glue. In addition to the Spark engine upgrade to 3.0, there are optimizations and upgrades built into this AWS Glue release, such as:

  • Builds the AWS Glue ETL Library against Spark 3.0, which is a major release for Spark.

  • Streaming jobs are supported on AWS Glue 3.0.

  • Includes new AWS Glue Spark runtime optimizations for performance and reliability:

    • Faster in-memory columnar processing based on Apache Arrow for reading CSV data.

    • SIMD based execution for vectorized reads with CSV data.

    • Spark upgrade also includes additional optimizations developed on Amazon EMR.

    • Upgraded EMRFS from 2.38 to 2.46 enabling new features and bug fixes for Amazon S3 access.

  • Upgraded several dependencies that were required for the new Spark version. See Appendix A: notable dependency upgrades.

  • Upgraded JDBC drivers for our natively supported data sources. See Appendix B: JDBC driver upgrades.

Limitations

The following are limitations with AWS Glue 3.0:

  • AWS Glue machine learning transforms are not yet available in AWS Glue 3.0.

  • Some custom Spark connectors do not work with AWS Glue 3.0 if they depend on Spark 2.4 and do not have compatibility with Spark 3.1.

For more information about migrating to AWS Glue version 3.0, see Migrating AWS Glue jobs to AWS Glue version 3.0 Actions to migrate to AWS Glue 3.0.