jedcunningham opened a new pull request, #62760:
URL: https://github.com/apache/airflow/pull/62760
XCom values containing float('nan'), float('inf'), or float('-inf') caused
the database migration to silently corrupt data or fail outright when
upgrading. Three bugs were present across backends:
- Consecutive tokens (e.g. [NaN, NaN]) were only partially replaced, leaving
bare NaN/Infinity in the output and breaking the JSON cast.
- Infinity and -Infinity were not handled at all — only NaN was.
- Bare top-level values (a single NaN or Infinity, not inside a list or
dict) were not matched and passed through unconverted.
MySQL also had two bugs in the replacement query that caused it to produce
the wrong output (one of these was pre-existing from #57866).
Backport of #62686
(cherry picked from commit 7a301e69700a8089fe52433198b69998e783f6d3)
--
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]