Catalog and Query
Use this sub-skill when the user is working with wr.catalog.*, wr.athena.*, wr.data_quality.*, or wr.cleanrooms.* workflows.
Typical triggers:
- "create a Glue table"
- "register a parquet dataset for Athena"
- "run an Athena query"
- "use CTAS or UNLOAD"
- "manage Athena prepared statements"
- "create or evaluate a data quality ruleset"
- "read from AWS Clean Rooms"
Read references/api-reference.md for the function map and public signatures.
Read references/workflows.md for the common end-to-end query and metadata flows.
Read references/troubleshooting.md for Athena, Glue, Data Quality, and Clean Rooms failure modes.
Use ../../scripts/check_runtime.py from the root skill when you need to check importability, extras, or engine mode before a workflow.
Include here
- Glue Catalog database, table, partition, and schema helpers.
- Athena query execution, result handling, CTAS, UNLOAD, prepared statements, table inspection, and Spark-on-Athena helpers.
- Glue Data Quality ruleset creation, update, retrieval, recommendation, and evaluation.
- AWS Clean Rooms SQL query execution and query waiting.
Exclude or route elsewhere
- S3 object movement, read/write, S3 Tables, Delta Lake, and S3 Vectors go to
s3-lakehouse.
- Redshift, Data API, and direct relational connectors go to
sql-connectors.
- Runtime, extras, and distributed execution questions go to
runtime-and-config.
- DynamoDB, Timestream, OpenSearch, Neptune, QuickSight, CloudWatch, EMR, STS, Secrets Manager, and Chime go to
service-integrations.
Common user outcomes
A future agent should be able to:
- register S3-backed datasets in Glue,
- inspect and evolve catalog metadata,
- build and run Athena queries with the right output location and workgroup,
- manage data quality rulesets,
- and handle Clean Rooms query execution with the right membership and output settings.
Shared references and scripts
references/api-reference.md
references/workflows.md
references/troubleshooting.md
scripts/smoke_catalog_moto.py
1---2name: catalog-and-query3description: "Guides awswrangler Glue Catalog, Athena, Data Quality, and AWS4 Clean Rooms workflows."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/catalog-and-query8 disco-role: operating9license: Apache 2.010---1112# Catalog and Query1314Use this sub-skill when the user is working with `wr.catalog.*`, `wr.athena.*`, `wr.data_quality.*`, or `wr.cleanrooms.*` workflows.1516Typical triggers:17- "create a Glue table"18- "register a parquet dataset for Athena"19- "run an Athena query"20- "use CTAS or UNLOAD"21- "manage Athena prepared statements"22- "create or evaluate a data quality ruleset"23- "read from AWS Clean Rooms"2425Read `references/api-reference.md` for the function map and public signatures.26Read `references/workflows.md` for the common end-to-end query and metadata flows.27Read `references/troubleshooting.md` for Athena, Glue, Data Quality, and Clean Rooms failure modes.28Use `../../scripts/check_runtime.py` from the root skill when you need to check importability, extras, or engine mode before a workflow.2930## Include here3132- Glue Catalog database, table, partition, and schema helpers.33- Athena query execution, result handling, CTAS, UNLOAD, prepared statements, table inspection, and Spark-on-Athena helpers.34- Glue Data Quality ruleset creation, update, retrieval, recommendation, and evaluation.35- AWS Clean Rooms SQL query execution and query waiting.3637## Exclude or route elsewhere3839- S3 object movement, read/write, S3 Tables, Delta Lake, and S3 Vectors go to `s3-lakehouse`.40- Redshift, Data API, and direct relational connectors go to `sql-connectors`.41- Runtime, extras, and distributed execution questions go to `runtime-and-config`.42- DynamoDB, Timestream, OpenSearch, Neptune, QuickSight, CloudWatch, EMR, STS, Secrets Manager, and Chime go to `service-integrations`.4344## Common user outcomes4546A future agent should be able to:47- register S3-backed datasets in Glue,48- inspect and evolve catalog metadata,49- build and run Athena queries with the right output location and workgroup,50- manage data quality rulesets,51- and handle Clean Rooms query execution with the right membership and output settings.5253## Shared references and scripts5455- `references/api-reference.md`56- `references/workflows.md`57- `references/troubleshooting.md`58- `scripts/smoke_catalog_moto.py`