4. Glue (quick summary)

17 cards

Review this deck
All cards in this deck

Data Catalog: Metadata only (schema/location/partitions) — dropping a table keeps the data

4. Glue (quick summary)

Crawler

classifier → infer schema → partitions from key=value

Faster crawls

incremental | S3 EVENT-BASED (SQS) | partition projection

Custom classifier

Grok/XML/JSON path (runs before built-in)

Schema Registry

STREAMING schemas (Avro/JSON/Protobuf) + compatibility

Jobs: Spark ETL | Streaming | Python shell (0.0625 DPU, small tasks) | Ray

4. Glue (quick summary)

Workers

G.1X/2X/4X/8X; G.025X (streaming); Auto Scaling

FLEX

-34% for batch with no SLA

BOOKMARK

incremental — REQUIRES transformation_ctx + job.commit

Jobs: fails midway → re-reads (at-least-once) → idempotent sink

4. Glue (quick summary)

push_down_predicate

filter partitions before reading S3

enableUpdateCatalog + partitionKeys

new partitions added to the catalog automatically

DynamicFrame

choice type → ResolveChoice; nested JSON → Relationalize

Driver OOM

millions of small files → groupFiles/compaction

1 task slow forever

data skew → AQE/salt/broadcast join

Tuning: GZIP text not splittable; Parquet+Snappy OK

4. Glue (quick summary)

Tuning: DPU-hour = workers × hours → running faster means cheaper

4. Glue (quick summary)

4. Glue (quick summary) – Flashcards – DEA-C01 | Học Dev