×

Build and run scalable transformation pipelines using dbt Cloud and Starburst

Last Updated: December 19, 2023

It’s undeniable that dbt has increasingly become an industry standard for managing data transformations. That’s why we are excited to announce that we’ve partnered with the dbt Labs team to make transforming your disparate data as simple as possible by adding Starburst as a native, out-of-the-box connection option in dbt Cloud.

Why dbt Cloud and Starburst?

Starburst is a powerful data lake analytics platform that lets you discover, govern, and query in your data whether it resides in the lake or not. With the new dbt Cloud and Starburst integration, data teams can more efficiently build, test, and document data pipelines against multiple data sources in one central place.

In the rest of this article, we will discuss common use cases we see for dbt Cloud and Starburst, as well as the easiest way to get started with both tools.

Build a data lake reporting structure

As a data lake analytics platform, we spend a lot of time talking to data engineers who are responsible for extracting value from their company’s data lake. Unsurprisingly, the success of their data lake solution comes down to the quality of the organization of data within the lake.

Making the desired data available in the appropriate format is time-consuming due to poor documentation or data discoverability issues. This is often compounded with data pipelines that quickly become slow or outdated, falling out of step with analytical needs, due to the speed of business and the ever growing backlog of requests.

At Starburst, we’ve been actively delivering features that will help teams avoid these pitfalls. Some examples include:

But the combination of Starburst & dbt Cloud unlocks a new level of efficiency for data teams performing data lake analytics. Now anyone on the data team can safely contribute to production-grade data pipelines with features like version control and generated documentation.

Below is what a full pipeline with Starburst and dbt Cloud might look like:

  1. Use Starburst and dbt Cloud to extract data from a PostgreSQL database which holds customer information. This will be combined with the JSON sales data being landed directly in S3.
  2. Data from the landing zone is integrated into the structure zone using a variety of drop/create views and incremental loading. 
  3. Populate the consume layer with rollup tables to be queried by a variety of sql client tools.
  4. Consume the data via traditional BI tools, the Galaxy UI, or your other favorite tools.

 

Build transformations from federated data

While many organizations have goals to centralize as much data as possible in a single data lake or warehouse, the reality is that establishing that single source of data could take years. For others, centralization is an impossible goal, as new application data sources are added on an ongoing basis.

This raises an issue for data teams that want to leverage dbt’s workflow. Since dbt specializes in transforming data within a data warehouse, typically each project would be connected to a single data store. However, Starburst Galaxy’s superpower is the ability to federate queries orchestrated by dbt Cloud to multiple data sources from a single dbt repository. 

This means that you can leverage Starburst as your data platform for dbt Cloud, giving you the ability to easily build data pipelines for multiple data sources from one central plane.

Follow along with this series to learn how to build data pipelines using dbt and Starburst with data directly from your operational systems. The pipelines use a variety of sources including relational databases, NoSQL databases, and other systems. The resulting data is stored in the data lake using the open source Iceberg table format.

Get started with dbt and Starburst

Now that you’ve seen how to use dbt Cloud and Starburst to build data transformation pipelines, we encourage you to load your own sample or production data and dive into some of the more advanced functionality of dbt Cloud and Starburst. 

The seamless integration between dbt Cloud and Starburst Galaxy, Starburst’s fully-managed cloud platform, means you can now get up and running within minutes by following three easy steps: 

  1. Create a new dbt Cloud project.
  2. Select “Starburst” as the data platform; enter credentials and connect.
  3. Write queries as normal, using SQL JOINs between data from multiple sources while Starburst intelligently determines where to send requests.

The above steps assume you have a Starburst Galaxy account. For a complete quick start guide for dbt Cloud and Starburst, follow the quickstart.

Starburst Galaxy and dbt Cloud

Get up and running in minutes with the dbt quickstart

Get started

Start Free with
Starburst Galaxy

Up to $500 in usage credits included

  • Query your data lake fast with Starburst's best-in-class MPP SQL query engine
  • Get up and running in less than 5 minutes
  • Easily deploy clusters in AWS, Azure and Google Cloud
For more deployment options:
Download Starburst Enterprise

Please fill in all required fields and ensure you are using a valid email address.

s