Files
sqlalchemy/test/sql
David Evans 8f4ac0c0f0 Fix type of CASE expressions which include NULLs
Fixed issues in :func:`_sql.case` where the logic for determining the
type of the expression could result in :class:`.NullType` if the last
element in the "whens" had no type, or in other cases where the type
could resolve to ``None``.  The logic has been updated to scan all
given expressions so that the first non-null type is used, as well as
to always ensure a type is present.  Pull request courtesy David Evans.

updates to test suite to use modern fixture patterns by Mike

Fixes: #10843
Closes: #10847
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/10847
Pull-request-sha: 4fd5c39ab5

Change-Id: I40f905ac336a8a42b617ff9473dbd9c22ac57505
2024-01-15 12:08:10 -05:00
..
2021-11-24 22:51:27 -05:00
2023-05-09 20:23:48 -04:00