vatsrahul1001 opened a new pull request, #67458:
URL: https://github.com/apache/airflow/pull/67458

   Manual backport of #67388 — auto-backport failed 
(https://github.com/apache/airflow/actions/runs/26385830692).
   
   ## Why auto-backport failed
   Conflict in the SQLAlchemy import block in 
`airflow-core/src/airflow/jobs/scheduler_job_runner.py` — v3-2-test had it as a 
single-line import; the fix on main needed it reformatted to multi-line to add 
`Text` and `cast as sql_cast`. Trivial to resolve manually.
   
   ## Fix
   PostgreSQL + CeleryExecutor + another executor was hitting:
   
   ```
   sqlalchemy.exc.ProgrammingError: (psycopg2.errors.DatatypeMismatch)
   CASE types text and uuid cannot be matched
   ```
   
   because the arms of the `CASE` had different types. Fix: explicit cast.
   
   Reported by @jscheffl in #67385.
   
   ## Test plan
   - [X] Cherry-picked with `-x` trailer (preserves provenance reference to 
2def8027d7)
   - [X] Conflict resolved (sqlalchemy imports only)
   - [ ] Watch CI on v3-2-test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to