legout/data-agent-skills/managing-data-catalogs

Claude Code and agent skill by legout/data-agent-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Data catalogs for lakehouse architectures: Iceberg catalogs (Hive Metastore, AWS Glue, REST/Tabular), using DuckDB as a lightweight multi-source catalog, and comparisons of open-source metadata tools (Amundsen, DataHub, OpenMetadata).

Install

npx vskill@latest install legout/data-agent-skills/managing-data-catalogs

SKILL.md

The same SKILL.md was published earlier as legout/data-agent-skills/managing-data-catalogs.

Managing Data Catalogs

Guide to selecting, configuring, and using data catalog systems for data discovery, governance, and unified table access across multiple query engines.


When to Use This Skill

Use this skill when:

  • Setting up an Iceberg catalog (Hive Metastore, AWS Glue, REST/Tabular)
  • Comparing catalog options for your data platform
  • Using DuckDB to unify queries across heterogeneous data sources
  • Evaluating open-source metadata discovery tools (DataHub, OpenMetadata)
  • Configuring cross-service table access (Athena, EMR, Spark, DuckDB)

Do not use this skill for:

  • Table format selection (Delta vs Iceberg) → use @designing-data-storage
  • Cloud storage authentication patterns → use @accessing-cloud-storage
  • Raw storage I/O without catalog abstraction → use @accessing-cloud-storage
  • General ETL pipeline patterns → use @building-data-pipelines

Quick Catalog Type Comparison

CatalogBackendManaged?Best For
Hive MetastoreRDBMS (Postgres/MySQL)Self-hostedExisting Hadoop, high partition counts
AWS GlueAWS-managed serverlessAWS-managedAWS-native stacks (Athena, EMR)
Tabular/RESTSaaS (Nessie-backed)Vendor-managedIceberg-native, Git-like branching
DuckDB (embedded)Local file/PostgresSelf-hostedSingle-user, PoC, small teams

When to Use Which Catalog

ScenarioRecommended CatalogWhy
AWS-native (Athena, Redshift Spectrum)AWS GlueServerless, IAM integration
Self-hosted Hadoop/SparkHive MetastoreBattle-tested, no vendor lock-in
Iceberg-first, multi-cloudTabular or HiveNative Iceberg features or flexibility
Small team, PoC, analyticsDuckDBZero infrastructure, SQL-native
LinkedIn-scale metadataDataHubEnterprise lineage, scale
Governance-heavy workflowsOpenMetadataBuilt-in workflows, data quality

Core Patterns

Catalog → Table → Storage Mapping
Catalog (name) → Table identifier → Metadata location → Data files
(schema, snapshots, partitions)

Key insight: The catalog stores only metadata pointers. Actual data lives in object storage (S3, GCS, Azure).

Multi-Engine Access Pattern
python
# Same table, different engines
table = catalog.load_table("db.events")
# PyIceberg → Pandas DataFrame
df = table.scan().to_pandas()
# Spark SQL (via same catalog)
spark.table("db.events") # Same underlying data
# DuckDB (via ATTACH or REST catalog)
SELECT * FROM iceberg.db.events

Detailed Guides

GuideCoversWhen to Read
[Hive Metastore](./hive-metastore.md)Docker deployment, PyIceberg integration, pros/consSelf-hosting Hadoop/Spark
[AWS Glue Catalog](./aws-glue-catalog.md)GlueCatalog setup, crawlers, IAM, Unity Catalog federationAWS-native stacks
[REST Catalog & Tabular](./rest-catalog.md)Tabular SaaS, Nessie patterns, Git-like branchingIceberg-first, multi-cloud
[DuckDB Multi-Source](./duckdb-catalog.md)ATTACH patterns, unified views, limitationsSingle-user/PoC catalog
[Open Source Tools](./open-source-catalogs.md)Amundsen vs DataHub vs OpenMetadata comparisonMetadata discovery/governance

Quick Reference: PyIceberg Catalog Setup

python
from pyiceberg.catalog import load_catalog
# Hive Metastore
catalog = load_catalog("hive", **{
"type": "hive",
"uri": "thrift://localhost:9083",
"warehouse": "s3://bucket/warehouse/"
})
# AWS Glue
catalog = load_catalog("glue", **{
"type": "glue",
"region": "us-east-1",
"warehouse": "s3://bucket/warehouse/"
})
# REST/Tabular
catalog = load_catalog("rest", **{
"type": "rest",
"uri": "https://api.tabular.io/ws/...",
"token": "tabular-token-...",
"warehouse": "s3://bucket/warehouse/"
})
# Create and query table
table = catalog.create_table("db.events", schema=schema)
table.append(data)
df = table.scan().to_pandas()

Best Practices

Catalog Selection
  1. Default to Hive Metastore if you have Hadoop investments
  2. Use AWS Glue for pure AWS (Athena, EMR, Redshift Spectrum)
  3. Choose Tabular for Iceberg-native with branching needs
  4. Separate concerns: Iceberg catalog (table storage) ≠ business metadata catalog (OpenMetadata for discovery)
DuckDB-as-Catalog (Development Only)
  • Use for single-user notebooks or small team PoC
  • Store catalog file in version control (encrypt credentials)
  • Use Postgres as DuckLake backend for multi-client writes
  • Back up regularly if using as primary catalog
Security
  • Never hardcode credentials in catalog configs
  • Use IAM roles (AWS), service principals (Azure), or workload identity (GCP)
  • Store tokens/secrets in environment variables or secret managers

See Also

  • @designing-data-storage - Delta Lake, Iceberg table formats, file format selection
  • @accessing-cloud-storage - fsspec, pyarrow.fs, obstore for storage access
  • @building-data-pipelines - ETL patterns using catalog-registered tables

References

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/legout/data-agent-skills/managing-data-catalogs/badge)](https://verified-skill.com/skills/legout/data-agent-skills/managing-data-catalogs)

Something wrong with this skill or its page? Tell us.