dbt-glue
dbt adapter for AWS Glue
What it is and what it does
dbt-glue bridges dbt's transformation framework with AWS Glue's managed Spark engine, letting data teams write dbt models that execute as Spark jobs on Glue. It implements the dbt adapter protocol to translate dbt's SQL and Jinja templates into Spark-compatible operations, handling table creation, partitioning, and metadata management through Glue's catalog and Lake Formation permissions.
The adapter integrates with Glue Interactive Sessions, meaning your dbt runs spin up Spark clusters on demand rather than requiring persistent infrastructure. It depends on dbt-core, dbt-spark, boto3, and pyarrow, and requires AWS IAM roles and S3 bucket access for both metadata and data storage. Configuration happens through standard dbt profiles, specifying your Glue role, region, worker count, and S3 location for output data.
Use it for:
- Transform raw data in S3 using dbt models, with results catalogued in Glue and queryable via Athena or other tools.
- Build ELT pipelines that cleanse and denormalize data in place using Spark, coordinated through dbt's DAG and testing framework.
- Manage data lake transformations with Lake Formation permissions, using dbt to orchestrate schema and table updates.
- Run scheduled dbt jobs on AWS Glue without managing Spark clusters, leveraging Glue's serverless session provisioning.
- Integrate dbt workflows into AWS data platforms that already use Glue for ETL, unifying transformation logic.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
dbt-glue is a dbt adapter that enables running dbt transformations against AWS Glue's Spark engine using the Glue Interactive Sessions API.
Yes, if you are already running AWS Glue and want to adopt dbt for transformation orchestration and testing. The adapter is actively maintained, has low install friction, and permissive licensing. However, verify that your use case aligns with Spark's capabilities and Glue's cost model, and confirm production-readiness expectations given the Beta status.
Install
dbt-glue on PyPI
pip
pip install dbt-glueuv
uv add dbt-gluepoetry
poetry add dbt-glueInstalling dbt-glue
Before you install
Low install friction with a pure Python wheel. Active maintenance with recent commits and a stable release cadence; marked as Beta status. Requires dbt-core, dbt-spark, and AWS SDK dependencies (boto3), all of which are well-maintained.
License in practice
Permissive license treatment means you can use this adapter in commercial and proprietary projects without significant legal constraints.
Quickstart
pip install dbt-glue
# In profiles.yml:
type: glue
role_arn: arn:aws:iam::ACCOUNT:role/GlueRole
region: us-east-1
schema: dbt_demo
location: s3://bucket/path
Requires Python 3.9 or later; AWS credentials and IAM permissions for Glue, Lake Formation, and S3 access must be configured; boto3 and AWS CLI setup recommended.
Verify before relying
- Whether the adapter supports all dbt features or has known limitations in Spark/Glue compatibility.
- Performance characteristics and cost implications of running dbt models through Glue Interactive Sessions.
- Maturity level beyond 'Beta' status and production-readiness guarantees.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — dbt-core, dbt-spark, dbt-common, dbt-adapters, waiter, pyarrow, boto3 |
| Maintenance | actively maintained — 177 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 361,629/month — #7,237 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dbt_glue-1.10.19-py3-none-any.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
dbt-bigquerydbt-bigquery is a dbt adapter that enables data…
permissive · top 5,000 on PyPI
awsglue-devProvides Python interfaces to AWS Glue's ETL…
unclear · top 5,000 on PyPI
dbt-snowflakedbt-snowflake is the Snowflake adapter for dbt,…
permissive · top 5,000 on PyPI
dbt-postgresdbt-postgres is a dbt adapter that connects dbt…
permissive · top 5,000 on PyPI
dbt-sparkdbt-spark is the Apache Spark adapter for dbt,…
permissive · top 5,000 on PyPI
dbt-redshiftdbt-redshift is an adapter that enables dbt to…
permissive · top 5,000 on PyPI
aws-cdk.aws-glue-alphaProvides AWS CDK L2 constructs for defining AWS…
permissive · top 5,000 on PyPI
dbt-athenadbt-athena is a dbt adapter that enables data…
permissive · top 5,000 on PyPI
dbt-statedbt-state is a dbt plugin that caches model…
permissive · top 15,000 on PyPI
pulp-gluepulp-glue is a command-line interface for Pulp…
copyleft · top 15,000 on PyPI