Examples
Visit the Great Expectations Airflow Provider repository to explore examples of end-to-end configuration and usage.
Exercise an example DAG
The example DAGs can be exercised with the open-source Astro CLI or with the Airflow web UI.
To exercise an example DAG with the open-source Astro CLI:
- Initialize a project with the Astro CLI.
- Copy the example DAG into the
dags/folder of your Astro project. - Copy the contents of the
include/folder of this repository into theinclude/directory of your Astro project. - Add the following to your
Dockerfileto install theairflow-provider-great-expectationspackage: - Start Docker.
- Run
astro dev startto view the DAG on a local Airflow instance.
To exercise an example DAG with the Airflow web UI:
- Add the example DAG to your
dags/folder. - Make the
include/directory available in your environment. - Go to the DAGs View in the Airflow UI.
- Find the example DAG in the list and click the play button next to it.