edu_edfi_airflow v0.3.0
New features
- Add
/keyChanges
ingestion for resource endpoints - Add new method for
EdFiResourceDAG
endpoint instantiation usingresource_configs
anddescriptor_configs
arguments in init- The prior methods
EdFiResourceDAG.{add_resource, add_descriptor, add_resource_deletes}
are deprecated in favor of this more performant approach.
- The prior methods
- Refactor
EdFiToS3Operator
taskgroup into three options (determined byrun_type
argument):- "default": One
EdFiToS3Operator
task per resource/deletes/keyChanges endpoint - "bulk": One
BulkEdFiToS3Operator
task in which all endpoints are looped over in one callable - "dynamic": One dynamically-mapped
EdFiToS3Operator
task per resource with deltas to ingest
- "default": One
Under the hood
- Copies from S3 to Snowflake in
EdFiResourceDAG
are now completed in a single bulk task (instead of one per endpoint) EdFiResourceDAG
andEarthbeamDAG
now inherit fromea_airflow_util
DAG factoryEACustomDAG
- Streamline XCom passing between tasks in
EdFiResourceDAG
- Change-version window delta counts are made when checking change versions in Snowflake.
- Only resources with rows-to-ingest are passed to the Ed-Fi operator.
Full Changelog: v0.2.5...v0.3.0