The GitHub Actions job "Check newsfragment PR number" on 
airflow.git/fix/owners-filter-exact-match has failed.
Run started by GitHub user 1fanwang (triggered by 1fanwang).

Head commit for run:
3e6394f7dc901ce97c0e44f1471de2731258fa71 / 1fanwang <[email protected]>
Fix REST API owners filter to match whole comma-separated elements

``DagModel.owners`` is stored as a ``", "``-joined string of one or more
owners. The previous filter used ``ILIKE '%<owner>%'`` against the raw column,
which returned false positives whenever the filter value was a substring of
any stored owner — most visibly, ``owners=Admin`` returned Dags whose owner
was ``NotAnAdmin``.

Normalise the separator to ``,``, wrap the column with sentinel commas, and
search for ``,<owner>,`` so each comparison is on a whole element. The single
ILIKE per term keeps the predicate cross-dialect (SQLite, Postgres, MySQL)
and lets databases reuse expression-style indexes as before.

Closes: #42790

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

With regards,
GitHub Actions via GitBox


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

Reply via email to