dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
dbt is the T in ELT. Organize, cleanse, denormalize, filter, rename, and pre-aggregate the raw data in your warehouse so that it's ready for analysis.
The dbt-watsonx-presto
adapter uses Presto as the underlying SQL query engine to enable powerful data transformations and query federation across diverse data sources. With Presto, you can connect to multiple data systems (via available connectors) through a single dbt connection and process SQL queries efficiently at scale.
Transformations defined in dbt are passed to Presto, which executes these SQL queries by translating them into queries specific to the connected systems. Presto then creates tables, builds views, or manipulates data as defined by your dbt project.
This repository is an evolution of the dbt-presto adapter, specifically designed for seamless compatibility with both open-source Presto and IBM watsonx.data Presto clusters.
Read the official documentation for using watsonx.data with dbt-watsonx-presto -
- Install dbt
- Read the introduction and viewpoint
To install the dbt-watsonx-presto
plugin, use pip:
$ pip install dbt-watsonx-presto
To connect dbt Core to your Presto clusters, configure the profiles.yml
file located in the .dbt/
directory of your home directory. :
Example profiles.yml entry:
my_project:
outputs:
dev:
type: presto
method: BasicAuth
user: username
password: password
host: localhost
port: 443
database: analytics
schema: dbt_drew
threads: 8
ssl_verify: path/to/certificate
prod:
type: presto
method: BasicAuth
user: username
password: api_key
host: 127.0.0.1
port: 8080
database: analytics
schema: dbt_drew
threads: 8
ssl_verify: true
target: dev
For more detailed instructions on configuring your profiles, refer watsonx.data and presto setup .
For Presto-specific configurations, such as advanced session properties or Presto connectors, consult the Presto Configuration Guide.
We welcome contributions to the dbt-watsonx-presto project. Here’s how you can help:
- Report Issues: If you encounter bugs or have feature requests, please submit them via GitHub Issues.
- Submit Code: Follow the Contributing Guide to submit pull requests with improvements or new features.
By contributing to dbt-watsonx-presto, you agree that your contributions will be licensed under the Apache License Version 2.0 (APLv2).