Skip to content

Files

This branch is up to date with DAGWorks-Inc/hamilton:main.

openlineage

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Nov 7, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024
Sep 10, 2024

OpenLineage Adapter

This is an example of how to use the OpenLineage adapter that can be used to send metadata to an OpenLineage server.

Motivation

OpenLineage is an open standard for data lineage. With Hamilton you can read and write data, and with OpenLineage you can track the lineage of that data.

Steps

  1. Build your project with Hamilton.
  2. Use one of the materialization approaches to surface metadata about what is loaded and saved.
  3. Use the OpenLineage adapter to send metadata to an OpenLineage server.

To run this example:

  1. Install the requirements:
pip install -r requirements.txt
  1. Run the example:
python run.py

Or run the example in a notebook:

jupyter notebook