The GitHub Actions job "Tests (AMD)" on 
airflow.git/sql-toolset-allowed-tables-enforcement has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
058ffc808718a811663ccffba3463cb9a4dd1704 / Kaxil Naik <[email protected]>
Allow CTE sources in DML against allowed_tables

A CTE used as a DML source (WITH src AS (...) INSERT INTO orders SELECT * FROM
src) was falsely rejected: CTE scoping was disabled for the whole DML statement,
so src was checked against allowed_tables as if it were a base table.

Now only the DML target is exempt from CTE resolution (you cannot write to a 
CTE,
so a same-named CTE never shadows the target); sources follow normal lexical CTE
scoping. The target, and any off-list table a CTE body actually reads, are still
enforced.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to