Workflows: Fetch, store and transform data
hibase Workflows let you model recurring tasks through a straightforward, lean and yet powerful interface.
A workflow is as a unit of work which can run in isolation and produce a useful output.
Workflows have the following characteristics:
- They run at regular intervals
- They are composed of steps which are logically sequential to one another
- They might depend on other workflows to be completed before they are themselves ready for execution
Well designed workflows are short in the amount of steps and address one specific task. Additionally, they minimize the amount of data that is transferred from their source to their target and they only run at a meaningful frequency.
For example, the goal of one workflow might be to push newly registered users from your production database to your data warehouse. Such a workflow might look like this:
- A first step queries the production database (the Data source of the workflow) for newly signed up users and stores those in a staging table of your data warehouse (the Target of the workflow).
This can be achieved, for example, by injecting step parameters retrieved from the data warehouse itself into the Data source query:
-- Step SQL Parameters
SELECT max(created_at) AS last_created,
max(updated_at) AS last_updated
FROM dwh.users
and then injecting these parameters into the Data source query itself:
-- Data Source Query
SELECT *
FROM production.users
{{ WHERE created_at > $last_created }}
{{ OR updated_at > $last_updated }}
- A second step runs an SQL query onto the staging table to clean, transform and enrich data before it's stored into its final destination.
Getting started
It's useful that you familiarize yourself with a few concepts in order to make the most out of hibase Workflows:
- Learn about the different types of Steps within hibase Workflows: Transfer Data, Execute Query, and Evaluate Expression
- Discover how parameters can help make your workflows smarter and more automated
- Design more granular and independent workflows by making them interdependent
Platform features
- Editing Workflows — creating workflows, managing steps, version control, copying, concurrent editing
- Step Configuration — data sources, write strategies, flex columns & schema, evaluate steps, parameter queries
- Debugging — SQL and connector query debug windows, auto-parameter resolution, streaming logs
- Running Workflows — manual and bulk execution, tagging, notifications, folder organization
- Dependency Graph — visual pipeline graph with status badges, lineage highlighting, real-time updates
- Connections — managing databases, API connectors, and OAuth authorization