The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user jon-evergreen (triggered by potiuk).

Head commit for run:
bac62eecf0b124f3c935bc66ebb824911405e4db / Jonathan Stott 
<[email protected]>
Fix template rendering for Common SQL operators

Closes: #28195

This patch fixes all the common SQL operators I could find which showed
the same problem as reported in #28195, that statements are generated
"too early", before the templated variables have been applied.  I think
all changes should have tests which break without the fix.  Some of
these tests are quite brittle in that they mock complex nested SQL which
is not ideal.

This patch adds the `self.sql` variable as a templated parameter,
allowing for templated `table`, `partition_clause`, `checks` etc.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to