Nike-Inc / brickflow

Pythonic Programming Framework to orchestrate jobs in Databricks Workflow
https://engineering.nike.com/brickflow/
Apache License 2.0
183 stars 36 forks source link

[fix] AutosysSensor: Handle the situations where `lastEndUTC` is empty or None #113

Closed maxim-mityutko closed 3 months ago

maxim-mityutko commented 3 months ago

Description

Handle the situations where lastEndUTC data is None plus add tests to test the overall logic and error handling.

Related Issue

112

Motivation and Context

Operator is failing if lastEndUTC is empty.

How Has This Been Tested?

A set of local tests has been implemented + used custom wheel in the workflow

Screenshots (if appropriate):

Types of changes

Checklist: