ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

服务 · Analytics · 基于 CLF-C02

AWS Glue

Serverless ETL and the Data Catalog: crawl data, transform it, and write it as Parquet.

本课尚未翻译,暂以英文显示。

你在云从业者中已学过

  • Glue is serverless, pay as you go and does ETL (extract, transform, load).
  • Crawlers find data and its structure. The Data Catalog lists the tables.
  • Athena, EMR and Redshift read tables from the Data Catalog.
阅读云从业者课程
Raw CSV in S3
Crawler
Data Catalog
Glue
Parquet in S3
Athenascanschemareadwrite
Crawl to catalog the data, then an ETL job rewrites it as Parquet.
  • Glue

    When
    Serverless ETL, least operations
    Limit
    Spark and Python jobs
  • EMR

    When
    Hadoop, Hive, HBase or tuned Spark
    Limit
    You manage the cluster
  • Lambda

    When
    Small, event-driven transforms
    Limit
    15 minutes per run
Where Glue fits among data processing options.

是什么

A crawler scans a data store, such as an S3 prefix, works out the format and columns, and creates or updates a table in the Data Catalog. An ETL job is serverless Apache Spark (or Python) code that Glue runs for you. You pay for the capacity the job uses while it runs. Job bookmarks remember what a job already processed, so the next run reads only new data.

The classic exam job: convert CSV or JSON files to Parquet. Parquet is columnar and compressed, so Athena and Redshift Spectrum scan far less data. Glue Studio builds jobs visually. Glue DataBrew cleans and prepares data with no code. Glue can also run on a schedule, on demand, or on an event.

要记住

  • Crawlers fill the Data Catalog. The catalog is shared by Athena, EMR, Redshift Spectrum and Lake Formation.
  • ETL jobs are serverless Spark. No cluster to manage.
  • Job bookmarks process only new data on each run.
  • Typical job: CSV or JSON to Parquet, partitioned by date.
  • Glue Studio is visual. DataBrew is no-code data preparation.

考试中

  • “Serverless ETL” or “convert CSV to Parquet on a schedule” points to AWS Glue.
  • “Discover the schema of data in S3” points to a Glue crawler.
  • “Skip files that were already processed” points to job bookmarks.
  • “Custom Hadoop or Spark cluster with specific libraries” points to EMR instead.