The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/datetime-range-filter-coalesce-index has failed.
Run started by GitHub user hkc-8010 (triggered by hkc-8010).

Head commit for run:
0b1c5982936c88ae0cd5ca0e893e39cfba5fce86 / Hemkumar Chheda 
<[email protected]>
address review: simplify lower bound OR and fix attribute_name check

- Simplify lower bound NULL branch: drop NOW() >= x condition.
  For a lower bound on a nullable column, NULL (not-yet-ended/started)
  satisfies any lower bound unconditionally, so `(col >= x) OR (col IS
  NULL)` is sufficient. Upper bounds keep `AND now() <= x` because a
  running task should only match an upper-bound window that extends to the
  present or future.
- Fix factory to check `attribute_name or filter_name` instead of only
  `filter_name`. Callers like `datetime_range_filter_factory("dag_run_end_date",
  DagRun, "end_date")` in dags.py were returning a plain RangeFilter
  instead of NullableDatetimeRangeFilter because `filter_name` was not
  "end_date".
- Add three new tests: lower-bound emits no now(), upper-bound emits
  now(), attribute_name alias returns NullableDatetimeRangeFilter.

Report URL: https://github.com/apache/airflow/actions/runs/25665173135

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to