Sign in to create and edit playbooks. Sign In Register

Catalog with AWS Glue

BPE-4 Order: #4 Datalake Formation Has Dependencies

Updated 1 month, 2 weeks ago

Guidance

Purpose

Register curated prefixes in Glue so Athena can see tables without hand-written DDL.

Inputs

  • Partitioned Parquet Data Lake.
  • Lake Scope Contract (athena_database default ops_catalog, views).
  • Populate-Lake Pipeline (one-shot crawler start). Starter: .github/workflows/populate-lake.yml.
  • Skills AWS Glue Cataloging and Populate the Lake.

Steps

  1. Open skills AWS Glue Cataloging and Populate the Lake. Do not start crawlers in the Glue console.
  2. One database named from contract athena_database (default ops_catalog). One crawler per views entry, scoped to s3://{curated}/{table}/. CDK already declared them — intern does not click Create crawler.
  3. Daily schedule cron(0 6 * * ? *) plus populate-lake job step start-crawler after Parquet sync. Wait until State=READY: aws glue get-crawler --name {table}_crawler (name from CatalogStack).
  4. Built-in Parquet classifier only unless a source fails auto-detect.
  5. If Glue reports duplicate columns, go back to Store Compressed and Partitioned in S3 (source leaked into Parquet body). Do not patch the crawler.
  6. Escalate to Operations Analyst before applying a crawler change that alters an existing column type.

Done when

  • Glue tables exist for every contract view that has Parquet (table name = view name).
  • No crawlers for unscoped systems.

Feeds

Present the Catalog via Athena.

Details
Order:
#4
Phase:
Predecessor:
BPE-3 Store Compressed and Partitioned in S3
Successor:
BPE-5 Present the Catalog via Athena
Created:
Aug 31, 2026
Last Updated:
Sep 17, 2026
Workflow
Build the Operational Data Lake Pipeline

Pull operational history from the systems people actually work in into the lake, including closed work, so duration and wait …

View Workflow
Assigned Agent
Data Platform Engineer

Agent: Data Platform Engineer Role Owns Datalake Formation: Scope Contract → Python CDK (DeployStack + …

Required Skills
Rules
Input Artifacts 4
Output Artifacts 1